Skip to content

linhai0872/agno-agent-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

21 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

δΈ­ζ–‡

Agno Agent Starter

Python License Agno

Production-grade AI Agent scaffold with batteries included

Build, deploy, and scale intelligent agents in minutes, not weeks.

πŸ“– Docs Β· 🍳 Cookbook Β· Issues


Why Agno Agent Starter?

  • πŸš€ Zero to Production in 3 Steps β€” Clone, configure, docker compose up
  • πŸ”Œ Unified Model Layer β€” One ModelConfig for 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

Quick Start

Option A: npx (Recommended)

# 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/docs

Option B: Git Clone

git clone https://github.com/linhai0872/agno-agent-starter.git && cd agno-agent-starter
cp .env.example .env
docker compose up -d

Try It

from 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)

Production Deployment

docker compose -f docker-compose.yml -f docker-compose.prod.yml up -d

Connect to Agent UI

  1. Open os.agno.com β†’ Sign in
  2. Click "Add new OS" β†’ Select "Local"
  3. Enter: http://localhost:7777 β†’ Connect

Core Philosophy

  1. AgentOS First β€” Use AgentOS standard APIs, never write FastAPI routes manually
  2. Single Agent Preferred β€” 90% of cases can be solved with one Agent + Tools
  3. Config over Code β€” Model parameters use ModelConfig, no hardcoding

Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                        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                    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Classic Templates

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


Developer Tools

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 health

Project Structure

agno-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


Orchestration Modes

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

Environment Variables

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


API Reference

# Export latest spec
python scripts/export_openapi.py

Contributing

Issues and PRs are welcome! Please read AGENTS.md for development guidelines.


License

MIT

About

Production-grade AI Agent orchestration scaffold based on Agno + AgentOS. Supports 8 model providers (OpenRouter/OpenAI/Google/Anthropic/Alibaba/Volcengine), multi-agent Teams, and conditional Workflows.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors