Skip to main content
Pre-release

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

Adagio CLI

adagio-cli is the Python command-line interface for Adagio pipeline execution.

For user-facing documentation and product guides, please reference the docs:

The adagio frontend is used to build pipelines that can be run with this package on the command line It can be found here:

Development

Set up the project and run the test suite with:

uv sync --group dev
uv run pytest

Runtime environments

Every plugin action requires an explicit execution environment. A runtime config passed with --config can define one default and override it per plugin or task; the CLI never guesses an image from a plugin name.

Conda environments are supported with kind = "conda":

version = 1

[defaults]
kind = "conda"
prefix = "/opt/conda/envs/qiime2-2026.1"

[plugins]
dada2 = { kind = "conda", prefix = "/opt/conda/envs/q2-dada2" }

The environment must already exist and contain QIIME 2 plus the plugins needed by the pipeline. Adagio enters it with conda run; it does not create or manage the environment.

Task resource requests

A runtime config can also declare the requested shape of each task execution:

[resources.tasks."denoise-node"]
cpus = 4
memory = "8 GiB"

cpus is a positive whole number and memory is a positive, unit-bearing quantity. Each entry describes one independently schedulable execution of that task, not an aggregate pipeline allocation. If a task is later expanded into parallel subtasks, each subtask requests this shape and the scheduler determines the total concurrent allocation.

The current serial executor parses and validates these fields but intentionally does not apply them yet. Omitting either field leaves that resource at the executor's default.

Plugin submission defaults

QAPI submissions can persist the environment that Adagio should use for the submitted plugins:

adagio qapi build --plugin my-plugin \
  --default-conda-prefix /opt/conda/envs/my-plugin

adagio qapi build --plugin my-plugin \
  --default-docker-image registry.example.org/my-plugin:2026.1

These options are explicit and mutually exclusive. Omitting both leaves the plugin without a default; the Adagio app will flag that plugin until an environment is selected for a run.

Catalog pipelines

Run a pipeline from the Adagio pipeline catalog:

adagio pipeline show @adagio/microbial-diversity
adagio run @adagio/microbial-diversity --cache-dir /path/to/cache --arguments run-arguments.json

@adagio/<slug> first resolves against a nearby local adagio-pipelines checkout when one is available. If no local catalog is found, Adagio fetches pipeline.adg from cymis/adagio-pipelines on GitHub, checking official before community.

During adagio run, remote catalog pipelines are downloaded under the selected --cache-dir and reused by source name and slug on later runs. adagio pipeline show uses a temporary download when it fetches from GitHub because it does not take a cache directory.

Private GitHub access is explicit: set GITHUB_TOKEN or GH_TOKEN to a token that can read cymis/adagio-pipelines; with a token, the CLI fetches through the GitHub contents API. The CLI does not read browser, git, or gh credentials automatically.

Metadata

Release files for adagio-cli 0.1.0a10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for adagio-cli 0.1.0a10
File Size Uploaded
adagio_cli-0.1.0a10.tar.gz 72.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for adagio-cli 0.1.0a10
File Interpreter ABI Platform
adagio_cli-0.1.0a10-py3-none-any.whl Python 3 none any Details

Total release size: 167.4 kB

Release files / adagio_cli-0.1.0a10.tar.gz

Download URL adagio_cli-0.1.0a10.tar.gz
Size 72.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e9a4cf1c46595733c6bd4f3e275eb985c77a0f087264861690bbf26d6ce6fdf2
BLAKE2b-256 checksum
How to use checksums
4da6b2f10288871da9f05c911913a00273f118cb981fc77c746dd7a846d1eb23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.

Transparency log

Release files / adagio_cli-0.1.0a10-py3-none-any.whl

Download URL adagio_cli-0.1.0a10-py3-none-any.whl
Size 95.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
61f0e86f30004bd3bca63f6dbce9e55af393f06b111626b4d2f97b9d01be0167
BLAKE2b-256 checksum
How to use checksums
a9ddf431e4f8d9b90724a670f5dec8afc903d76cdf7d3cfa02cb4ba5d2a2a526
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.

Transparency log
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