- 需要人工审批环节的内部工具(比如 Agent 起草、人确认后才执行写操作):AgentOS 自带断点续跑和审批流,自己用 FastAPI 拼这套状态机要写不少代码
- 要把 Agent 暴露给 Claude、ChatGPT 或 Slack 当工具调用:内置 MCP Server 和 REST 接口,比手写协议适配层省事
- 长任务批处理(跑评测、批量抓取加工):持久化任务队列重启后仍能查状态,用 Celery 加自建状态表也能做,但要多维护一层
- 多 Agent 分工的流程编排:团队和工作流是框架原生概念,换成纯 LangGraph 要自己定义节点和状态
专家点评
上手难度:硬核更新于 2026-11-11把 Python Agent 从脚本变成带鉴权、审批和持久任务队列的常驻服务,省掉自建控制面
适用场景
踩坑
- 它不是 pip install 就能跑的库:要克隆云厂商模板仓库、按 setup skill 配 PostgreSQL 和平台连接,想当轻量 SDK 嵌进现有服务会撞上这套部署假设
- 平台界面依赖连接 os.agno.com,离线或内网环境这条路径走不通,得先确认能否只用 API
- issue 里反复出现的是工具调用循环控制(tool_call_limit 不生效)和上下文管理/压缩这类运行时行为问题,把 Agent 放到无人值守的长循环里之前,先自己验证终止条件
- 默认上报每个 Agent 的遥测事件,合规敏感的环境要显式设 AGNO_TELEMETRY=false
同类对比
要的是纯编排库、不想引入平台层,看 LangGraph 或 CrewAI;要的是单机轻量 Agent 循环,OpenAI Agents SDK 这类更薄的封装更合适。
git clone https://github.com/agno-agi/agentos-railway agent-platform
cd agent-platform
# 然后按 .agents/skills/setup-platform/SKILL.md 执行README 未说明
项目说明
由 README 自动翻译提炼自管理智能体平台,把 Agent 部署成带 API 和 MCP 的持久服务
用 Python 搭建自主 AI Agent 的平台,把多智能体编排、工具调用和任务执行打包成开箱即用的组件,省去从零搭框架的麻烦。
核心能力
- 用 Agno、Claude Agent 或 Codex SDK 构建 Agent 并组合成团队与工作流
- AgentOS 提供鉴权、角色权限、断点续跑、人工审批与定时调度
- 内置 REST API 与 MCP Server,可接入自家产品、Claude、ChatGPT 和 Slack
- 持久化后台任务队列,重启后仍能追踪任务状态
- 支持追踪运行、检查工具调用并诊断失败的观测能力
容易踩的坑
需要 PostgreSQL 存储对话、记忆和平台活动;需克隆对应云厂商模板仓库并按其 setup skill 配置,不能直接 pip 安装即用;需连接 os.agno.com 才能使用平台界面;默认会上报每个 Agent 的遥测事件,可用 AGNO_TELEMETRY=false 关闭
- v3.1.12最新正式版2026-10-29 · 2026-10-29 14:00 UTC
Changelog
New Features:
- Native Approvals for Harness Agents: Claude's and Codex's own permission requests now reach the AgentOS approval UI. When the agent has a database, including one AgentOS supplies, a native request persists a PAUSED run that shows up in the existing chat and Approvals views, and Resolve plus Continue Run delivers the decision back to the same native execution without replaying the prompt. The harness's own policy decides when to ask — Claude keeps its
permission_modeand explicit permission callbacks, Codex supportsapproval_policy="on-request" | "untrusted" | "never"alongside its existing SDKauto_reviewanddeny_allmodes — so there is no separate Agno setting to turn on. Decisions are validated against the exact action requested, with sync and async continuation, cancellation, expiry and storage-failure handling, and sandboxed agents keep this across Docker and AgentCore: capability negotiation, a decision RPC, fenced persistence, reattachment after an API-worker loss, separate approval-wait and execution budgets, and no replay after process loss. Note that aCodexAgentwith no approval settings now runs under the nativeon-requestpolicy, so a request that previously went nowhere pauses the run instead;hitl_timeout(default 900s) bounds how long it waits. Seecookbook/frameworks/human_in_the_loop/. - Initially Disabled Company Routines:
Routine(enabled=False)lets a template ship an inactive Routine that a user turns on later from the UI, withTruestill the default. Disabled Routines are created atomically, stay linked to their Product and visible in listings, are skipped by the scheduler, and keep the user's saved choice across restarts. The flag is honored in Python and YAML bootstrap, the setup and creation APIs, the sync and async Company Manager, and the Company tools. Duplicate create requests still return409and cannot enable an existing Routine, and the existing pause/resume endpoints enable it without recreating it. Seecookbook/05_agent_os/30_company/11_disabled_routine.py. - Headline Numbers on Charts:
ChartTools.create_chart()takes an optional preformattedvalue— a total or latest value such as"$22.3K"or"94%"— emitted as"value"in the chart block and rendered by Agno OS beside the chart title. The docstring tells the model to leave it out when no single number summarizes the chart, so averages and rates are not summed.
Improvements:
- Company Routine Sorting:
GET /company/routinesnow also sorts bynext_run_at,schedule_typeandenabled, so Agno OS can sort its routines table by Next run at, Schedule and Active. Paused and on-demand Routines have no upcoming run, so they come last in either direction, and Routines with the same value keep their creation order. - Cookbooks: Added an
ApifyToolsjob search example that caps the Actor's item count with a tool hook and trims each dataset item to title, company, location, posted date and link, so a broad search stays small in context. Added a fully local Pixeltable RAG example that writes chunks throughlangchain-pixeltableand searches them withLangChainVectorDb, using localsentence-transformersembeddings and Ollama — no embedding API key and no separate vector database server.
Bug Fixes:
- FastAPI Native Tracing: FastAPI 0.142.0 enables its own OpenTelemetry tracing as soon as a global tracer provider exists, which
AgentOS(tracing=True)installs, so FastAPI's request spans were stored alongside Agno's. Every run became a child of the request span and traces were recorded asfastapi.dependencieswith emptyrun_id,session_idandagent_id, breaking the Runs view, while each UI request stored a trace of its own. AgentOS now opts the app it builds out of FastAPI's tracing, andsetup_tracing()filters foreign spans so a stored trace is rooted at the Agno run. Apps withouttracing=Truekeep FastAPI's defaults, and
- Native Approvals for Harness Agents: Claude's and Codex's own permission requests now reach the AgentOS approval UI. When the agent has a database, including one AgentOS supplies, a native request persists a PAUSED run that shows up in the existing chat and Approvals views, and Resolve plus Continue Run delivers the decision back to the same native execution without replaying the prompt. The harness's own policy decides when to ask — Claude keeps its
- v3.1.112026-10-27 · 2026-10-27 19:28 UTC
查看更新说明
Changelog
New Features:
- Harness Agents in Teams and Workflows:
ClaudeAgentandCodexAgentcan now be members of an AgnoTeamand steps of aWorkflow, including insideParallel,Loop,ConditionandRouter. The team leader delegates to them withdelegate_task_to_memberlike any other member, each harness runs with its own model, tools and workspace, keeps its own conversation across turns of the same session, and the team or workflow collects its runs as usual. A harness agent withsandbox=runs each turn in its own container as a member or step, and AgentOS lists harness members on the team page. Seecookbook/frameworks/harness_teams/andcookbook/frameworks/harness_workflows/. - Session Search: Added
GET /sessions/filter-schemaandPOST /sessions/searchwith nested AND/OR/NOT filters on session name, session/user/component IDs, session type and created/updated timestamps, matching the Traces API. Predicates are applied before counting and pagination in PostgreSQL and SQLite, with a batched fallback for other adapters. Sync and async client methods are included. - Company Tasks:
POST /company/tasksacceptsstatus, so Tasks can be created in Backlog, Ready or Cancelled. Tasks can move between any stages, Done and Cancelled Tasks can reopen, and title and brief can be edited at any stage. In progress still starts only with a run, and moving out of it while that run is executing or paused is refused. - Company Routines: Added
POST /company/routines/{id}/cancel,/archive,/restoreand admin-onlyDELETE /company/routines/{id}.GET /company/routinestakessort_byandsort_order. Pause and resume on an on-demand Routine return409, and scheduler runs no longer moveupdated_at.
Improvements:
- Cookbooks: Added a customer feedback workflow for the AgentOS UI, where Company Manager reads Markdown feedback, proposes evidence-backed Projects and Backlog Tasks, and leaves acceptance to a human.
- README: Aligned the README with the docs introduction and the self-improving agent platform positioning.
Bug Fixes:
- ReaderFactory:
create_reader()now returns a fresh reader configured with the per-call options instead of a cached singleton, sochunk_sizeand other overrides are respected and mutations no longer leak acrossKnowledgeinstances. - Workflow Step Content:
StepOutput.to_dict()keeps ints, floats, bools and strs as themselves instead of stringifying them, so a step that returned0orFalseno longer comes back as"0"or"False"after a HITL resume, a session reload, or through the AgentOS workflow API. - HuggingFace:
default_headersis mapped to the SDK'sheaders,storeis sent inextra_body, andmax_retriesanddefault_queryare deprecated and ignored instead of raisingTypeError. An agent with no tools no longer sendstools=[], which made non-streaming runs returnNonecontent. - Google Calendar:
find_available_slotsnow works in the authenticated user's timezone instead of UTC, so working hours and date-only inputs mean the user's local day. It also fetches events for the full scanned window, so busy time on the last day of a range is no longer offered as free. - Company Archive: Archived Tasks no longer block archiving their Project or Product. Visible active Tasks still block as before.
- RedisDb:
keyword_searchnow passes the caller'slimitto redisvl instead of silently returning its default of 10 results. - MMRReranker:
rerankandarerankreturn no documents whenlimitis zero or negative instead of always returning the closest match. - FieldLabeledCSVReader:
page_size=0is rejected alongside negative values instead of silently returning no documents on larger files. - AgentOSClient: Removed the documented but non-existent
streamargument fromcontinue_agent_run. Usecontinue_agent_run_streamto stream.
What's Chang
- Harness Agents in Teams and Workflows:
- v3.1.102026-10-23 · 2026-10-23 13:10 UTC
查看更新说明
Changelog
Bug Fixes:
- CodexAgent: Now signs in automatically with
OPENAI_API_KEY, and keeps an existing ChatGPT or other login. - OS Manager: OS Manager now lists and runs external agents such as
ClaudeAgentandCodexAgentregistered inAgentOS(agents=[...]), by name or ID. - Knowledge Upload:
POST /knowledge/contentnow returns a clear400message when an upload has no file,text_contentor URL, or whenurlis not a single URL. - Tracing: Spans from
AgentOS(tracing=True)andsetup_tracing()now keep up to 1,024 attributes, so model spans keep their full input and message history on runs with many tool calls.OTEL_SPAN_ATTRIBUTE_COUNT_LIMITandOTEL_ATTRIBUTE_COUNT_LIMITstill take precedence.
What's Changed
- chore: log replica-local queue stream notice at info level by @ysolanky in https://github.com/agno-agi/agno/pull/11264
- fix: reword the no-authorization user isolation warning by @SamJupe in https://github.com/agno-agi/agno/pull/11263
- fix: authenticate Codex automatically with OPENAI_API_KEY by @ashpreetbedi in https://github.com/agno-agi/agno/pull/11249
- fix: let OS Manager discover and run external agents by @ashpreetbedi in https://github.com/agno-agi/agno/pull/11247
- fix: clarify accepted Company Task execution by @ashpreetbedi in https://github.com/agno-agi/agno/pull/11261
- fix: reject knowledge uploads without a content source by @ashpreetbedi in https://github.com/agno-agi/agno/pull/11259
- fix: clarify readable Company sources for agents by @ashpreetbedi in https://github.com/agno-agi/agno/pull/11256
- fix: reject unsupported knowledge URL input types by @ashpreetbedi in https://github.com/agno-agi/agno/pull/11260
- fix: use LLM-appropriate tracing attribute limits by @ashpreetbedi in https://github.com/agno-agi/agno/pull/11255
- fix: keep Company Task projection off the queue's critical path by @ysolanky in https://github.com/agno-agi/agno/pull/11188
- fix: allow authorized members to trigger Company routines by @ashpreetbedi in https://github.com/agno-agi/agno/pull/11254
- feat: govern Company writes by scope instead of ownership by @SamJupe in https://github.com/agno-agi/agno/pull/11270
- chore: Release v3.1.10 by @harshsinha03 in https://github.com/agno-agi/agno/pull/11265
Full Changelog: https://github.com/agno-agi/agno/compare/v3.1.9...v3.1.10
- CodexAgent: Now signs in automatically with
- v3.1.92026-10-22 · 2026-10-22 16:50 UTC
查看更新说明
Changelog
New Features:
- MCP Tool Runner:
POST /mcp/server/tools/{tool_name}/runruns any tool listed on the AgentOS Server Card over HTTP and returns its result, so a tool can be tested without an MCP client. Turn it off withMCPConfig(tool_run_endpoint=False). See cookbook.
Bug Fixes:
- AgentOS MCP Server:
/mcpand/mcp/server-cardnow accept browser requests from origins the AgentOS CORS policy allows, soos.agno.comcan reach the MCP server of a local AgentOS./infonow reports the configured MCP path instead of always/mcp. - Postgres Metrics: Metrics refresh on a migrated database no longer loads the legacy
sessions.runscolumn into memory. - Function Workflows: A function passed as a workflow's
stepsnow runs once when its body raises aTypeError, and sync functions and generators now work witharun(). - AgenticChunking: Chunking no longer hangs when the model returns a zero or negative breakpoint, and
max_chunk_sizemust be greater than0. - BaiduSearchTools: Chinese titles and abstracts are returned as readable text instead of
\uXXXXescapes. - Human-in-the-Loop User Input: A
requires_user_inputtool with a parameter typedint | Noneor anotherX | Ytype now pauses cleanly, and the paused run is saved and resumes withcontinue_run(run_id=...). - Mistral: The
timeout,endpointandsafe_modeparameters onMistralChat, andendpointonMistralEmbedder, now work instead of raising aTypeError.safe_modeis deprecated in favor ofsafe_prompt.
What's Changed
- [fix] Keep Chinese text readable in BaiduSearchTools output by @RaycarlLei in https://github.com/agno-agi/agno/pull/11229
- fix: handle non-positive breakpoints and validate max_chunk_size in AgenticChunking by @Fazlul105 in https://github.com/agno-agi/agno/pull/11231
- fix: run custom workflow steps function once when its body raises TypeError by @kausmeows in https://github.com/agno-agi/agno/pull/11235
- fix: stop Postgres metrics refresh from loading the legacy runs column into memory by @sannya-singal in https://github.com/agno-agi/agno/pull/11190
- feat: run Company automation hourly instead of every minute by @ysolanky in https://github.com/agno-agi/agno/pull/11221
- fix: admit CORS-allowed browser origins on the MCP surface by @ysolanky in https://github.com/agno-agi/agno/pull/11246
- feat: run a published MCP tool over HTTP by @sannya-singal in https://github.com/agno-agi/agno/pull/10666
- fix: serialize PEP 604 tool parameter types in UserInputField.to_dict by @ShaoLOWu in https://github.com/agno-agi/agno/pull/11177
- refactor: rename Product-scoped Company tools by @ashpreetbedi in https://github.com/agno-agi/agno/pull/11242
- fix: map Mistral client params onto the mistralai SDK and alias safe_mode to safe_prompt by @ysolanky in https://github.com/agno-agi/agno/pull/11222
- chore: Release v3.1.9 by @harshsinha03 in https://github.com/agno-agi/agno/pull/11248
New Contributors
- @Fazlul105 made their first contribution in https://github.com/agno-agi/agno/pull/11231
- @ShaoLOWu made their first contribution in https://github.com/agno-agi/agno/pull/11177
Full Changelog: https://github.com/agno-agi/agno/compare/v3.1.8...v3.1.9
- MCP Tool Runner:
- v3.1.82026-10-21 · 2026-10-21 12:15 UTC
查看更新说明
Changelog
New Features
- Postgres Sandbox Checkpoint Store: Added
PostgresCheckpointStorefor storing sandbox checkpoints directly in PostgreSQL, allowing multi-replica deployments to restore sessions without S3 or shared filesystems. Checkpoints are chunked, written transactionally, deduplicated by SHA-256 and verified on read. It is opt-in; existing checkpoint defaults are unchanged. (#11186) - Framework Managers as Routine Executors: Company Routines can now use the internal Product Manager or OS Manager as executors through declarations, the Routine API and human-chat configuration. Reserved manager IDs resolve only from the owning AgentOS and cannot be replaced by saved or user-defined components. Includes an optional weekly Product Manager review. (#11193)
- Sandbox Checkpoint Retention: Sandboxes now retain the three newest checkpoints per session by default. Configure
retain_checkpoints=Noneto preserve every checkpoint. Unpublished or superseded checkpoints are retired and deleted after the run outcome is safely stored. (#11187)
Improvements
- Sandbox Session Cleanup: Deleting a sandbox-backed session now removes its warm computer and associated checkpoint objects after the database transaction commits. Single, bulk and user-scoped session deletion are supported without affecting sessions the caller does not own. (#11187)
- OS Manager Specialist Visibility: Platform Builder and Platform Manager now appear as members of OS Manager in
/teamsand/teams/os-manager-internal. They remain excluded from the reusable application registry, top-level agent discovery and standalone agent routes. (#11198) - Claude Defaults to Sonnet 5.5:
Claude()now defaults toclaude-sonnet-5-5, replacing the deprecatedclaude-sonnet-4-5-20250929before its retirement. Non-defaulttemperature,top_pandtop_kvalues are dropped with a warning for newer Claude models that reject those sampling parameters. This behavior applies across Anthropic, Bedrock, Foundry and Vertex providers. (#11212)
Behavior Changes
- Checkpoint Retention: Only the three newest sandbox checkpoints are retained by default. Opening a checkpoint for an older run can now raise
CheckpointObjectNotFound. Setretain_checkpoints=Noneto restore the previous unlimited-retention behavior. (#11187) - Durable Sandbox Startup Validation: AgentOS now fails at startup when a durable-queue sandbox uses the host-local default checkpoint store. Configure a checkpoint store shared by every replica, such as
PostgresCheckpointStoreorS3CheckpointStore. Previously this invalid configuration failed only on the first submission. (#11187)
Bug Fixes
- Missing Sandbox Checkpoints: A committed checkpoint missing from storage now ends the turn with a clear, non-retryable error, retires the newly created computer and releases the session. Previously the run remained
RUNNING, exhausted queue retries and blocked later turns on the session. (#11187) - Company Routine Execution: Denied status writes and failed Studio runner delegation now correctly fail the Routine. Stale archived catalog entries no longer collide with owned reserved managers. (#11193)
What's Changed
- fix: sandbox checkpoint recovery, retention and session-delete cleanup by @ysolanky in https://github.com/agno-agi/agno/pull/11187
- fix: show platform specialists under OS Manager by @ashpreetbedi in https://github.com/agno-agi/agno/pull/11198
- feat: add PostgresCheckpointStore for sandbox checkpoints in Postgres by @ysolanky in https://github.com/agno-agi/agno/pull/11186
- feat: support framework managers as Company Routine executors by @ashpreetbedi in https://github.com/agno-agi/agno/pull/11193
- fix: default Claude to sonnet-5-5 before sonnet-4-5 retires by @kausmeows in https://github.com/agno-agi/agno/pull/11212
- fix: default OpenAITools image generation to gpt-image-2 by @23821 in https://github.com/agno-agi/agno/pull/10824
- chore: split Com
- Postgres Sandbox Checkpoint Store: Added
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
Introduction
Agno is a self-managing agent platform. Build agents for your company, product, or customers. Run them as durable services on AgentOS. Put them to work automating company operations.
- Build agents with the Agno, Claude Agent, or Codex SDKs. Combine agents into teams and workflows.
- Run agents as durable services with built-in API and MCP. AgentOS handles authentication, role-based access, resume/replay, human approvals, scheduling, and durable execution.
- Automate company operations with Company OS. Give agents responsibilities, organize work into projects and tasks, and configure recurring routines. People set direction and review results; agents own and execute.
Agno provides the orchestration and service layer around your agents, making them available in:
- Your product: using the REST API.
- Claude and ChatGPT: using the MCP server.
- Chat apps like Slack: using Agno Interfaces.
Run your platform in your own cloud and keep your data in your control. Review conversations, inspect traces, manage knowledge, and track your agent activity using the AgentOS UI.
Get started
Agno is built for coding agents. Start with a pre-built template and give this prompt to your coding agent:
Help me set up my agent platform and build my first agent.
Clone https://github.com/agno-agi/agentos-railway into a folder called agent-platform, cd into it, and follow .agents/skills/setup-platform/SKILL.md.
The setup skill runs your platform locally and helps you build your first agent. You get:
- An API server and MCP server.
- PostgreSQL storage for conversations, memory, and platform activity.
- OS Manager to help build and manage your platform.
- Claude and Codex engineers to work on your code.
- Skills for building, evaluating, and improving agents.
- A Company workspace for organizing ongoing work, with a daily maintenance routine that reviews your codebase and Agno releases and proposes platform improvements.
Connect your platform to os.agno.com to start using it. Build agents with code, use the no-code UI, or chat with the OS Manager.
Start improving your agents and platform with the /improve skill. Keep useful changes and regression tests so each round builds on the last. When you're ready, configure scheduled improvement runs in a sandbox that return pull requests for review.
Templates for every cloud
Choose a template for your cloud: Docker · Railway · AWS · GCP · Azure · Fly.io · Render · Modal · Helm
What's included
| Capability | What you can do |
|---|---|
| Agents and teams | Build agents that use tools, delegate work, and collaborate. |
| Workflows | Control execution with routing, conditions, loops, and parallel steps. |
| Memory and knowledge | Remember users across sessions and retrieve answers from your data. |
| Tools and integrations | Connect agents to APIs, databases, and MCP servers. |
| Durable execution | Persist background jobs and track their status across restarts. |
| Human approval | Review sensitive actions before they run, then approve and continue. |
| Observability | Trace runs, inspect tool calls, and diagnose failures. |
| Scheduling | Run agents, teams, and workflows on recurring schedules. |
| Security | Control access with authentication, roles, and per-user data isolation. |
| Coding agents | Run Claude and Codex in sandboxes to implement and test changes. |
| Company OS | Organize work into products, projects, tasks, and recurring routines. |
Tutorials
First, add Agno to your coding agent so it can read the tutorials as you build. Then, learn how to:
- Build your agent platform
- Serve agents as an API
- Serve agents over MCP
- Run Claude and Codex as services
- Read the documentation
Community
Follow Agno on X for releases and demos, or subscribe to The Agno Loop.
See the contributing guide to contribute.
License
Agno is distributed under the Apache 2.0 license.
Telemetry
Agno sends a telemetry event per agent so we know which model providers to prioritize. Prompts, messages, and outputs are never sent. Disable by setting AGNO_TELEMETRY=false.