Self-Improving
Session trajectories, auto-evolution, insights engine, tool gap detection. The system learns from every run and gets measurably better over time.
AgentZero is self-growing AI agent infrastructure built entirely in Rust. Describe what you need in plain English — the system creates tools, defines agents, assembles swarms, and remembers what works. Every session makes the next one smarter.
Self-Improving
Session trajectories, auto-evolution, insights engine, tool gap detection. The system learns from every run and gets measurably better over time.
NL Tools & Agents
Describe tools and agents in plain English. Five execution strategies including compiled WASM. Auto-fix and auto-improve with quality tracking.
Autonomous Swarms
Goal decomposition into parallel agent DAGs. Durable message queues, A2A streaming, multi-turn tasks, and agent discovery.
Catalog Learning
Successful tool combos recorded as recipes. Failure patterns detected and fed back. Cost-aware routing sends simple queries to cheap models.
Small & Fast
4.5 MB embedded binary. 4-phase context compression cuts token costs. Credential pooling avoids rate limits. Prompt caching for Anthropic.
Secure by Default
Encrypted storage, deny-by-default tools, Unicode injection defense, context file scanning, checkpoint recovery, audit trails.
| Language | 100% Rust |
| Crates | 16 workspace crates |
| Binary Size | 4.5 MB embedded / 18 MB full |
| Platform Targets | 8 (Linux x86/ARM/musl, macOS Intel/ARM, Windows) |
| Client SDKs | Python, TypeScript, Swift, Kotlin |
| CLI Commands | 38+ subcommands |
| Providers | 37+ (OpenAI, Anthropic, Google, Ollama, Candle local inference, and more) |
| Memory | SQLite (default, encrypted), Turso/libsql (optional) |
| Tools | 58+ built-in (file I/O, shell, networking, browser, delegation, memory, git, cron, hardware, autopilot, and more) |
| MCP | First-class Model Context Protocol — each MCP tool registered individually with real schema |
| Channels | 25+ (Telegram, Discord, Slack, Matrix, Email, WhatsApp, SMS, and more) |
| Plugins | WASM sandbox with integrity verification |
| Security | Encrypted storage, allowlists, OTP gates, Unicode injection defense, context file scanning, audit trail, secret redaction, estop |
| Multi-Agent | Delegation, swarm coordination, pipelines, durable message queues, A2A streaming, persistent named agents |
| Self-Improving | Trajectory recording, insights engine, auto-evolution, tool gap detection, session summarization |
| Cost Optimization | Complexity-based model routing, 4-phase context compression, credential pooling, prompt caching, pre-execution cost estimation |
| Autopilot | Autonomous agent loop — proposals, cap gates, missions, triggers, reaction matrices |
| API Docs | Interactive Scalar docs at /docs on every gateway deployment |
| 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.