Claude Managed Agents Explained: What They Are, How to Start, and What They Cost
Claude Managed Agents is Anthropic's hosted agent harness for long-running, asynchronous work: define an agent, start a stateful session, and let Claude use tools while Anthropic runs the infrastructure. Claude Managed Agents is in beta (header managed-agents-2026-04-01) and enabled by default for API accounts. Pricing is standard token rates plus $0.08 per session-hour of active runtime.
View 5 referencesAllow the functional cookie to save your likes. Privacy details
What Are Claude Managed Agents?
Claude Managed Agents is a hosted service in the Claude Platform that runs long-horizon AI agents on your behalf. Instead of building your own agent loop, tool execution layer, and runtime, you define a task and Claude Managed Agents provides the harness, sandboxes, credential handling, and persistent session history needed to get an agent into production. Anthropic describes Claude Managed Agents as "a pre-built, configurable agent harness that runs in managed infrastructure," best for long-running tasks and asynchronous work.
The service is built for work that lasts minutes or hours rather than a single reply: fixing broken builds, testing releases, triaging alerts, reviewing hundreds of documents, or working through a bug backlog. Because Claude Managed Agents keeps conversation history, sandbox state, and outputs on the server, sessions resume cleanly after pauses and can be steered or interrupted while they run.
Is "Claude Managed Agents" the Official Name?
Yes. The search term matches Anthropic's official name exactly, so there is no naming mismatch to correct. The company uses both "Claude Managed Agents" and the shorter "Managed Agents," detailed the design in an engineering post titled "Scaling Managed Agents: Decoupling the brain from the hands" published April 8, 2026, and documents the product in the Claude Managed Agents overview.
The clarification that matters is scope. Claude Managed Agents is not a feature inside Claude Code, and it is not the Claude Agent SDK. Claude Code is a finished coding application for people; the Agent SDK is a library you run on your own machines; Claude Managed Agents is a hosted API service where Anthropic runs the agent infrastructure, or you do in the self-hosted beta. If you searched for Claude Managed Agents expecting a consumer chat app, you will not find one. This is a developer product.
Why Claude Managed Agents Are Getting Attention
Long-running agents need infrastructure that a single stateless API call does not provide. Claude Managed Agents removes the need to build sandboxes, crash recovery, and session storage yourself, which is why the product draws attention from teams moving from demos to production. Anthropic reports that decoupling the brain from the hands in Claude Managed Agents cut p50 time-to-first-token by roughly 60% and p95 by over 90%.
Interest jumped again on November 12, 2026, when Anthropic opened self-hosted Claude Managed Agents in private beta, letting organizations run the entire service inside their own cloud or on-premise environment. That matters for regulated industries where credentials, code, and session history cannot sit on someone else's servers.
How Claude Managed Agents Work
At the core of Claude Managed Agents is a deliberate split between the "brain" and the "hands." The brain is the harness, the loop that calls Claude and routes tool calls. The hands are the sandboxes and tools that perform actions. The session is an append-only event log that records everything that happened, and it lives outside both.
Because that event log sits outside the harness, a crash does not lose work. A fresh harness can call wake(sessionId), read the log with getSession(id), and resume from the last event. A failed sandbox is treated as a tool-call error, and Claude can simply retry in a newly provisioned one. Anthropic calls this treating containers as cattle rather than pets.
Claude Managed Agents gives the agent built-in tools: bash commands, file read/write/edit/glob/grep, web search and fetch (restrictable with domain allowlists or blocklists), and connections to MCP servers. Context is stored durably in the session rather than forced into Claude's context window, and the harness can slice and transform events before passing them to the model.
Core Concepts in Claude Managed Agents
Claude Managed Agents is built on four concepts:
| Concept | What it is |
|---|---|
| Agent | A reusable definition: model, system prompt, tools, MCP servers, and skills. Create once, reference by ID across sessions. |
| Environment | Where a session runs: an Anthropic-managed cloud sandbox or a self-hosted sandbox on your own infrastructure. |
| Session | A running agent instance bound to an agent and environment; stateful, long-running, and resumable after pauses. |
| Events | Messages between your app and the agent: user turns, tool results, and status updates, streamed over SSE and stored as event history. |
How to Get Started with Claude Managed Agents
Getting access to Claude Managed Agents is straightforward:
- Get a Claude API key from the Claude Console.
- Send the
managed-agents-2026-04-01beta header with every request. The official SDKs add it automatically. - Confirm access. Claude Managed Agents is enabled by default for all API accounts.
Every model is still in beta. The basic workflow is: create an agent, create an environment, start a session, send events and stream responses over server-sent events, then steer or interrupt the agent while it works.
Claude Managed Agents is offered in beta on the Claude API, Claude Platform on AWS, and Anthropic-managed Claude Models on Google Cloud. A few extras are gated: MCP tunnels and "dreaming," where an agent tidies its own memory between sessions, are research previews you must request access to. Dynamic workflows, which let an agent write a multi-step program that runs many sub-agents and merges their results, are beta and configured through the agent's multiagent field.
What Do Claude Managed Agents Cost?
Claude Managed Agents bills on two dimensions: standard Claude API token rates for model inference, plus a session-runtime fee of $0.08 per session-hour. Runtime is measured to the millisecond and accrues only while the session's status is running; time spent idle, such as waiting for your next message or a tool confirmation, rescheduling, or terminated, does not count. Session runtime replaces the separate code-execution container-hour charge.
Two Messages API modifiers do not apply to Claude Managed Agents: the Batch API discount, because sessions are stateful and interactive with no batch mode, and partner cloud-platform pricing. If an agent's model.inference_geo is pinned to "us," tokens are billed at 1.1x the standard rates. Web search, if enabled, is billed separately at $10 per 1,000 searches.
Anthropic's worked example: a one-hour coding session on Claude Opus 5.5 using 50,000 input and 15,000 output tokens costs $0.20 in input plus $0.30 in output plus $0.08 runtime, or $0.58 total. For most tasks active runtime is 10 to 30 minutes, so the platform fee is a small share of the total. No public price has been announced for the self-hosted full-service beta.
Hosted vs. Self-Hosted Claude Managed Agents
There are three deployment levels for Claude Managed Agents:
| Level | What Anthropic runs | What you run |
|---|---|---|
| Hosted Claude Managed Agents | Harness, sandboxes, credentials, session history | Nothing; just call the API |
| Self-hosted sandboxes (public beta) | Agent loop, orchestration, context, error recovery | Tool execution, on your infra or via Cloudflare, Daytona, Modal, or Vercel |
| Self-hosted Claude Managed Agents (private beta) | Nothing inside your perimeter | Server, PostgreSQL database, workers, credentials, session history |
Self-hosted sandboxes were announced May 26, 2026 at Code w/ Claude London: tool execution moves to an environment you configure while the agent loop stays on Anthropic's infrastructure. The full self-hosted service, in private beta since November 12, 2026, runs every part in your cloud or on-premise. You operate the server, its PostgreSQL 16 or newer database, and the workers that run shell and file tools. Model requests still leave your network, routed to Anthropic directly, Amazon Bedrock, Google's Agent Platform, Microsoft Foundry, or your own gateway. Access requires contacting your Anthropic account team; no public pricing or general-availability date has been published, and there is no migration path for existing hosted data.
Security and Permissions in Claude Managed Agents
Claude Managed Agents is designed around four security principles:
- Brain and hands are split. The harness calls Claude; the sandbox runs the agent's code. The agent loop, session history, and vault secrets stay outside the sandbox, which starts only when a tool needs it.
- Credentials stay out of the sandbox. For MCP tools and supported API calls, a proxy outside the sandbox injects the credential into the request. With self-hosted Claude Managed Agents you can also keep credentials in your own secrets manager.
- Network access can be limited. Each environment can be restricted to an allowlist of hosts, and requests to any other host are blocked.
- Every session leaves a full record. Each tool call and its result are logged and exported over OpenTelemetry into monitoring tools you already use.
One caveat worth stating plainly: hosted Claude Managed Agents is not eligible for Zero Data Retention (ZDR) or HIPAA. ZDR applies to self-hosted Managed Agents requests in the same way as other Messages API calls. Transcripts persist until you delete the session, though you can delete sessions and uploaded files at any time through the API.
Claude Managed Agents vs. Messages API, Agent SDK, and Claude Code
| Product | Who runs the agent loop | Best for |
|---|---|---|
| Messages API | You write it yourself | Custom loops and fine control |
| Claude Agent SDK | A ready-made loop on your own machines | Teams wanting the harness as a library |
| Claude Managed Agents | Anthropic runs it, or you do in the self-hosted beta | Long-running, asynchronous work with little setup |
| Claude Code | A finished application for people | A developer coding with Claude directly |
If you need full control over the loop, use the Messages API. If you want a harness as code on your own infrastructure, use the Agent SDK. If you want long-running agents in production without building the platform, choose Claude Managed Agents.
Limitations to Know About Claude Managed Agents
- Claude Managed Agents remains in beta on all models, and Anthropic may refine behavior between releases.
- The hosted service is not eligible for ZDR or HIPAA.
- The full self-hosted service is private beta, with no published price or GA date, and currently lacks scheduled deployments, "dreaming," and webhooks.
- Web search and fetch are off by default in the self-hosted server and must be enabled manually.
- Self-hosted Claude Managed Agents does not migrate existing hosted agents, skills, vaults, or session history; they must be rebuilt.
- Some features, including MCP tunnels and dreaming, require a separate research-preview request.
FAQ: Claude Managed Agents
Is Claude Managed Agents the same as Claude Code? No. Claude Code is an interactive coding app; Claude Managed Agents is a hosted API for running autonomous agents in the background.
Do I need a separate signup for Claude Managed Agents? No. Access is enabled by default for API accounts; you just need a Claude API key and the beta header.
Can I run Claude Managed Agents on my own servers? Yes. Self-hosted sandboxes are public beta, and the full self-hosted Claude Managed Agents service is private beta via your Anthropic account team.
Is Claude Managed Agents open source? Anthropic does not describe it as open source. It is a paid Claude Platform service, with a self-hosted version available to approved organizations.
Sources
- Anthropic Engineering, "Scaling Managed Agents: Decoupling the brain from the hands" — https://www.anthropic.com/engineering/managed-agents
- Claude Platform Docs, "Claude Managed Agents overview" — https://platform.claude.com/docs/en/managed-agents/overview
- Claude Platform Docs, "Pricing" — https://platform.claude.com/docs/en/about-claude/pricing
- Claude Blog, "Code w/ Claude London 2026: Rethinking how we build" — https://claude.com/blog/code-w-claude-london-2026-rethinking-how-we-build
- Claude, "Operate Claude Managed Agents inside your security perimeter" — https://claude.com/resources/articles/self-hosted-claude-managed-agents