Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
zavora-cli
███████╗ █████╗ ██╗ ██╗ ██████╗ ██████╗ █████╗
╚══███╔╝██╔══██╗██║ ██║██╔═══██╗██╔══██╗██╔══██╗
███╔╝ ███████║██║ ██║██║ ██║██████╔╝███████║
███╔╝ ██╔══██║╚██╗ ██╔╝██║ ██║██╔══██╗██╔══██║
███████╗██║ ██║ ╚████╔╝ ╚██████╔╝██║ ██║██║ ██║
╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
Your AI agent, in the terminal. Built on ADK-Rust.
Multi-agent orchestration, tool safety controls, streaming markdown, checkpoints, MCP integration — all from a single binary.
Install
Or build from source:
Requires Rust 1.85+ (rustup, cargo).
Quick Start
- Export an API key for any supported provider:
# or: GOOGLE_API_KEY, ANTHROPIC_API_KEY, DEEPSEEK_API_KEY, GROQ_API_KEY
Or use Ollama locally with no key needed:
OLLAMA_HOST=http://localhost:11434 # optional, this is the default
- Start chatting:
Usage
# Ask a one-shot question
# Interactive chat with a specific model
# Workflows
# Health check
Multi-Agent Orchestration
The assistant automatically delegates to specialist sub-agents when appropriate:
- git agent — git operations, commits, branch management
- research agent — codebase exploration, file search, analysis
- planner agent — task breakdown, todo lists, project planning
Transfers are visible in the UI with → agent_name indicators. Tool calls show as ⚡ tool_name.
Chat Commands
| Command | Description |
|---|---|
/help |
Show available commands |
/status |
Current provider, model, session info |
/usage |
Context window usage breakdown by author |
/compact |
Compact session history to reclaim context |
/tools |
List active built-in and MCP tools |
/mcp |
MCP server diagnostics |
/checkpoint save <label> |
Save session snapshot |
/checkpoint list |
List saved checkpoints |
/checkpoint restore <tag> |
Restore to a checkpoint |
/tangent start |
Branch into exploratory tangent |
/tangent end |
Return to main session |
/todos list |
List todo lists |
/todos show <id> |
Show a todo list |
/todos clear |
Remove finished todos |
/delegate <task> |
Run isolated sub-agent prompt |
/provider <name> |
Switch provider mid-session |
/model [id] |
Switch model or open picker |
/agent |
Trust all tools for the session (agent mode) |
/exit |
Exit chat |
Built-in Tools
| Tool | Purpose |
|---|---|
fs_read |
Read files and directories with workspace path policy |
fs_write |
Create, overwrite, append, or patch files (confirmation required) |
execute_bash |
Run shell commands with safety policy (read-only commands auto-approved) |
github_ops |
GitHub operations via gh CLI (issues, PRs, projects) |
todo_list |
Create/complete/view/list/delete task lists (persisted to .zavora/todos/) |
Context Management
/usageshows real-time token breakdown by author (user, assistant, tool, system)- Prompt shows ⚠ (>75%) or 🔴 (>90%) when approaching context limits
/compactmanually summarizes history to reclaim space- Auto-compaction triggers when configured thresholds are exceeded
Configuration
Runtime defaults live in .zavora/config.toml:
[]
= "openai"
= "gpt-4.1"
= "sqlite"
= "sqlite://.zavora/sessions.db"
= "disabled"
= "mcp-only"
= 0.75
= 0.50
= true
Agent Catalogs
Configure agent personas separately from profiles. Precedence: implicit default → global ~/.zavora/agents.toml → local .zavora/agents.toml.
[]
= "Code-focused assistant"
= "openai"
= "gpt-4.1"
= "always"
= ["fs_read", "fs_write", "execute_bash"]
Advanced Features
Tool Policy and Hooks
[]
= "mcp-only" # never | mcp-only | always
= 45
= 2
[[]]
= "block-rm"
= "execute_bash"
= "rm -rf"
= "block"
= "Destructive rm blocked by hook policy"
MCP Integration
[[]]
= "ops-tools"
= "https://mcp.example.com/ops"
= true
= 15
= "OPS_MCP_TOKEN"
= ["search_incidents", "get_runbook"]
Guardrails
Independent input/output content policy (disabled | observe | block | redact):
Retrieval
Server Mode and A2A
Endpoints: GET /healthz, POST /v1/ask, POST /v1/a2a/ping.
Development
License
MIT