Daita CLI
The daita command-line tool for managing, deploying, and observing your hosted AI agents.
#What is daita-cli?
daita-cli is the standalone command-line interface for the Daita platform. It handles the full agent lifecycle — scaffolding projects, deploying to the cloud, running agents remotely, and observing executions, traces, and memory from your terminal.
The CLI is a separate package from daita-agents and can be installed on its own without the full agent framework. It ships as a core dependency of daita-agents, so if you have the framework installed you already have it.
#Installation
# Standalone — no agent framework required
pip install daita-cli
# Or as part of the full framework
pip install daita-agents#Authentication
All cloud commands require an API key from the Daita dashboard. Set it as an environment variable:
export DAITA_API_KEY=your_api_keyOr place it in a .env file at the root of your project — the CLI loads it automatically.
#Global Options
These flags are available on every command:
| Flag | Short | Description |
|---|---|---|
--output | -o | Output format: text (default), json, or table |
--verbose | -v | Enable verbose output |
--quiet | -q | Suppress non-error output |
--version | Print the CLI version and exit |
# Machine-readable output
daita executions list --output json
# Verbose mode for debugging
daita push --verbose#MCP Server
The CLI includes a built-in Model Context Protocol server that exposes your deployed agents as tools for coding assistants like Claude, Cursor, and others.
daita mcp-serverConfigure it in your MCP client (e.g., Claude Desktop claude_desktop_config.json):
{
"mcpServers": {
"daita": {
"command": "daita",
"args": ["mcp-server"],
"env": {
"DAITA_API_KEY": "your_api_key"
}
}
}
}Once connected, your coding assistant can invoke any deployed agent as a tool.
#Command Reference
| Command | Description |
|---|---|
daita init | Scaffold a new Daita project |
daita create | Add an agent or workflow to a project |
daita test | Run agents and workflows locally |
daita push | Deploy the current project to the cloud |
daita run | Execute a deployed agent or workflow |
daita executions | Manage and inspect executions |
daita status | Show project and deployment status |
daita logs | View deployment logs |
daita agents | List and inspect deployed agents |
daita deployments | Manage deployments |
daita traces | View execution traces and spans |
daita memory | Inspect agent memory |
daita conversations | Manage conversation history |
daita schedules | Pause and resume scheduled agents |
daita secrets | Manage encrypted cloud secrets |
daita webhooks | View webhook URLs |