Diagrid CLI
The Diagrid CLI (diagridpy) is a command-line tool for managing Diagrid Catalyst resources, deploying agents, and running chaos experiments.
Community
Have questions, hit a bug, or want to share what you're building? Join the Diagrid Community Discord to connect with the team and other users.
Installation
The diagridpy executable ships with the main diagrid package:
pip install diagrid
Installing the standalone diagrid-cli distribution gives you the CLI library code only — it declares no console script, so it installs no diagridpy executable.
Usage
The CLI provides three commands. Run diagridpy --help to see all available commands.
Global flags:
-v,--verbose— show subprocess output--env {prod,staging}— target the prod or staging Diagrid API
Commands
Initialization
Initialize a local agent development environment (Catalyst project, Kind cluster, Helm install).
diagridpy init
Deployment
Build and deploy your agent to the Kind cluster.
diagridpy deploy
Chaos
Manage Chaos Mesh experiments for agent resilience testing.
# Start chaos experiments against deployed agents
diagridpy chaos start
# Show active chaos experiments
diagridpy chaos status
# Stop and delete all chaos experiments
diagridpy chaos stop
Configuration
The CLI manages configuration and authentication.
- Authentication: Supports API key and device code authentication flows for connecting to Diagrid Catalyst.
- Environment: The global
--env {prod,staging}flag selects which Diagrid API the CLI talks to.
Release files for diagrid-cli 0.4.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| diagrid_cli-0.4.5.tar.gz | 28.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| diagrid_cli-0.4.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 62.7 kB
Release files / diagrid_cli-0.4.5.tar.gz
| Download URL | diagrid_cli-0.4.5.tar.gz |
|---|---|
| Size | 28.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f0e55bb58d9c1e9fe4dcbb3999bb99c29a53d2bb3867209b280536e24f0c9b56
|
|
BLAKE2b-256 checksum How to use checksums |
e71d789c7810ca5a47f0ff12fd91d0311f89cb875be08a6f739fb86a3c0e91ba
|
| 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 11, 2026.
Transparency logRelease files / diagrid_cli-0.4.5-py3-none-any.whl
| Download URL | diagrid_cli-0.4.5-py3-none-any.whl |
|---|---|
| Size | 34.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
49b8dcd797881b3b0d3ae34fd3b6eb4d855092b58eff71baf420b6b8c275c6b5
|
|
BLAKE2b-256 checksum How to use checksums |
10b556903312844a2fbcd7aee34d9de9ebd8836b2f6aa215128841c890c34c94
|
| 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 11, 2026.
Transparency log