Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

adagio-server

Licensed under the MIT License. This covers the server package only; it does not change the license of the hosted Adagio application or sibling projects.

adagio-server is Adagio's outbound execution runner. It claims jobs over HTTPS, executes them with the existing adagio-cli, and reports status and artifact paths. It never requires an inbound network port. The initial server platform is Linux with Python 3.11+ and user-level systemd; Docker is needed for container-backed pipeline actions.

Each claimed job starts independently, even while other jobs are running. Adagio does not impose a job-count limit or decide whether the host has spare CPU or memory; the server owner manages resource usage. The outbound handoff is not a resource scheduler. Slurm/SGE integration is separate future work.

For the QA prerelease, after 0.1.0a1 is published to PyPI:

python3 -m venv ~/.local/share/adagio-server-venv
source ~/.local/share/adagio-server-venv/bin/activate
python -m pip install "adagio-server==0.1.0a1"
adagio-server --version

export ADAGIO_ENROLLMENT_TOKEN='<code from Adagio>'
adagio-server install --url https://app.dev.adagio.run

The install command exchanges the short-lived token for a machine credential, stores that credential with user-only permissions, then installs and starts the systemd user service. Jobs execute with the same Unix filesystem permissions as the user who installed it, including supplementary groups used for shared data. Docker-backed actions also run as that user. Images that require root during startup are therefore unsupported on a Runtime Server. Granting someone permission to use a server grants code execution as its Linux account. An account with access to a rootful Docker daemon can administer the host; this is a trusted execution environment, not a sandbox for untrusted users or plugins. Supplementary groups are preserved for shared-data access. Do not assume UID flags or dropped container capabilities isolate a Docker socket made accessible through mounted paths. Docker socket isolation needs separate review. The command prints a note when an administrator may need to enable systemd user lingering for service operation after logout.

Install the package in a persistent virtual environment (or with pipx) rather than an ephemeral uvx environment. The systemd unit records the interpreter path that performed the installation.

New installations select a stable loopback port from the Linux user id so different users on a shared host do not contend for port 8760. Pass --port 23456 to choose an explicit port. The listener remains bound to 127.0.0.1 and requires a per-process bearer token.

For an interactive foreground process, use adagio-server start. Plain HTTP and disabled TLS verification are refused unless install --insecure is passed for a development deployment.

Updates and reporting

Contract mismatches stop with exit code 42 and an update-required message; credential rejection uses exit code 41. Neither condition should restart the same configuration repeatedly. After upgrading an existing installation, rerun adagio-server install with a fresh enrollment token to update its systemd unit (older units only suppress restarts for code 41).

Telemetry uploads have bounded text, metadata, and batch sizes. Large logs are sent in small batches with continued long lines; full logs remain on the server. Oversized optional event/provenance data is replaced by a telemetry_truncated marker rather than losing the job's lifecycle report. These limits do not apply to input/output file sizes or job counts.

This revision requires the adapter-schemas 0.3.1 release candidate. Source builds use the exact commit recorded in vendor/adapter-schemas/VENDOR_PIN; publication and release-tag verification must be completed before package-index installation.

Release operators and QA testers should follow RELEASING.md in the repository.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

adagio_server-0.1.0a1.tar.gz (49.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

adagio_server-0.1.0a1-py3-none-any.whl (37.4 kB view details)

Uploaded Python 3

File details

Details for the file adagio_server-0.1.0a1.tar.gz.

File metadata

  • Download URL: adagio_server-0.1.0a1.tar.gz
  • Upload date:
  • Size: 49.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for adagio_server-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 f1f845e588c8c43f1c2e9820f9ed696150398766c96d53a270a064eed539279b
MD5 78d04e0a4f5b10e282ca54fc5ddbe522
BLAKE2b-256 20c3e1fd3d4dcdff8081d986791a04f5353010feacfea643421772b98d6fbc4f

See more details on using hashes here.

Provenance

The following attestation bundles were made for adagio_server-0.1.0a1.tar.gz:

Publisher: server-package.yml on cymis/adagio-local

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file adagio_server-0.1.0a1-py3-none-any.whl.

File metadata

File hashes

Hashes for adagio_server-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 c9ceaf7b50a3e71fb2958e86675a2afb642148fe81f37b664ff289f305a7bd23
MD5 a7a78420da50db6d9e5e7f27c9c9ba8e
BLAKE2b-256 2c5370d4c5af4af5d6ad977781f747facf4cd70adf89e7576c55611639aef012

See more details on using hashes here.

Provenance

The following attestation bundles were made for adagio_server-0.1.0a1-py3-none-any.whl:

Publisher: server-package.yml on cymis/adagio-local

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.0a1 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page