daita-cli
Official CLI and MCP server for the Daita platform — deploy, run, and observe your hosted AI agents from the terminal or any coding agent.
Installation
pip install daita-cli
Requires Python 3.11+.
Authentication
Export your API key before running any command:
export DAITA_API_KEY=sk-...
Get your key from the Daita dashboard.
Quick Start
# Initialize a new project
daita init my-project
# Test locally before deploying
daita test
# Deploy to the cloud
daita push
# Run an agent remotely
daita run my-agent --data-json '{"input": "hello"}'
# Follow execution in real-time
daita run my-agent --follow
# Re-run a past execution and compare outcomes
daita replay <execution_id>
daita diff <execution_a> <execution_b>
# Diagnose setup issues
daita doctor
Commands
Local Development
| Command | Description |
|---|---|
daita init [name] |
Scaffold a new Daita project (agents/, workflows/, skills/) |
daita create agent <name> |
Add a new agent from template |
daita create workflow <name> |
Add a new workflow from template |
daita create skill <name> |
Add a new skill (instructions + tools) from template |
daita test [target] |
Run agents/workflows locally |
daita push |
Deploy the current project to the cloud |
daita status |
Show project and deployment status |
Agents & Executions
| Command | Description |
|---|---|
daita agents list |
List all agents |
daita agents show <id> |
Show agent details |
daita agents deployed |
List deployed agents |
daita run <target> |
Execute an agent or workflow remotely |
daita replay <execution_id> |
Re-run an execution with identical inputs |
daita diff <exec_a> <exec_b> |
Compare two executions (status, duration, cost, spans) |
daita executions list |
List recent executions |
daita executions show <id> |
Show execution details and result |
daita executions cancel <id> |
Cancel a running execution |
Diagnostics
| Command | Description |
|---|---|
daita doctor |
Run environment + platform connectivity checks with copy-pasteable fixes |
Observability
| Command | Description |
|---|---|
daita traces list |
List execution traces |
daita traces show <id> |
Show trace details |
daita traces spans <id> |
Show span timeline (ASCII on TTY, structured JSON on pipe) |
daita traces decisions <id> |
Show AI decision events |
daita traces stats |
Trace statistics (24h/7d/30d) |
daita logs |
View deployment logs |
daita operations list |
List platform operations |
daita operations stats |
Operation statistics |
daita memory status |
Show memory system status |
daita memory show <workspace> |
Show workspace memory contents |
Infrastructure
| Command | Description |
|---|---|
daita deployments list |
List deployments |
daita deployments history <project> |
Deployment history |
daita deployments rollback <id> |
Rollback to a previous deployment |
daita schedules list |
List agent schedules |
daita schedules pause <id> |
Pause a schedule |
daita schedules resume <id> |
Resume a schedule |
daita secrets list |
List secret key names |
daita secrets set <key> <value> |
Store an encrypted secret |
daita secrets remove <key> |
Delete a secret |
daita webhooks list |
List webhook URLs |
Output Formats
All commands support --output / -o:
daita agents list -o json # JSON (default when piped)
daita agents list -o table # ASCII table
daita agents list -o text # Human-readable text
Output defaults to JSON automatically when stdout is not a TTY (e.g. in scripts or CI).
MCP Server
daita-cli ships a full Model Context Protocol server with 35 tools, letting coding agents (Claude Code, Codex, Cursor, etc.) interact with your Daita platform directly. Tools stream MCP progress notifications during long runs and return structured JSON that coding agents can act on without parsing terminal output.
Start the server
daita mcp-server
Configure in Claude Code
Add to your project's .mcp.json:
{
"mcpServers": {
"daita": {
"command": "daita",
"args": ["mcp-server"],
"env": {
"DAITA_API_KEY": "sk-..."
}
}
}
}
Available MCP tools
| Category | Tools |
|---|---|
| Agents | list_agents, get_agent, list_deployed_agents |
| Executions | run_agent, list_executions, get_execution, cancel_execution, get_execution_stats, replay_execution, diff_executions |
| Traces | list_traces, get_trace, get_trace_spans, get_trace_decisions, get_trace_stats, get_trace_timeline |
| Deployments | list_deployments, get_deployment_history, delete_deployment |
| Schedules | list_schedules, get_schedule, pause_schedule, resume_schedule |
| Memory | get_memory_status, get_workspace_memory |
| Secrets | list_secrets, set_secret, delete_secret |
| Webhooks | list_webhooks |
| Diagnostics | doctor |
| Local dev | init_project, create_agent, create_workflow, create_skill, test_agent |
Environment Variables
| Variable | Description |
|---|---|
DAITA_API_KEY |
API key (required) |
DAITA_API_ENDPOINT |
Override the API base URL (default: https://api.daita-tech.io) |
DAITA_OUTPUT |
Default output format: json, text, or table |
DAITA_NO_SPINNER |
Set to any value to disable progress spinners |
Development
git clone https://github.com/daita-tech/daita-cli
cd daita-cli
pip install -e ".[dev]"
pytest
License
Apache 2.0 — see LICENSE.
Metadata
Release files for daita-cli 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| daita_cli-0.3.0.tar.gz | 72.2 kB | Without provenance | Details for daita_cli-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| daita_cli-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for daita_cli-0.3.0-py3-none-any.whl |
Total release size: 145.8 kB
Release files / daita_cli-0.3.0.tar.gz
| Download URL | daita_cli-0.3.0.tar.gz |
|---|---|
| Size | 72.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7b5d10c3dae8d056df73af7efdcfed09cad3c984991c9c3353faf82591e3b41b
|
|
BLAKE2b-256 checksum How to use checksums |
db9ee31a16d90327d3c618c6ce903751fe5aa46c5c2de0f7bf302c61ce97b682
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.7
|
Release files / daita_cli-0.3.0-py3-none-any.whl
| Download URL | daita_cli-0.3.0-py3-none-any.whl |
|---|---|
| Size | 73.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
497bd59f986c8b2f27b77b046187b53b11d3a6e0ef11f3761b71e12c41e50f08
|
|
BLAKE2b-256 checksum How to use checksums |
5e9aef7ffe073b077a7cfc4fb8e5db23bc1b1938b43681ece7d6cebec1693938
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.7
|
Security for daita-cli 0.3.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.