Claude Managed Agents, minus Anthropic
Self-hosted Claude Managed Agents moves the agent loop and session history onto your servers; Anthropic's own docs list the missing features, the usage headers that cannot be turned off, and six ways it fails silently.
On November 12, Anthropic's API release notes added one paragraph that changes who can hold an agent's memory. The entry announces self-hosted Claude Managed Agents: "You run the whole Managed Agents service, not only self-hosted sandboxes, on your own infrastructure, and you store agents, sessions, and session history there." Access is not self-serve. The same entry ends: "To request access, contact your Anthropic account team."
The documentation behind that paragraph is long, and its most useful pages are the ones that say what the self-hosted server does not do.
What moves, and what stays
Managed Agents has two hostable parts, per the overview: the sandboxes where tools run, and "The service: The API, the agent loop, and the storage for agents, sessions, and session history." Self-hosted sandboxes already existed. The new option moves the second part too. The model itself still runs elsewhere, at Anthropic or at "a provider that you choose."
The pieces are a server binary (cma-server), workers that poll it, and a database, which must be "PostgreSQL 16 or later." The default is not durable: "Without a database, the server keeps its data in memory, and a restart erases it."
The inference.provider setting takes five values:
inference:
provider: anthropic # default: the Claude API
# bedrock Amazon Bedrock
# vertex Claude Models on Google Cloud (Google managed)
# foundry Microsoft Foundry
# gateway a model gateway that you run
Agent definitions keep Claude API model IDs, and "The server translates the ID, so an agent definition works unchanged under any provider that serves that model."
What still reaches Anthropic
The data-and-access page says it "answers the questions of a security review," and it is direct: "Anthropic has no remote access to the server or its log." The server "connects to Anthropic only when the Claude API is its inference provider."
When it does, each model call carries three headers holding the session, agent and environment IDs, so that "Anthropic can attribute usage to a session, an agent, or an environment." The page adds: "No setting turns them off." The server also checks its credential against the Claude API at startup "and then every 60 seconds."
There is a second marker. Calls to the Claude API, to Microsoft Foundry and to Claude-format gateways carry the label cma-server as metadata.user_id, which lets Anthropic count usage "even if a proxy removed the User-Agent header." A gateway that rejects the field breaks everything: "If it rejects the field, every model call fails." The license backs this with a contract term. Section 5.9 says the licensee "will not remove, block, alter, or falsify Usage Signals."
The retention consequence is the real argument for the product. Hosted Managed Agents sits outside zero data retention because Anthropic stores the transcripts. Self-hosted, "You store them yourself," and a ZDR arrangement covers the model calls "in the same way as other Messages API calls." That does not make every model eligible: the November 9 release note for Claude Fable 5.2 and Mythos 5.2 says "They aren't available under zero data retention unless expressly authorized by Anthropic."
What does not come with you
"Nothing is copied from the hosted service, session history included," the differences page says. Beyond migration, a list of hosted features has no self-hosted equivalent:
- Cloud environments. Only
self_hostedexists, and a request for a cloud one "returns a400error." - The rest of the Claude API. Calls to
/v1/messagesand/v1/models"return a404error." - The Files API,
mcp_oauthvault credentials (the server "has no OAuth flow to refresh a token"), and the prebuiltdocx,pdf,pptxandxlsxskills. - Webhooks, scheduled deployments and dreams. For the last: "Dreams have no replacement."
Web search and web fetch are off until a server setting turns them on, and then depend on the provider. web_search works under anthropic, vertex and foundry; web_fetch works under anthropic and foundry only. Under bedrock, the model is offered neither.
The failures that return no error
The page's own warning is the part an operator should print: "Some of these cases return no error." Collected from its tables:
- An image or document sent by URL is accepted, "but the model never sees it, and there is no error."
- With no worker polling, model turns still run, and the first tool call "waits, with no error, until a worker runs it."
- Under a provider without web tools, "Agents still save and run, and still list the tool, but the model can’t call it."
- An oversized custom tool result gets a
200, "and the session then ends with asession.error." - For Git pushes, "The server’s log says
okeven for a push that your host refused." - Under the default provider, a safety classifier can hand a request to "another Claude model, possibly a less capable one," and "no event reports the change." The setting
inference.model_fallback: falsedisables that.
Each deployment serves one tenant at one trust level.
Anthropic, Data and access in self-hosted Claude Managed Agents
One deployment, one trust level
That sentence sets the operating cost. Environments inside a deployment are not a security boundary: "The server API key reaches every environment." Separating tenants, or trusted from untrusted code, means separate deployments, each with its own database, key and workers. The agent's bash tool is "a real shell with the worker process’s permissions and network access," and "The worker doesn’t isolate that shell."
The license is royalty-free, covers binary code only, and lets either side end it "for convenience upon 90 days’ written notice." What a team gets is custody of its transcripts and a choice of inference provider. What it takes on is a server to secure, releases to install by hand, and a list of quiet failure modes that the hosted service does not have.
Primary sources: Claude API release notes, Self-hosted Claude Managed Agents, Differences from the hosted service, Data and access, Inference provider, Software License Agreement: Claude Managed Agents Server, read 2026-11-16.