Skip to content

Quick Start

Three commands. That’s it.

Terminal window
# 1. Install
curl -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 agent
agentzero agent -m "What can you do?"

Your agent is running with 58+ built-in tools, encrypted memory, and secure defaults.


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:

Terminal window
agentzero agent -m "Find all TODO comments in this project and summarize them"

Terminal window
agentzero agent --stream -m "Write a haiku about Rust"

Option A: Candle (pure Rust, in-process — recommended)

Build with the candle feature and set the provider:

Terminal window
cargo build -p agentzero --release --features candle
agentzero.toml
[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)

Terminal window
ollama pull llama3.1:8b
agentzero onboard --provider ollama --model llama3.1:8b --yes
agentzero agent -m "Hello"

Turn your agent into an API that any app can talk to:

Terminal window
agentzero gateway

Now you have a running server with OpenAI-compatible endpoints, WebSocket chat, interactive API docs at /docs, and Prometheus metrics — all out of the box.

Terminal window
# Test it
curl http://127.0.0.1:3000/health
# Chat via the API
curl -X POST http://127.0.0.1:3000/api/chat \
-H "Content-Type: application/json" \
-d '{"message": "Hello!"}'

Add a channel with one config block and restart:

Terminal window
agentzero config set channels.telegram.bot_token "YOUR_TOKEN"
agentzero gateway

Your agent is now live on Telegram. Same for Discord and Slack — see the Channels guide for details.


Terminal window
# As a background daemon
agentzero daemon start
# Or as a system service (auto-starts on boot)
agentzero service install && agentzero service start

Want to…Go here
Set up an always-on botAlways-On Agent in 5 Minutes
Connect MCP toolsMCP Servers
Run multi-agent swarmsMulti-Agent Patterns
Deploy to productionProduction Setup
Use the Python/TypeScript SDKClient SDKs
Add WASM pluginsPlugin Authoring
See all CLI commandsCLI Reference
Customize everythingConfiguration Reference