Skip to main content

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.

Metadata

Release files for diagrid-cli 0.5.4

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

Source distribution (sdist)

Source distribution for diagrid-cli 0.5.4
File Size Uploaded Provenance Actions
diagrid_cli-0.5.4.tar.gz 34.0 kB With provenance Details for diagrid_cli-0.5.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for diagrid-cli 0.5.4
File Interpreter ABI Platform Actions
diagrid_cli-0.5.4-py3-none-any.whl Python 3 none any Details for diagrid_cli-0.5.4-py3-none-any.whl

Total release size: 72.8 kB

Release files / diagrid_cli-0.5.4.tar.gz

Download URL diagrid_cli-0.5.4.tar.gz
Size 34.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f6321fdd5fe77af4cb37ce40380ea56d2a292d5aabcf2c6fe285893eb55a3dcb
BLAKE2b-256 checksum
How to use checksums
681d693a632b5b1699a344d472985734c6300b3bcf5d9245619f44edae0df5f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 18, 2026.

Transparency log

Release files / diagrid_cli-0.5.4-py3-none-any.whl

Download URL diagrid_cli-0.5.4-py3-none-any.whl
Size 38.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cca109b57f3d0c67ae5369559c5c721bf46eb9cac4f5f28f2f7c58eefc75514f
BLAKE2b-256 checksum
How to use checksums
7d945c164676a479c7966b8f8a90f66292ba7ecf24d1b9e551a30fffde388ec7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 18, 2026.

Transparency log

Security for diagrid-cli 0.5.4

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for diagrid_cli-0.5.4.tar.gz

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 Nov 18, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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