# Self-Hosted Claude Managed Agents: What Stays In-House

November 2026 • 12 min read

Self-hosted Claude Managed Agents is a private beta, [announced by Anthropic on 12 November 2026](https://claude.com/resources/articles/self-hosted-claude-managed-agents), in which the customer runs the whole Managed Agents service in its own cloud account or data center. The server, a PostgreSQL 16+ database, and the sandbox workers sit inside the perimeter; model calls and connections you allow, such as to MCP and Git hosts, are what leave it. This article is for CTOs and security and compliance leads at banks, insurers, healthcare and public-sector organisations in Germany, Austria and Switzerland. Silk Data has no beta access, so the text is based on Anthropic's documentation as of 17.11.2026, not on hands-on use.

## What self-hosted Claude Managed Agents is and what it is not

Claude Managed Agents is Anthropic's suite of composable APIs for building and deploying autonomous agents, with the agent harness, sandboxes, credential handling, and session history included ([announcement](https://claude.com/resources/articles/self-hosted-claude-managed-agents)).

| Variant | Sandboxes | Service and session history | Model |
|---|---|---|---|
| Cloud sandboxes (default) | Anthropic | Anthropic | Anthropic |
| [Self-hosted sandboxes](https://platform.claude.com/docs/en/managed-agents/self-hosted-sandboxes) | Customer | Anthropic | Anthropic |
| Self-hosted Managed Agents | Customer | Customer | Anthropic or a chosen provider |

Source: [Anthropic docs](https://platform.claude.com/docs/en/managed-agents/self-hosted), checked 17.11.2026.

![Who hosts sandboxes, service and model in three Claude Managed Agents variants](https://silkdata.tech/assets/images/blog_n/self-hosted-claude-managed-agents/managed-agents-variants-1.png)

The middle column decides. Searches for Claude self-hosted options often blur the last two rows: self-hosted sandboxes move only tool execution, while session history with every prompt stays with Anthropic.

The server has the same API as the hosted Anthropic Managed Agents service, so the SDK and `ant` CLI work unchanged. Nothing migrates, session history included: agents, skills, vault credentials, and memory stores are created again ([differences](https://platform.claude.com/docs/en/managed-agents/self-hosted/differences)). Keep the hosted organisation until its records are no longer needed, or the audit trail breaks. Background on agent design is in our [AI agents](https://silkdata.tech/blog/article/ai-agents) guide.

> "Plan the switch as a new rollout, not a migration. Agents, skills and credentials are rebuilt by hand, and both organisations run live for two to four weeks, long enough to cover one full business cycle. After that, the hosted one stays only as an archive for as long as your retention policy requires."
>
> Vadim Bykau, DevOps Tech Lead, Silk Data

## What runs where: server, PostgreSQL and workers

One deployment is one or more servers (`cma-server`), their PostgreSQL 16+ database and your sandboxes ([what runs where](https://platform.claude.com/docs/en/managed-agents/self-hosted#what-runs-where)). The server runs the API, the agent loop and a console, and stores agents, sessions and history. Workers run shell and file tools in the AI agent sandbox. Workers call the server, never the other way round.

Apart from model calls, the server connects only to destinations you configure, such as allowlisted MCP and Git hosts ([full list](https://platform.claude.com/docs/en/managed-agents/self-hosted-data-and-access#every-connection-that-the-server-makes)). Access to this AI agent infrastructure rests on three credentials.

| Credential | Held by | Authenticates |
|---|---|---|
| Server API key | Apps, \`ant\` CLI, admin CLI | Requests to your server |
| Inference credential | Server | Model calls to your provider |
| Environment key | Workers | One environment's queue and sessions |

![Self-hosted Claude Managed Agents components inside the customer perimeter](https://silkdata.tech/assets/images/blog_n/self-hosted-claude-managed-agents/perimeter-architecture-1.png)

For enterprise AI agents, the environment key row matters most: it can read events and post tool results in every session of its environment ([roles](https://platform.claude.com/docs/en/managed-agents/self-hosted-data-and-access#what-roles-dont-limit)). The typical error is mounting it into the sandbox, which lets agent code act on other sessions.

**Failure mode.** Symptom: a session stops at its first tool call, with no error. Cause: no worker polls that environment, so the model turns and the tool call waits ([differences](https://platform.claude.com/docs/en/managed-agents/self-hosted/differences#features-that-behave-differently)). Prevention: alert on open sessions without a polling worker.

## What leaves your network?

Anthropic has no remote access to the server or its log and issues none of the credentials it accepts ([data and access](https://platform.claude.com/docs/en/managed-agents/self-hosted-data-and-access)). To audit traffic, compare your egress proxy or firewall log with Anthropic's list of every connection the server makes.

Every model call carries the whole conversation so far, including inputs and tool results, so a security review should start with that content.

The Claude API route adds three items. Session, agent and environment ID headers hold no content but encode creation time and cannot be switched off. A `User-Agent` header and the `cma-server` label in `metadata.user_id` name the software. A credential check runs every 60 seconds, without inference. Bedrock and Google Cloud get neither headers nor labels; Foundry gets the label.

Long context affects sizing. Each call resends the session to models with up to 1M tokens of context, so payloads grow every turn. Bedrock caps a request at 20 MB ([Bedrock](https://platform.claude.com/docs/en/build-with-claude/claude-on-amazon-bedrock-legacy)), and the server cuts MCP results above 100 KiB by default (`mcp.max_result_bytes`). A custom tool result too large for the context window still gets a `200`, then the session ends with a `session.error` ([differences](https://platform.claude.com/docs/en/managed-agents/self-hosted/differences#features-that-behave-differently)).

Zero data retention follows your contract with whoever serves the model. Claude zero data retention, if your organisation has it with Anthropic, covers these calls like any Messages API call ([ZDR scope](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#zero-data-retention-zdr-scope)). Hosted Managed Agents is not ZDR-eligible because Anthropic stores the transcripts; here you do.

For data residency and a Claude GDPR (DSGVO) review, note one gap. Deleting a session does not reach backups, exported traces, or memory stores, the server keeps the session's ID, and on Kubernetes the session's `/workspace` volume stays in place ([data kept](https://platform.claude.com/docs/en/managed-agents/self-hosted-data-and-access#how-long-data-is-kept)). Erasure requests need a procedure for those copies. Our [AI compliance](https://silkdata.tech/blog/article/ai-compliance-and-data-privacy-a-guide-for-business-leaders) guide covers the wider picture.

**Failure mode.** Symptom: Every model call fails behind a new proxy. Cause: the proxy rejects `metadata.user_id` in the request body ([data and access](https://platform.claude.com/docs/en/managed-agents/self-hosted-data-and-access#fields-that-name-the-server-software)). Prevention: allow the field and run one test turn through the proxy before go-live; if turns still fail on the fallback field, set `inference.model_fallback: false`.

## Which model route keeps inference in the EU?

The route is one server setting, `inference.provider`, and agents keep their Claude API model IDs ([inference provider](https://platform.claude.com/docs/en/managed-agents/self-hosted/inference-provider)).

| Route | Inference for an EU customer | What to watch | Checked |
|---|---|---|---|
| Claude API (default) | At Anthropic; \`inference\_geo\` offers only \`us\` or \`global\` ([data residency](https://platform.claude.com/docs/en/manage-claude/data-residency)) | Fallback is on: a declined request may go to a less capable model with no event, visible only in the session's model ID. Set \`inference.model\_fallback: false\` | 17.11.2026 |
| Amazon Bedrock | \`eu.anthropic.\*\` profile; Opus 5.5 spreads across Frankfurt, Stockholm, Paris, Milan, Spain and Ireland (Silk Data's AWS account) | Regional profiles cost 10% more ([Bedrock](https://platform.claude.com/docs/en/build-with-claude/claude-on-amazon-bedrock-legacy#global-vs-regional-endpoints)); no EU profile for Fable 5.x | 17.11.2026 |
| Claude Models on Google Cloud (Google managed), on Gemini Enterprise Agent Platform, formerly the Claude Vertex AI route | \`eu\` multi-region, EU member states only, without UK and Switzerland ([Google](https://docs.cloud.google.com/gemini-enterprise-agent-platform/resources/data-residency)) | Multi-region costs 10% more than global; regional endpoints serve only Sonnet 4.6 and earlier ([Anthropic](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/google-managed#global-multi-region-and-regional-endpoints)) | 17.11.2026 |
| Microsoft Foundry | Global Standard or US Data Zone only ([Foundry](https://platform.claude.com/docs/en/build-with-claude/claude-in-microsoft-foundry)) | Hosted on Azure: prompts, completions and retained content stay on Azure; classifier scores, IDs and usage data go to Anthropic | 17.11.2026 |
| Own LLM gateway | Where the gateway routes | Claude API, Bedrock or Google \`rawPredict\` format; the server refuses a model missing from \`model\_map\`; if deployments share the gateway, give each its own header such as \`x-tenant-id\` | 17.11.2026 |

![Which model routes keep Claude inference in the EU](https://silkdata.tech/assets/images/blog_n/self-hosted-claude-managed-agents/eu-model-routes-1.png)

The second column decides; check the legal boundary first, then models on the route, then cost. Two errors recur: reading a Swedish region in Claude Microsoft Foundry as EU processing and choosing Google's `eu` multi-region for a Swiss entity. For AI data residency with a Swiss entity, AWS lists Zurich among the regions that can call the Bedrock EU profile; where requests are processed is set by the profile's destination regions, so check them in your own account.

On the Claude Bedrock route, one default needs changing: the sample server config uses us-east-1 and the us.anthropic. profile prefix. For an EU deployment, set an EU region and model\_id\_prefix: eu.anthropic.

**Failure mode.** Symptom: CloudTrail shows calls on a `us.anthropic.` profile. Cause: the sample config went live unchanged. Prevention: Check the profile ID on the pilot's first day.

## Who needs it, and who doesn't?

Anthropic recommends the full option for two needs: storing agents, sessions and history yourself, or choosing the model provider ([when to choose](https://platform.claude.com/docs/en/managed-agents/self-hosted#when-to-choose-self-hosted-managed-agents)). Silk Data sees three groups.

- **It fits** teams whose session history and credentials cannot leave the perimeter. In DACH, these are typically banks, insurers, healthcare providers, and public administrations: a bank running private AI agents on customer files, or an insurer whose agents work through claims. This grouping is Silk Data's assessment, not Anthropic's.
- **Self-hosted sandboxes are enough** when only code and tools must run inside the network.
- **It is not needed** where the cloud service already satisfies the requirements.

> "Before asking for access, count the people, not the servers. Someone has to own upgrades, the database and night-time incidents, which in practice means at least two engineers on a rota. A team that can't staff that is better served by self-hosted sandboxes."
>
> Vadim Bykau, DevOps Tech Lead, Silk Data

## What does implementation look like?

Silk Data recommends a pilot on Docker Compose, then production on Kubernetes with the Helm charts for the server and cma-sandboxes; this path is Silk Data's recommendation, not Anthropic's. Both stacks start each session's worker in its own container or pod ([security](https://platform.claude.com/docs/en/managed-agents/self-hosted#your-security-responsibilities)).

1. **Pilot on Docker Compose** with Docker Engine 28.3.3 or later. Under some older releases, machines on the host's LAN can reach the loopback API port ([listeners](https://platform.claude.com/docs/en/managed-agents/self-hosted-data-and-access#where-the-server-listens)).
2. **Production on Kubernetes.** PostgreSQL stays outside both charts, so plan a managed or self-run database ([Kubernetes](https://platform.claude.com/docs/en/managed-agents/self-hosted/kubernetes)). The server chart passes no cloud variables, so provider credentials come through workload identity ([credentials](https://platform.claude.com/docs/en/managed-agents/self-hosted/inference-provider#give-the-server-a-cloud-credential)). Our [DevOps services](https://silkdata.tech/devops) team sets up this wiring on client clusters.
3. **Sign-in through your OIDC provider**, with groups mapped to `admin`, `developer` or `user`. For Microsoft Entra ID, set `subject_claim: oid` and emit only app-assigned groups or app roles ([Entra ID](https://platform.claude.com/docs/en/managed-agents/self-hosted/configure#microsoft-entra-id)). Otherwise people in many groups get a `403` "token holds no role". Map `admin` only to exact, trusted groups: an administrator can start a session with any user's vault ([roles](https://platform.claude.com/docs/en/managed-agents/self-hosted/configure)).
4. **Secrets in your secret manager.** New vault credentials go there; older ones stay in the database.
5. **Monitoring.** The log goes to stderr; traces and metrics stay off until OpenTelemetry variables enable them.
6. **Egress.** MCP and Git allowlists match hosts exactly, without wildcards. Agents push only to listed branches, but force pushes are not refused ([Git](https://platform.claude.com/docs/en/managed-agents/self-hosted/differences#git-repositories-need-an-allowlist-entry)). Web tools are off by default; once on, Bedrock offers neither `web_search` nor `web_fetch` and Google Cloud only `web_search`, with no error ([provider differences](https://platform.claude.com/docs/en/managed-agents/self-hosted/differences#differences-that-depend-on-your-inference-provider)). The sandbox allowlist is your firewall.

Steps 5 and 6 carry most of the agentic AI security work, and network policy is the main AI agent security control for workers.

## Limitations to know before you ask for access

The agent's bash tool is a real shell with the worker's permissions and network access, and the only isolation is the container or VM it runs in.

| Limitation | What the documentation says (17.11.2026) |
|---|---|
| Access | Private beta, through the Anthropic account team |
| Price | Not published; Claude Managed Agents pricing for self-hosting comes from the account team |
| Licence | Separate [Software License Agreement](https://www.anthropic.com/legal/self-hosted-managed-agents-license) |
| Tenancy | One tenant at one trust level per deployment ([multitenancy](https://platform.claude.com/docs/en/managed-agents/self-hosted-data-and-access#multitenancy)) |
| Operations | No database is the default; then data lives in memory and a restart erases it |
| Missing features | Cloud environments, Files API, webhooks, scheduled deployments, dreams, prebuilt docx/pdf/pptx/xlsx skills, \`mcp\_oauth\`, and the rest of the Claude API such as Messages and Models ([differences](https://platform.claude.com/docs/en/managed-agents/self-hosted/differences#features-that-arent-available)) |
| Open endpoints | The console page loads for anyone who reaches it and can be turned off; the optional Prometheus endpoint has no auth; the optional egress gateway listener uses plain HTTP and returns stored credentials, so outside the Compose and Helm stacks you must restrict it yourself ([listeners](https://platform.claude.com/docs/en/managed-agents/self-hosted-data-and-access#where-the-server-listens)) |

Tenancy decides the cost: three business units at three trust levels mean three deployments, databases and upgrade cycles. Check it first, then missing features against your workflows. The common mistake is reading "one tenant" as "one customer" and mixing trusted and untrusted code.

## How Silk Data builds agentic pipelines

Silk Data runs its own model gateway and a fleet of development agents, and builds agentic pipelines for DACH clients through its [AI development](https://silkdata.tech/artificial-intelligence-development) practice. The company has 10+ years of experience, 65+ full-time engineers, 200+ successful projects and 32+ long-term projects followed from the start ([About Silk Data](https://silkdata.tech/about)).

Silk Data has no beta access and has not deployed this product. Silk Data tested the Bedrock route in its own AWS account and checked the Google Cloud and Foundry routes against their documentation; the self-hosted server itself was not tested.

## FAQ

### Is self-hosted Claude Managed Agents an on-premise LLM?

No. The service and its data stay with you, but Claude runs at Anthropic or a cloud provider. If the model itself must sit inside the perimeter, you need a self-hosted LLM with open weights, as in Silk Data's [local LLM](https://silkdata.tech/case-studies/local-llm) on-premise LLM case.

### How much does self-hosted Managed Agents cost?

Anthropic publishes no price for the server; ask your account team. Model calls are billed by your provider, and both EU routes cost 10% more than global endpoints: Bedrock's regional profiles ([Bedrock](https://platform.claude.com/docs/en/build-with-claude/claude-on-amazon-bedrock-legacy#global-vs-regional-endpoints)) and Google's `eu` multi-region ([Google Cloud](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/google-managed#global-multi-region-and-regional-endpoints)).

### Does zero data retention apply to self-hosted Managed Agents?

Only if your organisation already has ZDR with Anthropic; then it covers model calls on the Claude API route. On other routes, your agreement with that provider sets retention. Session transcripts sit in your own PostgreSQL database ([data and access](https://platform.claude.com/docs/en/managed-agents/self-hosted-data-and-access#how-long-data-is-kept)).

### Can inference stay inside the EU?

Yes, through Bedrock EU inference profiles or the `eu` multi-region of Claude Models on Google Cloud (Google managed). Microsoft Foundry and the Claude API offer no EU option as of 17.11.2026.

### How do I get access to the private beta?

Contact your Anthropic account team; the download is not public during the private beta ([overview](https://platform.claude.com/docs/en/managed-agents/self-hosted#where-to-start)).

### Can one deployment serve several business units?

Only units at the same trust level. Each tenant or trust level needs its own deployment, database, server API key and workers ([multitenancy](https://platform.claude.com/docs/en/managed-agents/self-hosted-data-and-access#multitenancy)).

## Next step: review your perimeter

A one-hour call is enough to map which systems an agent would touch, where session history must live and which model route fits your EU requirements. Book it through Silk Data's [AI consulting](https://silkdata.tech/ai-consulting) page. While the product is in private beta, Silk Data does not promise a deployment date.

**Discuss your needs with our specialists!**

Contact us
