Self-Hosted Claude Managed Agents Enters Private Beta for Enterprise Security
Anthropic launched a self-hosted version of Claude Managed Agents in private beta on November 12, 2026, allowing organizations to run the agent harness, sandboxes, credentials, and session logs inside their own cloud or on-premise infrastructure. Previously, teams could only host the execution sandbox while Anthropic controlled credential injection and session storage.
By moving the control plane inside corporate firewalls, security teams gain direct oversight over unattended AI workers that triage alerts, patch builds, and modify repositories. Enterprise customers can request beta access directly through their Anthropic account teams.
What changed with the November 12 release
Until November 12, 2026, running autonomous Claude workflows meant splitting infrastructure between your environment and Anthropic's cloud. You could deploy the isolated code-execution sandbox locally, yet Anthropic still hosted the orchestration loop, stored the audit trail of agent actions, and managed credential injection.
For regulated industries or teams running autonomous agents with write access to production repositories, sending API keys and execution logs outside the perimeter was a non-starter. Organizations facing strict data residency rules had to build custom agent harnesses from scratch rather than using Anthropic's managed runtime.
With the self-hosted deployment option, you operate the complete agent stack inside your virtual private cloud (VPC) or on-premise data center. Developers continue building against the identical core APIs used in the cloud-hosted version, avoiding vendor lock-in or code rewrites if teams migrate between hosted and self-managed environments.
Architecture breakdown: what runs inside your perimeter
Deploying self-hosted Claude Managed Agents requires standing up and maintaining three core infrastructure components inside your network:
The Managed Agents server: Runs the orchestration loop, processes tool calls, and coordinates communication between your infrastructure and the language model.
PostgreSQL database: Stores full session histories, state checkpoints, and execution records locally so audit trails never leave your storage buckets.
Execution workers: Ephemeral compute nodes where agents execute shell commands, edit files, and run test suites inside isolated sandboxes.
While the orchestration layer, state database, and secrets stay inside your network, Claude itself does not run locally. Model inference requests still travel outbound to your chosen endpoint—whether that is Anthropic's API directly, Amazon Bedrock, Google's Agent Platform, Microsoft Foundry, or an internal LLM gateway.
Prompts leave your perimeter and completions return over encrypted channels. If your organization operates under a Zero Data Retention (ZDR) agreement with Anthropic, outbound inference calls receive the exact same ZDR protections as standard Messages API traffic.
How credential isolation works in practice
Anthropic designed Managed Agents around four foundational security controls that apply across fully hosted, hybrid, and self-hosted setups. Because unattended agents run multi-step loops without human approval at every turn, safety boundaries must sit in the infrastructure layer rather than relying on prompt instructions.
The primary control separates the orchestration harness from the code-execution sandbox. Your vault secrets, session database, and agent loop live outside the sandbox container. When an agent runs untrusted code or inspects a third-party repository, the sandbox spins up on demand with zero raw credentials mounted inside its environment variables or filesystem.
When an agent invokes a Model Context Protocol (MCP) tool or a supported API call, an external proxy intercepts the outbound request and injects the required token from your own secrets manager. Even if malicious code inside the sandbox compromises the worker container, it cannot read your GitHub tokens, cloud keys, or database passwords from memory.
One critical caveat: Anthropic explicitly scopes automatic proxy credential injection to MCP tools and supported API calls. If your developers wire up custom scripts or legacy internal endpoints that bypass the MCP proxy, credentials might still pass through worker memory unless your engineers enforce custom network boundaries.
Network allowlists, OpenTelemetry, and operational trade-offs
Every self-hosted environment supports strict egress filtering via host allowlists. If you deploy an agent solely to diagnose and fix broken CI/CD pipelines, you can lock its network policy to your Git provider and internal package registry. Any attempt by the agent-or prompt-injected code-to reach external IP addresses gets dropped at the firewall.
For visibility, Managed Agents streams step-by-step telemetry over OpenTelemetry (OTel). Every tool invocation, file read, shell command, and response payload exports directly into your existing SIEM or observability stack, letting security analysts correlate agent behavior alongside standard microservice logs.
Choosing self-hosted deployment shifts significant operational responsibility onto your platform engineering team. You own PostgreSQL backups, worker autoscaling, firewall rule maintenance, and runtime patching.
Choosing between hosted, hybrid, and self-hosted deployments
Selecting the right deployment topology depends on your compliance posture, engineering headcount, and the blast radius of your agents' permissions.
| Deployment Model | Who Runs the Harness & DB | Where Credentials Live | Best Fit Scenario |
|---|---|---|---|
| Fully Hosted | Anthropic | Anthropic Vault | Prototyping, read-only research agents, small teams without dedicated DevOps |
| Hybrid (Self-Hosted Sandbox) | Anthropic (Control Plane) / Customer (Sandbox) | Anthropic Vault (Injected via proxy) | Teams needing local compute access without maintaining control plane databases |
| Fully Self-Hosted | Customer (VPC or On-Prem) | Customer Secrets Manager | Regulated enterprises, production write-access agents, strict data residency |
If your agents only read documentation and draft pull requests in staging repositories, the fully hosted tier eliminates infrastructure overhead. Once you grant autonomous agents write access to production infrastructure, internal databases, or customer records, self-hosting becomes the safer baseline.
Frequently asked questions
Does self-hosted Claude Managed Agents run the Claude model locally?
No. While the agent harness, PostgreSQL database, execution sandboxes, and secrets stay inside your network, model weights still run externally. Prompts travel outbound to Anthropic's API, Amazon Bedrock, Google's Agent Platform, Microsoft Foundry, or your internal model gateway.
How can companies join the self-hosted private beta?
The self-hosted deployment option entered private beta on November 12, 2026. Enterprise customers can request onboarding access by contacting their assigned Anthropic account team directly.
What databases are supported for session history in self-hosted mode?
Self-hosted Claude Managed Agents requires a customer-managed PostgreSQL database to persist session histories, agent state, and execution checkpoints within your own environment.
Are outbound model requests covered by Zero Data Retention agreements?
Yes. If your organization holds an active Zero Data Retention (ZDR) agreement with Anthropic, inference requests sent from your self-hosted Managed Agents server receive the same ZDR coverage as standard Messages API calls.
How does Anthropic prevent agents from leaking API keys inside the sandbox?
Anthropic isolates the agent harness and secrets manager outside the execution sandbox. When an agent calls an MCP tool or supported API, an external proxy attaches the credential to the outbound request so raw tokens never enter the sandbox container.
Can security teams monitor self-hosted agent actions in real time?
Yes. Managed Agents exports granular logs of every tool call and return value using OpenTelemetry, allowing security teams to route agent activity directly into existing monitoring and SIEM platforms.
Do developers need to rewrite existing agents to switch to self-hosted?
No. The self-hosted server exposes the exact same core APIs as Anthropic's cloud-hosted service, letting teams migrate agent definitions without rewriting application logic.
Who is responsible for firewall rules and security patches in self-hosted mode?
Your internal engineering and security teams bear full responsibility for configuring host allowlists, maintaining firewall rules, scaling worker nodes, and applying software patches to the Managed Agents server and PostgreSQL database.



No comments yet — be the first to share your thoughts!