Production-grade AI Agent scaffold with batteries included
Build, deploy, and scale intelligent agents in minutes, not weeks.
π Docs Β· π³ Cookbook Β· Issues
- π Zero to Production in 3 Steps β Clone, configure,
docker compose up - π Unified Model Layer β One
ModelConfigfor all providers, switch with one line - π‘οΈ Enterprise-Ready β 3-tier API key management, built-in guardrails, full tracing
- π€ AI-Optimized β Cursor rules, AGENTS.md, Claude Code ready
# Create a new project
npx create-agno-agent my-agent
cd my-agent
# Configure & Start
cp .env.example .env # Add OPENROUTER_API_KEY
docker compose up -d
# Done! Open http://localhost:7777/docsgit clone https://github.com/linhai0872/agno-agent-starter.git && cd agno-agent-starter
cp .env.example .env
docker compose up -dfrom app.agents.github_analyzer import create_github_analyzer_agent
from agno.db.postgres import PostgresDb
db = PostgresDb(db_url="postgresql://...")
agent = create_github_analyzer_agent(db)
response = agent.run("Analyze https://github.com/agno-agi/agno")
# Returns: GitHubRepoAnalysis (structured output)docker compose -f docker-compose.yml -f docker-compose.prod.yml up -d- Open os.agno.com β Sign in
- Click "Add new OS" β Select "Local"
- Enter:
http://localhost:7777β Connect
- AgentOS First β Use AgentOS standard APIs, never write FastAPI routes manually
- Single Agent Preferred β 90% of cases can be solved with one Agent + Tools
- Config over Code β Model parameters use
ModelConfig, no hardcoding
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β AgentOS Runtime β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Agents β Teams β Workflows β
β Single task β Multi-agent β Step-based flow β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Core Abstractions β
β Models β Tools β Hooks β Registry β
β Unified β 3-tier Reg β Guardrails β PriorityRegistry β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Infrastructure β
β PostgreSQL + pgvector + Tracing β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
| Template | Type | Description | Key Features |
|---|---|---|---|
| GitHub Analyzer | Agent | Analyze GitHub repos | Structured Output, DuckDuckGo |
| Deep Research | Team | Multi-agent research | session_state, ToolCallGuard |
| Customer Service | Workflow | Smart support with RAG | Condition routing, pgvector |
Guides: Agents Β· Teams Β· Workflows Β· Models
| Tool | For | Description |
|---|---|---|
| Agno CLI | Developers | Terminal tool for running and debugging Agent/Team/Workflow |
| MCP DevTools | AI Agents | MCP tools for AI to test and debug Agno apps (zero-config) |
# CLI: Run a workflow and auto-trace
./scripts/agno run workflow customer-service '{"query":"help"}'
# CLI: System health check
./scripts/agno healthagno-agent-starter/
βββ app/
β βββ main.py # AgentOS entrypoint
β βββ config.py # 3-tier config loader
β βββ agents/ # βοΈ Agent implementations
β βββ teams/ # βοΈ Team implementations
β βββ workflows/ # βοΈ Workflow implementations
β βββ models/ # Model abstraction (8 providers)
β βββ tools/ # 3-tier tool registry
β βββ hooks/ # Guardrails & lifecycle hooks
β βββ mcp/ # MCP Server (AI Agent tools)
β βββ core/ # Registry abstractions
βββ api/ # OpenAPI spec (auto-generated)
βββ scripts/ # CLI tools (agno)
βββ tests/ # Unit tests
βββ .cursor/rules/ # Vibe Coding rules
βοΈ = User extension points
| Mode | Use Case | Description |
|---|---|---|
| Agent | Single task + Tools | 90% recommended, simple & efficient |
| Team | Multi-role collaboration | Auto-coordination between members |
| Workflow | Strict steps + Conditions | Process control & state management |
| Variable | Required | Description |
|---|---|---|
OPENROUTER_API_KEY |
Yes | OpenRouter API Key |
DATABASE_URL |
No | PostgreSQL (default from Docker) |
DEBUG_MODE |
No | Hot reload for dev |
Full config: .env.example
- Interactive Docs: http://localhost:7777/docs
- OpenAPI Spec: api/openapi.json
# Export latest spec
python scripts/export_openapi.pyIssues and PRs are welcome! Please read AGENTS.md for development guidelines.