Agno
Overview
Agno is a Python framework for building multi-agent systems that learn and improve with every interaction. Unlike stateless agents that forget after each session, Agno agents persist user profiles across sessions, accumulate knowledge across conversations, and transfer learned insights across users. The framework provides model-agnostic support for 40+ providers, built-in toolkits, vector store integrations, and a production runtime called AgentOS.
Problem Addressed
| Problem |
Solution |
| Agents are stateless and forget between sessions |
Learning system persists user profiles and memories across sessions |
| Knowledge doesn't transfer between users |
Learned knowledge transfers across users, improving system over time |
| Building multi-agent systems is complex |
Teams and workflows abstractions coordinate multiple agents |
| RAG integration requires custom implementation |
Built-in agentic RAG with 20+ vector stores, hybrid search, reranking |
| Production deployment is separate concern |
AgentOS runtime + control plane UI for monitoring and management |
| Tool integration varies across frameworks |
100+ built-in toolkits, first-class MCP and A2A protocol support |
| Model lock-in limits flexibility |
Model-agnostic: OpenAI, Anthropic, Google, local models, 40+ providers |
Key Statistics
| Metric |
Value |
Date Gathered |
| GitHub Stars |
37,379 |
2026-01-31 |
| GitHub Forks |
4,954 |
2026-01-31 |
| Open Issues |
489 |
2026-01-31 |
| Contributors |
~385 |
2026-01-31 |
| PyPI Monthly DL |
1,158,777 |
2026-01-31 |
| PyPI Weekly DL |
294,556 |
2026-01-31 |
| Primary Language |
Python |
2026-01-31 |
| Repository Age |
Since May 2022 |
2026-01-31 |
Key Features
Learning System
- User profiles: Persist across sessions, accumulate user-specific context
- User memories: Store insights and facts about users across conversations
- Learned knowledge: Transfers across users, improving system globally
- Learning modes: Always-on or agentic (agent decides when to learn)
- Decision logging: Track and analyze agent decisions for improvement
Core Framework
- Model-agnostic: 40+ providers (OpenAI, Anthropic, Google, Llama, Mistral, DeepSeek, Groq, Ollama, vLLM)
- Type-safe I/O:
input_schema and output_schema for structured data
- Async-first: Built for long-running tasks and concurrent execution
- Natively multimodal: Text, images, audio, video, files
- Guardrails: Validation and security constraints for agent behavior
Multi-Agent Orchestration
- Teams: Coordinate multiple agents with shared memory and distributed RAG
- Workflows: Chain agents, teams, and functions into automated pipelines
- Human-in-the-loop: Confirmations, approvals, overrides at decision points
- A2A protocol: Agent-to-agent communication standard support
- MCP support: First-class Model Context Protocol integration
Knowledge and RAG
- Agentic RAG: Intelligent retrieval with agent-guided search
- 20+ vector stores: Comprehensive vector database support
- Hybrid search: Combine dense and sparse retrieval
- Reranking: Improve retrieval quality with reranking models
- Multiple sources: URLs, S3, GCS, YouTube, PDFs, and more
Reasoning Capabilities
- Reasoning models: Support for o1, o3, and other reasoning-trained models
- Reasoning tools: Give agents tools that enable reasoning (think, analyze)
- Reasoning harness:
reasoning=True for chain-of-thought with tool use
Storage
- Session history: Persistent conversation storage
- State management: Agent state persistence across sessions
- Supported backends: Postgres, SQLite, DynamoDB, Firestore, MongoDB, Redis, SingleStore, SurrealDB
Production Infrastructure
- AgentOS runtime: Ready-to-use FastAPI-based deployment
- Control plane UI: Monitor and manage agents via https://os.agno.com
- Evals: Accuracy (LLM-as-judge), performance (latency, memory), reliability metrics
- 100+ toolkits: Web search, SQL, email, APIs, Discord, Slack, Docker, custom tools
Technical Architecture
Stack Components
| Component |
Technology |
| Core Framework |
Python (async-first design) |
| Runtime |
AgentOS (FastAPI-based) |
| Storage |
Pluggable (Postgres, SQLite, DynamoDB, etc.) |
| Vector Stores |
20+ integrations (Pinecone, Weaviate, Chroma, etc.) |
| Model Providers |
40+ (OpenAI, Anthropic, Google, local, etc.) |
| Control Plane |
AgentOS UI (os.agno.com) |
Agent Abstraction Layers
Workflows (complex orchestration)
|
Teams (multi-agent coordination)
|
Agents (single agent with tools, knowledge, learning)
|
Models (40+ provider implementations)
Data Flow
- User input received by agent
- Agent retrieves relevant knowledge (RAG)
- Agent reasons with model and available tools
- Learning system captures insights (if enabled)
- Response generated with structured output
- Session state persisted to storage
- Metrics logged for evals
Installation and Usage
Installation
# Using pip
pip install agno
# Using uv (recommended)
uv pip install agno
Basic Agent (with Learning)
from agno.agent import Agent
from agno.db.sqlite import SqliteDb
from agno.models.openai import OpenAIResponses
agent = Agent(
model=OpenAIResponses(id="gpt-4o"),
db=SqliteDb(db_file="tmp/agents.db"),
learning=True, # Enable learning across sessions
)
# Agent now remembers users and improves over time
response = agent.run("What can you help me with?")
Agent with Tools
from agno.agent import Agent
from agno.models.anthropic import Claude
from agno.tools.web_search import WebSearchTools
agent = Agent(
model=Claude(id="claude-sonnet-4-20250514"),
tools=[WebSearchTools()],
instructions="You are a helpful research assistant.",
)
Multi-Agent Team
from agno.agent import Agent
from agno.team import Team
researcher = Agent(name="researcher", role="Research topics")
writer = Agent(name="writer", role="Write content")
team = Team(
agents=[researcher, writer],
workflow="sequential", # or "parallel", "routing"
)
Agent with Knowledge (RAG)
from agno.agent import Agent
from agno.knowledge.pdf import PDFKnowledge
from agno.vectordb.pgvector import PgVector
knowledge = PDFKnowledge(
path="./documents/",
vector_db=PgVector(table_name="documents"),
)
agent = Agent(
knowledge=knowledge,
search_knowledge=True,
)
Cookbook Examples
The cookbook provides hundreds of examples:
| Directory |
Content |
00_quickstart/ |
Fundamentals, building on previous examples |
01_showcase/ |
Advanced real-world use cases |
02_agents/ |
Tools, RAG, structured outputs, multimodal |
03_teams/ |
Multi-agent coordination, async flows |
04_workflows/ |
Complex process orchestration |
05_agent_os/ |
Deployment to APIs, Slack, WhatsApp |
06_storage/ |
Postgres, SQLite, DynamoDB, MongoDB |
07_knowledge/ |
Chunking, embedders, vector databases |
08_learning/ |
Decision logging, preference tracking |
09_evals/ |
Accuracy, performance, reliability testing |
10_reasoning/ |
Chain-of-thought, reasoning tools |
Relevance to Claude Code Development
Direct Applications
Multi-Agent Orchestration Patterns: Teams and workflows abstractions provide reference architecture for coordinating Claude Code sub-agents.
Learning System Design: User profile persistence and knowledge transfer patterns could inform session-aware skill development.
MCP Integration Patterns: First-class MCP support demonstrates integration approaches for Model Context Protocol tools.
Tool Architecture: 100+ built-in toolkits show patterns for tool organization and discoverability.
RAG Implementation: Agentic RAG with hybrid search provides reference for knowledge-augmented agent design.
Patterns Worth Adopting
Learning Modes: "Always" vs "agentic" learning modes allow agents to decide when knowledge capture is valuable.
Type-Safe I/O: input_schema and output_schema ensure structured data contracts between agents.
Reasoning Harness: reasoning=True flag for enabling chain-of-thought is a clean abstraction.
Human-in-the-Loop: Explicit confirmation/approval points in workflows prevent autonomous runaway.
Eval Categories: Separating accuracy, performance, and reliability metrics provides clear measurement framework.
Integration Opportunities
MCP Server: Agno agents could be exposed as MCP tools for Claude Code workflows.
A2A Protocol: Agent-to-agent communication standard could enable Agno-Claude Code interop.
Tool Reuse: 100+ toolkits could inspire or directly inform Claude Code tool implementations.
Knowledge Pipeline: Document loading from URLs, S3, GCS patterns applicable to skill reference ingestion.
Eval Framework: Agno's eval patterns could inform Claude Code skill testing approaches.
Comparison with Claude Code
| Aspect |
Agno |
Claude Code |
| Primary Use |
Multi-agent systems |
Developer workflow automation |
| Learning |
Built-in persistence |
Session-based (skills persist) |
| Orchestration |
Teams, workflows, A2A |
Agent delegation, Task tool |
| Tool Integration |
100+ toolkits, MCP, A2A |
MCP, custom tools |
| Model Support |
40+ providers |
Claude models (Anthropic) |
| Runtime |
AgentOS (FastAPI) |
CLI + IDE integration |
| Knowledge |
Agentic RAG, vector stores |
Skills, references |
References
Research Method: Information gathered from official GitHub repository README, GitHub API (stars, forks, issues, releases), PyPI statistics API, and cookbook README. Statistics verified via direct API calls.
Freshness Tracking
| Field |
Value |
| Version Documented |
v2.4.7 |
| Release Date |
2026-01-28 |
| GitHub Stars |
37,379 (as of 2026-01-31) |
| Monthly Downloads |
1,158,777 (as of 2026-01-31) |
| Next Review Date |
2026-05-01 |
Review Triggers:
- Major version release (v3.x)
- Significant new feature (new learning modes, orchestration patterns)
- GitHub stars milestone (40K, 50K)
- PyPI downloads milestone (2M monthly)
- New production runtime capabilities
- Breaking changes to Teams/Workflows API
- New model provider integrations of note
1---2name: problem-addressed-383description: Agno is a Python framework for building multi-agent systems that learn and improve with every interaction.4---5# Agno67| Field | Value |8| ------------- | -------------------------------------------------------- |9| Research Date | 2026-01-31 |10| Primary URL | <https://docs.agno.com> |11| GitHub | <https://github.com/agno-agi/agno> |12| PyPI | <https://pypi.org/project/agno/> |13| Version | v2.4.7 (released 2026-01-28) |14| License | Apache-2.0 |15| Discord | <https://www.agno.com/discord> |16| Community | <https://community.agno.com/> |1718---1920## Overview2122Agno is a Python framework for building multi-agent systems that learn and improve with every interaction. Unlike stateless agents that forget after each session, Agno agents persist user profiles across sessions, accumulate knowledge across conversations, and transfer learned insights across users. The framework provides model-agnostic support for 40+ providers, built-in toolkits, vector store integrations, and a production runtime called AgentOS.2324---2526## Problem Addressed2728| Problem | Solution |29| ------------------------------------------------- | ----------------------------------------------------------------------- |30| Agents are stateless and forget between sessions | Learning system persists user profiles and memories across sessions |31| Knowledge doesn't transfer between users | Learned knowledge transfers across users, improving system over time |32| Building multi-agent systems is complex | Teams and workflows abstractions coordinate multiple agents |33| RAG integration requires custom implementation | Built-in agentic RAG with 20+ vector stores, hybrid search, reranking |34| Production deployment is separate concern | AgentOS runtime + control plane UI for monitoring and management |35| Tool integration varies across frameworks | 100+ built-in toolkits, first-class MCP and A2A protocol support |36| Model lock-in limits flexibility | Model-agnostic: OpenAI, Anthropic, Google, local models, 40+ providers |3738---3940## Key Statistics4142| Metric | Value | Date Gathered |43| ----------------- | ------------------------- | ------------- |44| GitHub Stars | 37,379 | 2026-01-31 |45| GitHub Forks | 4,954 | 2026-01-31 |46| Open Issues | 489 | 2026-01-31 |47| Contributors | ~385 | 2026-01-31 |48| PyPI Monthly DL | 1,158,777 | 2026-01-31 |49| PyPI Weekly DL | 294,556 | 2026-01-31 |50| Primary Language | Python | 2026-01-31 |51| Repository Age | Since May 2022 | 2026-01-31 |5253---5455## Key Features5657### Learning System5859- **User profiles**: Persist across sessions, accumulate user-specific context60- **User memories**: Store insights and facts about users across conversations61- **Learned knowledge**: Transfers across users, improving system globally62- **Learning modes**: Always-on or agentic (agent decides when to learn)63- **Decision logging**: Track and analyze agent decisions for improvement6465### Core Framework6667- **Model-agnostic**: 40+ providers (OpenAI, Anthropic, Google, Llama, Mistral, DeepSeek, Groq, Ollama, vLLM)68- **Type-safe I/O**: `input_schema` and `output_schema` for structured data69- **Async-first**: Built for long-running tasks and concurrent execution70- **Natively multimodal**: Text, images, audio, video, files71- **Guardrails**: Validation and security constraints for agent behavior7273### Multi-Agent Orchestration7475- **Teams**: Coordinate multiple agents with shared memory and distributed RAG76- **Workflows**: Chain agents, teams, and functions into automated pipelines77- **Human-in-the-loop**: Confirmations, approvals, overrides at decision points78- **A2A protocol**: Agent-to-agent communication standard support79- **MCP support**: First-class Model Context Protocol integration8081### Knowledge and RAG8283- **Agentic RAG**: Intelligent retrieval with agent-guided search84- **20+ vector stores**: Comprehensive vector database support85- **Hybrid search**: Combine dense and sparse retrieval86- **Reranking**: Improve retrieval quality with reranking models87- **Multiple sources**: URLs, S3, GCS, YouTube, PDFs, and more8889### Reasoning Capabilities9091- **Reasoning models**: Support for o1, o3, and other reasoning-trained models92- **Reasoning tools**: Give agents tools that enable reasoning (think, analyze)93- **Reasoning harness**: `reasoning=True` for chain-of-thought with tool use9495### Storage9697- **Session history**: Persistent conversation storage98- **State management**: Agent state persistence across sessions99- **Supported backends**: Postgres, SQLite, DynamoDB, Firestore, MongoDB, Redis, SingleStore, SurrealDB100101### Production Infrastructure102103- **AgentOS runtime**: Ready-to-use FastAPI-based deployment104- **Control plane UI**: Monitor and manage agents via <https://os.agno.com>105- **Evals**: Accuracy (LLM-as-judge), performance (latency, memory), reliability metrics106- **100+ toolkits**: Web search, SQL, email, APIs, Discord, Slack, Docker, custom tools107108---109110## Technical Architecture111112### Stack Components113114| Component | Technology |115| --------------- | --------------------------------------------------- |116| Core Framework | Python (async-first design) |117| Runtime | AgentOS (FastAPI-based) |118| Storage | Pluggable (Postgres, SQLite, DynamoDB, etc.) |119| Vector Stores | 20+ integrations (Pinecone, Weaviate, Chroma, etc.) |120| Model Providers | 40+ (OpenAI, Anthropic, Google, local, etc.) |121| Control Plane | AgentOS UI (os.agno.com) |122123### Agent Abstraction Layers124125```text126Workflows (complex orchestration)127 |128Teams (multi-agent coordination)129 |130Agents (single agent with tools, knowledge, learning)131 |132Models (40+ provider implementations)133```134135### Data Flow1361371. User input received by agent1382. Agent retrieves relevant knowledge (RAG)1393. Agent reasons with model and available tools1404. Learning system captures insights (if enabled)1415. Response generated with structured output1426. Session state persisted to storage1437. Metrics logged for evals144145---146147## Installation and Usage148149### Installation150151```bash152# Using pip153pip install agno154155# Using uv (recommended)156uv pip install agno157```158159### Basic Agent (with Learning)160161```python162from agno.agent import Agent163from agno.db.sqlite import SqliteDb164from agno.models.openai import OpenAIResponses165166agent = Agent(167 model=OpenAIResponses(id="gpt-4o"),168 db=SqliteDb(db_file="tmp/agents.db"),169 learning=True, # Enable learning across sessions170)171172# Agent now remembers users and improves over time173response = agent.run("What can you help me with?")174```175176### Agent with Tools177178```python179from agno.agent import Agent180from agno.models.anthropic import Claude181from agno.tools.web_search import WebSearchTools182183agent = Agent(184 model=Claude(id="claude-sonnet-4-20250514"),185 tools=[WebSearchTools()],186 instructions="You are a helpful research assistant.",187)188```189190### Multi-Agent Team191192```python193from agno.agent import Agent194from agno.team import Team195196researcher = Agent(name="researcher", role="Research topics")197writer = Agent(name="writer", role="Write content")198199team = Team(200 agents=[researcher, writer],201 workflow="sequential", # or "parallel", "routing"202)203```204205### Agent with Knowledge (RAG)206207```python208from agno.agent import Agent209from agno.knowledge.pdf import PDFKnowledge210from agno.vectordb.pgvector import PgVector211212knowledge = PDFKnowledge(213 path="./documents/",214 vector_db=PgVector(table_name="documents"),215)216217agent = Agent(218 knowledge=knowledge,219 search_knowledge=True,220)221```222223---224225## Cookbook Examples226227The [cookbook](https://github.com/agno-agi/agno/tree/main/cookbook) provides hundreds of examples:228229| Directory | Content |230| ------------------- | ------------------------------------------------- |231| `00_quickstart/` | Fundamentals, building on previous examples |232| `01_showcase/` | Advanced real-world use cases |233| `02_agents/` | Tools, RAG, structured outputs, multimodal |234| `03_teams/` | Multi-agent coordination, async flows |235| `04_workflows/` | Complex process orchestration |236| `05_agent_os/` | Deployment to APIs, Slack, WhatsApp |237| `06_storage/` | Postgres, SQLite, DynamoDB, MongoDB |238| `07_knowledge/` | Chunking, embedders, vector databases |239| `08_learning/` | Decision logging, preference tracking |240| `09_evals/` | Accuracy, performance, reliability testing |241| `10_reasoning/` | Chain-of-thought, reasoning tools |242243---244245## Relevance to Claude Code Development246247### Direct Applications2482491. **Multi-Agent Orchestration Patterns**: Teams and workflows abstractions provide reference architecture for coordinating Claude Code sub-agents.2502512. **Learning System Design**: User profile persistence and knowledge transfer patterns could inform session-aware skill development.2522533. **MCP Integration Patterns**: First-class MCP support demonstrates integration approaches for Model Context Protocol tools.2542554. **Tool Architecture**: 100+ built-in toolkits show patterns for tool organization and discoverability.2562575. **RAG Implementation**: Agentic RAG with hybrid search provides reference for knowledge-augmented agent design.258259### Patterns Worth Adopting2602611. **Learning Modes**: "Always" vs "agentic" learning modes allow agents to decide when knowledge capture is valuable.2622632. **Type-Safe I/O**: `input_schema` and `output_schema` ensure structured data contracts between agents.2642653. **Reasoning Harness**: `reasoning=True` flag for enabling chain-of-thought is a clean abstraction.2662674. **Human-in-the-Loop**: Explicit confirmation/approval points in workflows prevent autonomous runaway.2682695. **Eval Categories**: Separating accuracy, performance, and reliability metrics provides clear measurement framework.270271### Integration Opportunities2722731. **MCP Server**: Agno agents could be exposed as MCP tools for Claude Code workflows.2742752. **A2A Protocol**: Agent-to-agent communication standard could enable Agno-Claude Code interop.2762773. **Tool Reuse**: 100+ toolkits could inspire or directly inform Claude Code tool implementations.2782794. **Knowledge Pipeline**: Document loading from URLs, S3, GCS patterns applicable to skill reference ingestion.2802815. **Eval Framework**: Agno's eval patterns could inform Claude Code skill testing approaches.282283### Comparison with Claude Code284285| Aspect | Agno | Claude Code |286| ------------------- | ------------------------------ | ------------------------------ |287| Primary Use | Multi-agent systems | Developer workflow automation |288| Learning | Built-in persistence | Session-based (skills persist) |289| Orchestration | Teams, workflows, A2A | Agent delegation, Task tool |290| Tool Integration | 100+ toolkits, MCP, A2A | MCP, custom tools |291| Model Support | 40+ providers | Claude models (Anthropic) |292| Runtime | AgentOS (FastAPI) | CLI + IDE integration |293| Knowledge | Agentic RAG, vector stores | Skills, references |294295---296297## References298299| Source | URL | Accessed |300| ------------------------- | -------------------------------------------------------- | ---------- |301| Official Documentation | <https://docs.agno.com/introduction> | 2026-01-31 |302| GitHub Repository | <https://github.com/agno-agi/agno> | 2026-01-31 |303| GitHub README | <https://github.com/agno-agi/agno/blob/main/README.md> | 2026-01-31 |304| Cookbook | <https://github.com/agno-agi/agno/tree/main/cookbook> | 2026-01-31 |305| PyPI Package | <https://pypi.org/project/agno/> | 2026-01-31 |306| PyPI Stats | <https://pypistats.org/packages/agno> | 2026-01-31 |307| AgentOS Control Plane | <https://os.agno.com> | 2026-01-31 |308| Community Forum | <https://community.agno.com/> | 2026-01-31 |309| LLM Documentation | <https://docs.agno.com/llms-full.txt> | 2026-01-31 |310311**Research Method**: Information gathered from official GitHub repository README, GitHub API (stars, forks, issues, releases), PyPI statistics API, and cookbook README. Statistics verified via direct API calls.312313---314315## Freshness Tracking316317| Field | Value |318| ------------------ | ----------------------------------- |319| Version Documented | v2.4.7 |320| Release Date | 2026-01-28 |321| GitHub Stars | 37,379 (as of 2026-01-31) |322| Monthly Downloads | 1,158,777 (as of 2026-01-31) |323| Next Review Date | 2026-05-01 |324325**Review Triggers**:326327- Major version release (v3.x)328- Significant new feature (new learning modes, orchestration patterns)329- GitHub stars milestone (40K, 50K)330- PyPI downloads milestone (2M monthly)331- New production runtime capabilities332- Breaking changes to Teams/Workflows API333- New model provider integrations of note