Agno v3.1.4 发布沙箱化 Harness Agent 与多沙箱支持
原标题:v3.1.4
AI 摘要
Agno 发布 v3.1.4,为 ClaudeAgent 和 CodexAgent 引入沙箱化 Harness Agent,支持在隔离的每会话容器中运行整个 harness 进程,并通过 Postgres 租约行和检查点实现会话状态持久化与恢复。新增 DockerSandbox 和 Amazon Bedrock AgentCore Sandbox 两种沙箱提供方,支持热沙箱回合(默认保留 300 秒)以及通过 AgentOS 提交、恢复和取消沙箱 agent 运行。该版本强化了隔离、状态验证和跨副本协调能力。
正文节选
# Changelog ## New Features: - **Sandboxed Harness Agents**: `ClaudeAgent` and `CodexAgent` take a `sandbox=` parameter and run the whole harness process inside an isolated, per-session computer instead of on the host, with session state that survives losing the container, the host or the replica that ran the last turn. No new classes to hold: `ClaudeAgent(id="coder", db=PostgresDb(...), sandbox=DockerSandbox("agno-sandbox:local", network="isolated"))` is the whole setup, and the agent bui