💡 摘要
一个用于构建、部署和管理生产就绪的多智能体系统的综合框架、运行时和控制平面。
🎯 适合人群
🤖 AI 吐槽: “它承诺成为智能体领域的Kubernetes,但得看开发者有没有耐心学习又一个编排层。”
该框架集成了大量工具(MCP、100多个工具包)并执行智能体逻辑,如果智能体或工具配置不当,存在任意代码执行、数据泄露和依赖链攻击的风险。缓解措施:严格沙箱化智能体执行环境,对所有工具实施严格的输入验证和输出清理,并在使用前审计所有第三方集成和MCP服务器。
What is Agno?
Agno is a framework, runtime, and control plane for multi-agent systems.
| Layer | What it does | |-------|--------------| | Framework | Build agents, teams, and workflows with memory, knowledge, guardrails, and 100+ integrations | | AgentOS Runtime | Run your system in production with a stateless, secure FastAPI backend | | Control Plane | Test, monitor, and manage your system using the AgentOS UI |
Why Agno?
- Private by design. AgentOS runs in your cloud. The control plane connects directly to your runtime from your browser. No retention costs, no vendor lock-in, no compliance headaches.
- Production-ready on day one. Pre-built FastAPI runtime with SSE endpoints, ready to deploy.
- Fast. 529× faster instantiation than LangGraph. 24× lower memory. See benchmarks →
Example
An agent with MCP tools, persistent state, served via FastAPI:
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 agno_agent = Agent( name="Agno Agent", model=Claude(id="claude-sonnet-4-5"), db=SqliteDb(db_file="agno.db"), tools=[MCPTools(transport="streamable-http", url="https://docs.agno.com/mcp")], add_history_to_context=True, markdown=True, ) agent_os = AgentOS(agents=[agno_agent]) app = agent_os.get_app() if __name__ == "__main__": agent_os.serve(app="agno_agent:app", reload=True)
Run this and connect to the AgentOS UI:
https://github.com/user-attachments/assets/feb23db8-15cc-4e88-be7c-01a21a03ebf6
Features
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)
Memory & Knowledge
- Persistent storage for session history and state
- User memory across sessions
- Agentic RAG with 20+ vector stores, hybrid search, reranking
- Culture: shared long-term memory across agents
Orchestration
- 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
Getting Started
- Follow the getting started guide
- Browse the cookbook for real-world examples
- Read the docs to go deeper
Performance
Agent workloads spawn hundreds of instances. Stateless, horizontal scalability isn't optional.
| Metric | Agno | LangGraph | PydanticAI | CrewAI | |--------|------|-----------|------------|--------| | Instantiation | 3μs | 1,587μs (529×) | 170μs (57×) | 210μs (70×) | | Memory | 6.6 KiB | 161 KiB (24×) | 29 KiB (4×) | 66 KiB (10×) |
Apple M4 MacBook Pro, Oct 2025. Run benchmarks yourself →
https://github.com/user-attachments/assets/54b98576-1859-4880-9f2d-15e1a426719d
IDE Integration
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.
Contributing
We welcome contributions. See the contributing guide.
Telemetry
Agno logs which model providers are used to prioritize updates. Disable with AGNO_TELEMETRY=false.
优点
- 以生产为先的设计,提供可立即部署的FastAPI运行时
- 注重隐私和数据控制,提供自托管选项
- 与替代方案相比,具有高性能和低资源开销
- 内置丰富的记忆、知识、编排和工具功能。
缺点
- 对于简单的单智能体用例可能过于复杂
- 要充分利用自托管优势需要基础设施知识
- 与更成熟的框架相比,生态系统相对较新。
相关技能
免责声明:本内容来源于 GitHub 开源项目,仅供展示和评分分析使用。
版权归原作者所有 agno-agi.
