Anthropic 发布了 Claude Managed Agents 的自托管版本。企业可以在自己的云端或本地部署代理框架、沙箱、凭据以及会话历史记录。该选项于 11 月 12 日作为私有测试版开放,客户需通过其 Anthropic 账户团队申请访问权限。
这一变化对于已经在企业内部系统中无人值守运行的代理至关重要,它们可以修复构建失败、测试版本、分类警报并处理积压的缺陷。在此之前,客户只能自行托管沙箱。沙箱是代理代码运行的隔离环境。Anthropic 负责运行其他所有内容,包括凭据处理和记录每个代理所做的事情。希望将全部服务保留在企业边界内的团队必须自行构建平台。
客户现在运行什么
在自托管设置中,客户操作三样东西:Managed Agents 服务器、其 PostgreSQL 数据库以及代理运行 shell 和文件工具的 Worker。会话历史记录存储在该数据库中。开发人员使用与托管服务相同的核心 API 来构建代理。
模型请求被发送到客户指定的任何位置:直接发送给 Anthropic、Amazon Bedrock、Google 的 Agent Platform 或 Microsoft Foundry,或者发送给客户的网关。Claude 本身仍在客户网络之外运行,因此提示词发出并返回补全结果。一些组织与 Anthropic 签订了零数据保留(ZDR)协议。对于他们来说,这些请求与其他任何 Messages API(Anthropic 用于模型请求的标准接口)调用一样受到覆盖。
凭据去向何处
Anthropic 围绕四个安全原则构建了 Managed Agents。无论 Anthropic 托管所有内容、客户仅托管沙箱,还是客户托管全部内容,这些原则均适用。该公司的理由是,团队不能指望有人检查无人值守代理的每一步,因此“限制必须内置于系统本身”。
第一个原则将调用 Claude 的框架与代理代码运行的沙箱分离开来。代理循环、会话历史记录和保险库密钥位于沙箱之外,只有当需要工具时才会启动沙箱。凭据也保持在沙箱之外。对于 MCP 工具和受支持的 API 调用,沙箱外的代理会将凭据附加到请求中。自托管客户可以将这些凭据保存在自己的密钥管理器中。Anthropic 将这种保护限制为 MCP 工具和“受支持的 API 调用”,因此代理上线前值得检查其访问的任何其他服务。
白名单和日志
每个环境都可以锁定到一个允许的主机列表,对任何其他主机的请求都将被阻止。对于修复构建失败的代理,Anthropic 建议该列表可能仅包含 git 主机和包注册表。托管沙箱的客户在其防火墙中强制执行这些限制,这使得白名单成为他们需要正确配置的部分。
Managed Agents 还记录代理采取的每一步:它调用的每个工具以及返回的结果。日志通过 OpenTelemetry 导出,因此安全团队可以将其导入他们已运行的监控工具,并在查看其他所有监控内容的同时检查代理活动。
服务器、数据库和防火墙规则现在由客户运行,保持它们打补丁并正确设置也是客户的职责。
下载:AI 采用的 IT 和安全领域指南
Anthropic has released a self-hosted version of Claude Managed Agents. Companies can run the agent harness, sandboxes, credentials, and session history in their cloud or on-premise. The option opened as a private beta on November 12, and customers request access through their Anthropic account team.
The change matters for agents that already work unattended inside corporate systems, fixing broken builds, testing releases, triaging alerts, and working through bug backlogs. Until now, customers could host the sandbox themselves. That is the isolated environment where an agent’s code runs. Anthropic ran everything else, including the credential handling and the record of what each agent did. Teams that wanted the whole service inside their perimeter had to build the platform themselves.
What the customer runs now
In the self-hosted setup, the customer operates three things: the Managed Agents server, its PostgreSQL database, and the workers where agents run their shell and file tools. Session history lives in that database. Developers build agents with the same core APIs as the hosted service.
Model requests go wherever the customer points them: to Anthropic directly, to Amazon Bedrock, Google’s Agent Platform or Microsoft Foundry, or to the customer’s gateway. Claude itself still runs outside the customer’s network, so prompts go out and completions come back. Some organizations have a zero data retention (ZDR) agreement with Anthropic. For them, these requests are covered the same way as any other call to the Messages API, Anthropic’s standard interface for model requests.
Where the credentials go
Anthropic built Managed Agents around four security principles. They apply whether Anthropic hosts everything, the customer hosts only the sandbox, or the customer hosts all of it. The company’s reasoning is that a team can’t count on a person checking each step of an unattended agent, so “the limits have to be built into the system itself.”
The first principle separates the harness, which calls Claude, from the sandbox, where the agent’s code runs. The agent loop, session history, and vault secrets sit outside the sandbox, and a sandbox starts only when a tool needs one. Credentials stay out of the sandbox too. For MCP tools and supported API calls, a proxy outside the sandbox attaches the credential to the request. Self-hosted customers can keep those credentials in their own secrets manager. Anthropic limits that protection to MCP tools and “supported API calls,” so any other service an agent reaches is worth checking before the agent goes live.
Allowlists and logs
Each environment can be locked to a list of allowed hosts, and requests to any other host are blocked. For an agent that fixes broken builds, Anthropic suggests the list might be just the git host and the package registry. Customers who host the sandbox enforce those limits in their firewall, which makes the allowlist their configuration to get right.
Managed Agents also keeps a log of every step an agent takes: each tool call it made and what it got back. The log exports over OpenTelemetry, so security teams can pipe it into the monitoring tools they already run and look at agent activity next to everything else they watch.
The server, the database, and the firewall rules are now the customer’s to run, and so is the job of keeping them patched and set up correctly.
Download: The IT and security field guide to AI adoption
首次收录 · 2026-11-13 · 7.76 分