Single Binary
One cargo install gives you the full runtime — CLI, gateway, daemon, and all tools. No Docker, no Node, no Python.
AgentZero is a lightweight, security-first agent runtime and CLI built entirely in Rust. It provides a single-binary runtime with streaming output, trait-driven extensibility, encrypted storage, and fail-closed security defaults.
Single Binary
One cargo install gives you the full runtime — CLI, gateway, daemon, and all tools. No Docker, no Node, no Python.
Trait-Driven Core
Provider, MemoryStore, Tool, and Channel are all traits. Swap implementations without touching orchestration code.
Secure by Default
Deny-by-default tool execution, filesystem scoping, shell command allowlists, secret redaction, and audit trails.
Fast Cold Starts
Native Rust binary starts in milliseconds. No JIT warmup, no interpreter overhead, no container boot.
Streaming Output
Stream agent responses token-by-token via CLI, SSE, or WebSocket. Real-time feedback for long-running tasks.
System Prompts
Configure a system prompt per agent or delegate to control personality, constraints, and behavior.
| Language | 100% Rust |
| Crates | 16 workspace crates |
| CLI Commands | 37+ subcommands |
| Providers | OpenAI-compatible (OpenRouter, OpenAI, Anthropic, Ollama, local) |
| Memory | SQLite (default), Turso/libsql (optional) |
| Tools | 50+ built-in (file I/O, shell, networking, browser, delegation, memory, git, SOP, cron, hardware, MCP, and more) |
| Plugins | WASM sandbox with integrity verification |
| Security | Allowlists, OTP gates, audit trail, secret redaction, estop |
| License | MIT / Apache-2.0 |
# Build from sourcecargo build -p agentzero --release
# Run interactive onboardingcargo run -p agentzero -- onboard --interactive
# Set your API keyexport OPENAI_API_KEY="sk-..."
# Send a messagecargo run -p agentzero -- agent -m "hello"
# Check system healthcargo run -p agentzero -- doctor modelscargo run -p agentzero -- statusSee the full Installation guide and Quick Start for details.