Agno — Production AI Agent Runtime
Agno is a runtime for building and managing agentic software at scale. 39.1K+ GitHub stars. Stateful agents, FastAPI serving, 100+ integrations, tracing. Apache 2.0.
Agent 可直接安装
这个资产可安装;Agent 先选择当前运行时、检查安装计划,再运行匹配命令。
npx -y tokrepo@latest install f73bc89d-cd16-46bb-af95-3a921a0de059 --target codex先 dry-run 确认安装计划,再运行此命令。
What it is
Agno is a runtime for building and managing agentic software at scale. It provides stateful agents with memory, FastAPI-based serving for production deployment, 100+ tool integrations, and built-in tracing for observability. Agno agents maintain state across conversations and can coordinate with other agents.
Agno targets engineering teams building production AI agent systems who need a framework that handles state management, deployment, and monitoring.
How it saves time or tokens
Agno's built-in state management eliminates the need to build custom session stores. Agents remember previous interactions, tool results, and user preferences without external databases. The 100+ pre-built tool integrations (search, email, calendar, databases) mean you connect capabilities instead of writing API wrappers.
FastAPI serving provides production-grade deployment with automatic API documentation, authentication, and health checks.
How to use
- Install Agno:
pip install agno - Create an agent with tools and memory configuration
- Serve the agent with FastAPI for production access
- Monitor with the built-in tracing dashboard
Example
from agno.agent import Agent
from agno.models.openai import OpenAIChat
from agno.tools.duckduckgo import DuckDuckGoTools
agent = Agent(
model=OpenAIChat(id='gpt-4o'),
tools=[DuckDuckGoTools()],
instructions=['Always cite sources', 'Be concise'],
show_tool_calls=True,
markdown=True,
)
# Run interactively
agent.print_response('What are the latest developments in AI agents?', stream=True)
# Or serve via FastAPI
from agno.playground import Playground
app = Playground(agents=[agent]).get_app()
# Run: uvicorn app:app --reload
Related on TokRepo
- AI agent tools -- Agent frameworks and platforms
- Multi-agent frameworks -- Agno multi-agent deep-dive
Common pitfalls
- Stateful agents consume memory proportional to conversation length; configure max history limits for long-running agents
- The 100+ tool integrations each require their own API keys; missing keys cause runtime errors
- FastAPI serving exposes agent capabilities via HTTP; add authentication middleware before deploying publicly
常见问题
LangChain provides building blocks (chains, tools, memory) that you assemble. Agno is a higher-level runtime that bundles state management, serving, and tracing into an opinionated framework. Agno is faster to production; LangChain is more flexible for custom architectures.
Yes. Agno supports agent teams where multiple agents collaborate on tasks. A supervisor agent can delegate to specialized agents, and agents can share state and coordinate through the runtime.
Agno supports OpenAI, Anthropic, Google, Groq, Ollama, and other providers. You configure the model in the agent definition. Switching providers requires changing one line.
Agno has built-in tracing that records agent interactions, tool calls, and response times. The tracing data is available through a web dashboard or can be exported to external observability platforms.
Yes. Agno is released under the Apache 2.0 license. The source code, all tool integrations, and the serving framework are open source and available on GitHub.
引用来源 (3)
- Agno GitHub— Agno is a production AI agent runtime with 39.1K+ GitHub stars
- Agno Docs— FastAPI-based agent serving
- Agno License— Apache 2.0 open-source license
来源与感谢
Created by Agno. Licensed under Apache 2.0. agno-agi/agno — 39,100+ GitHub stars
讨论
相关资产
Hector — Self-Hosted Agent Runtime Binary
Run Hector as a self-hosted agent runtime: a single Go binary that serves an agent API and studio UI, keeping execution on your own infrastructure.
Swarmclaw — Self-Hosted Multi-Agent Runtime + MCP
Self-hosted multi-agent runtime with memory, delegation, schedules, and MCP tools. Run swarms via web dashboard or CLI. Verified 481★; pushed 2026-05-14.
Pydantic AI — Production AI Agent Framework
Build production-ready AI agents in Python with type-safe structured outputs, dependency injection, and multi-model support. By the creators of Pydantic.
agent-skills — Production Skills for AI Coding Agents
Production-grade engineering skills for AI coding agents, with install recipes for Gemini CLI and guidance for Cursor/Codex-style workflows.