Build agents that learn.
A Python SDK for building agents that learn and improve with every interaction.
Most agents are stateless. They reason, respond, forget. Session history helps, but they're exactly as capable on day 1000 as they were on day 1.
Agno agents are different. They remember users across sessions, accumulate knowledge across conversations, and learn from decisions. Insights from one user benefit everyone.
Everything runs in your cloud. Your data never leaves your environment.
from agno.agent import Agent
from agno.db.sqlite import SqliteDb
from agno.models.openai import OpenAIResponses
agent = Agent(
model=OpenAIResponses(id="gpt-5.2"),
db=SqliteDb(db_file="tmp/agents.db"),
learning=True,
)One line. Your agent now remembers users, accumulates knowledge, and improves over time.
| Layer | What it does |
|---|---|
| SDK | Build agents with learning, tools, knowledge, and guardrails |
| Runtime | Run in production using AgentOS |
| Control Plane | Monitor and manage via the AgentOS UI |
Learning
- User profiles that persist across sessions
- User memories that accumulate over time
- Learned knowledge that transfers across users
- Always or agentic learning modes
Core
- Model-agnostic: OpenAI, Anthropic, Google, local models
- Type-safe I/O with
input_schemaandoutput_schema - Async-first, built for long-running tasks
- Natively multimodal (text, images, audio, video, files)
Knowledge
- Agentic RAG with 20+ vector stores, hybrid search, reranking
- Persistent storage for session history and state
Orchestration
- Human-in-the-loop (confirmations, approvals, overrides)
- Guardrails for validation and security
- First-class MCP and A2A support
- 100+ built-in toolkits
Production
- Ready-to-use FastAPI runtime
- Integrated control plane UI
- Evals for accuracy, performance, latency
- Follow the quickstart
- Browse the cookbook
- Read the docs
Add our docs to your AI-enabled editor:
Cursor: Settings → Indexing & Docs → Add https://docs.agno.com/llms-full.txt
Also works with VSCode, Windsurf, and similar tools.
See the contributing guide.
Agno logs which model providers are used to prioritize updates. Disable with AGNO_TELEMETRY=false.