Dari CLI.
Project description
Dari CLI
dari validates, packages, and publishes agent projects to Agent Host.
Full docs: https://docs.dari.dev
Install
pip install dari
Commands
Most commands require dari auth login first. The CLI talks to https://api.dari.dev.
auth
dari auth login # browser login, caches org key locally
dari auth logout # clear local login state
dari auth status # show current login and org
org
dari org list
dari org create <name>
dari org switch <organization> # slug or id
dari org members
dari org invite <email> [--role owner|admin|member] # default: member
deploy
dari deploy [repo_root]
Packages the checkout and publishes a new agent version.
| Flag | Description |
|---|---|
--api-key |
Override the cached org key |
--agent-id |
Publish to a specific agent instead of resolving by name |
--dry-run |
Validate and package without uploading |
api-keys
dari api-keys list
dari api-keys create --name <name> # plaintext key returned once
dari api-keys revoke <key_id>
credentials
Stored secrets referenced by name from dari.yml (e.g. llm.api_key_secret: OPENROUTER_API_KEY).
dari credentials list
dari credentials add <name> [value] # prompts if value omitted
dari credentials add <name> --value-stdin < secret.txt
dari credentials remove <name>
manifest
dari manifest validate [repo_root]
dari manifest validate --json # prints normalized manifest
Bundle shape
The repo root must contain:
dari.yml- any prompt files referenced by
instructions - custom tools under
tools/<name>/tool.yml Dockerfileonly ifdari.ymlsets aruntime:block; otherwise the default E2B base image is used.
Supported harness values: pi.
Minimal dari.yml:
name: support-agent
harness: pi
instructions:
system: prompts/system.md
sandbox:
provider: e2b
provider_api_key_secret: E2B_API_KEY
llm:
model: anthropic/claude-sonnet-4.6
base_url: https://openrouter.ai/api/v1
api_key_secret: OPENROUTER_API_KEY
Full schema: https://docs.dari.dev/manifest.
Local development
uv sync --group dev
uv run pytest
Release
- Bump
versioninpyproject.toml. - Refresh
uv.lockso the editable entry matches. - Commit the bump before tagging.
uv build && uv run pytest.- Push a
v0.1.xtag matchingpyproject.toml— the release workflow rejects mismatched tags.
Contributing
See CONTRIBUTING.md.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dari_cli-0.1.6.tar.gz.
File metadata
- Download URL: dari_cli-0.1.6.tar.gz
- Upload date:
- Size: 38.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ddb60cf42f5c0b556311a68beb4c9d487afe53f3da44518b6f766746dd414e3a
|
|
| MD5 |
050d2859abc6229e13da01026bc33135
|
|
| BLAKE2b-256 |
9fa29b7a3682fbde3cacaffdc2ad951fa804e632b94bd3322c5d0358452e0ccc
|
Provenance
The following attestation bundles were made for dari_cli-0.1.6.tar.gz:
Publisher:
release.yml on mupt-ai/dari-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dari_cli-0.1.6.tar.gz -
Subject digest:
ddb60cf42f5c0b556311a68beb4c9d487afe53f3da44518b6f766746dd414e3a - Sigstore transparency entry: 1343058095
- Sigstore integration time:
-
Permalink:
mupt-ai/dari-cli@bd39a42622dc6eab7d5bf57860eb6bca9ecab257 -
Branch / Tag:
refs/tags/v0.1.6 - Owner: https://github.com/mupt-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bd39a42622dc6eab7d5bf57860eb6bca9ecab257 -
Trigger Event:
push
-
Statement type:
File details
Details for the file dari_cli-0.1.6-py3-none-any.whl.
File metadata
- Download URL: dari_cli-0.1.6-py3-none-any.whl
- Upload date:
- Size: 29.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c5b077b917d936db823ece25d0a83a8bc3614b794706b1e30b15934b7efe7d0
|
|
| MD5 |
f900f15c793b30d12f8286d95ece8ce2
|
|
| BLAKE2b-256 |
e2fcac78c4a0ec4e91ef5b1d27079f3c96147cf5a89d494f2b40852cf0de4996
|
Provenance
The following attestation bundles were made for dari_cli-0.1.6-py3-none-any.whl:
Publisher:
release.yml on mupt-ai/dari-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dari_cli-0.1.6-py3-none-any.whl -
Subject digest:
9c5b077b917d936db823ece25d0a83a8bc3614b794706b1e30b15934b7efe7d0 - Sigstore transparency entry: 1343058100
- Sigstore integration time:
-
Permalink:
mupt-ai/dari-cli@bd39a42622dc6eab7d5bf57860eb6bca9ecab257 -
Branch / Tag:
refs/tags/v0.1.6 - Owner: https://github.com/mupt-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bd39a42622dc6eab7d5bf57860eb6bca9ecab257 -
Trigger Event:
push
-
Statement type: