Agno: a lightweight library for building Multi-Agent Systems
Project description
What is Agno?
Agno is a multi-agent framework, runtime, and control plane. Use it to build private and secure AI products that run in your cloud.
- Build agents, teams, and workflows with memory, knowledge, guardrails and 100+ integrations.
- Run in production with a stateless FastAPI runtime. Horizontally scalable.
- Manage with a control plane that connects directly to your runtime — no data leaves your environment.
Why Agno?
- Your cloud, your data: Runs entirely in your infrastructure. Nothing leaves your environment.
- Ready for production on day one: Pre-built FastAPI runtime with SSE endpoints, ready to deploy.
- Incredibly fast: 529× faster than LangGraph, 24× lower memory.
Getting Started
Start with the getting started guide, then:
Resources
- Docs: docs.agno.com
- Cookbook: Cookbook
- Community forum: community.agno.com
- Discord: discord
Example
Here's an example of an Agent that connects to an MCP server, manages conversation state in a database, is served using a FastAPI application that you can chat with using the AgentOS UI.
from agno.agent import Agent
from agno.db.sqlite import SqliteDb
from agno.models.anthropic import Claude
from agno.os import AgentOS
from agno.tools.mcp import MCPTools
# ************* Create Agent *************
agno_agent = Agent(
name="Agno Agent",
model=Claude(id="claude-sonnet-4-5"),
# Add a database to the Agent
db=SqliteDb(db_file="agno.db"),
# Add the Agno MCP server to the Agent
tools=[MCPTools(transport="streamable-http", url="https://docs.agno.com/mcp")],
# Add the previous session history to the context
add_history_to_context=True,
markdown=True,
)
# ************* Create AgentOS *************
agent_os = AgentOS(agents=[agno_agent])
# Get the FastAPI app for the AgentOS
app = agent_os.get_app()
# ************* Run AgentOS *************
if __name__ == "__main__":
agent_os.serve(app="agno_agent:app", reload=True)
AgentOS - Production Runtime for Multi-Agent Systems
Building Agents is easy, running them as a secure, scalable service is hard. AgentOS solves this by providing a high performance runtime for serving multi-agent systems in production. Key features include:
-
Pre-built FastAPI app: AgentOS includes a ready-to-use FastAPI app for running your agents, teams and workflows. This gives you a significant head start when building an AI product.
-
Integrated Control Plane: The AgentOS UI connects directly to your runtime, so you can test, monitor and manage your system in real time with full operational visibility.
-
Private by Design: AgentOS runs entirely in your cloud, ensuring complete data privacy. No data leaves your environment, making it ideal for security conscious enterprises..
When you run the example script shared above, you get a FastAPI app that you can connect to the AgentOS UI. Here's what it looks like in action:
https://github.com/user-attachments/assets/feb23db8-15cc-4e88-be7c-01a21a03ebf6
Private by Design
This is the part we care most about.
AgentOS runs in your cloud. The control plane UI connects directly to your runtime from your browser. Your data never touches our servers. No retention costs, no vendor lock-in, no compliance headaches.
This isn't a privacy mode or enterprise add-on. It's how Agno works.
Features
Core:
- Model agnostic — works with OpenAI, Anthropic, Google, local models, whatever
- Type-safe I/O with
input_schemaandoutput_schema - Async-first, built for long-running tasks
- Natively multimodal (text, images, audio, video, files)
Memory & Knowledge:
- Persistent storage for session history and state
- User memory that persists across sessions
- Agentic RAG with 20+ vector stores, hybrid search, reranking
- Culture — shared long-term memory across agents
Execution:
- Human-in-the-loop (confirmations, approvals, overrides)
- Guardrails for validation and security
- Pre/post hooks for the agent lifecycle
- 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
- Durable execution for resumable workflows
- RBAC and per-agent permissions
Performance
We're obsessive about performance because agent workloads spawn hundreds of instances and run long tasks. Stateless, horizontal scalability isn't optional.
Benchmarks (Apple M4 MacBook Pro, Oct 2025):
| Metric | Agno | LangGraph | PydanticAI | CrewAI |
|---|---|---|---|---|
| Instantiation | 3μs | 1,587μs (529× slower) | 170μs (57× slower) | 210μs (70× slower) |
| Memory | 6.6 KiB | 161 KiB (24× higher) | 29 KiB (4× higher) | 66 KiB (10× higher) |
Run the benchmarks yourself: cookbook/12_evals/performance
https://github.com/user-attachments/assets/54b98576-1859-4880-9f2d-15e1a426719d
IDE Integration
For AI-assisted development, add our docs to your IDE:
Cursor: Settings → Indexing & Docs → Add https://docs.agno.com/llms-full.txt
Works with VSCode, Windsurf, and other AI-enabled editors too.
Contributing
We welcome contributions. See the contributing guide.
Telemetry
Agno logs which model providers are used so we can prioritize updates. Disable with AGNO_TELEMETRY=false.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agno-2.3.24.tar.gz.
File metadata
- Download URL: agno-2.3.24.tar.gz
- Upload date:
- Size: 1.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75bbfaee62c8de64bf57cc4a95def32ae22413316074af340cde14b2e8e1b985
|
|
| MD5 |
1536790f7a4893f891de801890e75124
|
|
| BLAKE2b-256 |
f7da80709b234d72b6b98aec1985cbfefc05ccf0d7cd7bf329204dc1a5439bcb
|
File details
Details for the file agno-2.3.24-py3-none-any.whl.
File metadata
- Download URL: agno-2.3.24-py3-none-any.whl
- Upload date:
- Size: 1.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94367f131f1182a45f89b053640706c1a8addb48eca580f969e4ca4f067fd2eb
|
|
| MD5 |
c71e5efd63848e3d789c49904eb38e7b
|
|
| BLAKE2b-256 |
ef0672b04f253c6b1dd27528ddb692dcab66e65b690deb25313bab6db7f35edd
|