Quick Start
Three commands. That’s it.
# 1. Installcurl -fsSL https://raw.githubusercontent.com/auser/agentzero/main/scripts/install.sh | bash
# 2. Set up (interactive wizard — picks your provider, model, everything)agentzero onboard --interactive
# 3. Talk to your agentagentzero agent -m "What can you do?"Your agent is running with 58+ built-in tools, encrypted memory, and secure defaults.
What just happened?
Section titled “What just happened?”The onboard wizard created your config, set up your API key, and configured security — all in one step. Your agent can now read files, run shell commands, search the web, manage git repos, and chain tools automatically to complete multi-step tasks.
Try something real:
agentzero agent -m "Find all TODO comments in this project and summarize them"Stream output in real-time
Section titled “Stream output in real-time”agentzero agent --stream -m "Write a haiku about Rust"Use a local model (no API key needed)
Section titled “Use a local model (no API key needed)”Option A: Candle (pure Rust, in-process — recommended)
Build with the candle feature and set the provider:
cargo build -p agentzero --release --features candle[provider]kind = "candle"model = "qwen2.5-coder-3b"On first run it auto-downloads the model (~2 GB) and tokenizer. No external server, no C++ compiler, no API key.
Option B: Ollama (external server)
ollama pull llama3.1:8bagentzero onboard --provider ollama --model llama3.1:8b --yesagentzero agent -m "Hello"Start the gateway server
Section titled “Start the gateway server”Turn your agent into an API that any app can talk to:
agentzero gatewayNow you have a running server with OpenAI-compatible endpoints, WebSocket chat, interactive API docs at /docs, and Prometheus metrics — all out of the box.
# Test itcurl http://127.0.0.1:3000/health
# Chat via the APIcurl -X POST http://127.0.0.1:3000/api/chat \ -H "Content-Type: application/json" \ -d '{"message": "Hello!"}'Connect to Telegram, Discord, or Slack
Section titled “Connect to Telegram, Discord, or Slack”Add a channel with one config block and restart:
agentzero config set channels.telegram.bot_token "YOUR_TOKEN"agentzero gatewayYour agent is now live on Telegram. Same for Discord and Slack — see the Channels guide for details.
Run it forever
Section titled “Run it forever”# As a background daemonagentzero daemon start
# Or as a system service (auto-starts on boot)agentzero service install && agentzero service startKeep going
Section titled “Keep going”| Want to… | Go here |
|---|---|
| Set up an always-on bot | Always-On Agent in 5 Minutes |
| Connect MCP tools | MCP Servers |
| Run multi-agent swarms | Multi-Agent Patterns |
| Deploy to production | Production Setup |
| Use the Python/TypeScript SDK | Client SDKs |
| Add WASM plugins | Plugin Authoring |
| See all CLI commands | CLI Reference |
| Customize everything | Configuration Reference |