Managed Agents
Claude Managed Agents is Anthropic's hosted agent service: you define an agent once, and Anthropic runs its loop, tools and sandbox for each session, billing normal token prices plus $0.08 per session-hour of running time. It has been in beta on the Claude API since Apr 8, 2026.
Claude Managed Agents is a hosted harness for running Claude as an autonomous agent: Anthropic runs the agent loop, executes the tools and provides a fresh Linux sandbox for every session, so you write no loop or tool runner of your own. It costs normal model token prices plus $0.08 per session-hour, counted only while a session is actually running (as of Nov 6, 2026). It launched in beta on Apr 8, 2026 and is still beta, with the managed-agents-2026-04-01 header on every call (the SDKs set it).
Anthropic presents it as one of two ways to build on the Claude API: the Messages API for direct model access and your own loop, and Managed Agents for long-running, asynchronous work on Anthropic's infrastructure (Intro to Claude).
Quick facts
| Status | Beta, on by default for every API account (as of Nov 6, 2026) |
| Price | Tokens at model rates plus $0.08 per session-hour of running time, metered to the millisecond |
| Built-in tools | agent_toolset_20260401: bash, read, write, edit, glob, grep, web fetch and web search (Features overview) |
| Where | Claude API, Claude Platform on AWS, Claude Models on Google Cloud (Anthropic managed); not Bedrock, Google managed or Foundry |
| Rate limits | 300 create and 1,200 read requests a minute per organization |
| Zero data retention | Not eligible: sessions are stored server-side |
Agents, environments, sessions and events
Managed Agents has four core ideas (Quickstart):
- Agent: a reusable, versioned configuration (model, system prompt, tools, MCP servers, skills), created once and referenced by ID. A session uses its latest version unless you pin one.
- Environment: the sandbox template. Each session gets its own isolated Linux container;
packagespreinstalls software with apt, cargo, gem, go, npm or pip, and networking islimited(only listed hosts) orunrestricted(Environments). An API request that leaves outnetworkinggetsunrestricted, while the Console form starts at Limited. - Session: one run of an agent in an environment.
- Events: what flows between your app and the session, such as
user.messagein, andagent.message,agent.tool_useandsession.status_idlestreamed back over server-sent events.
The quickstart's Python, trimmed to its four calls:
from anthropic import Anthropic
client = Anthropic()
agent = client.beta.agents.create(
name="Coding Assistant",
model="claude-opus-5-5",
system="You are a helpful coding assistant.",
tools=[{"type": "agent_toolset_20260401"}],
)
environment = client.beta.environments.create(
name="quickstart-env",
config={"type": "cloud", "networking": {"type": "limited", "allow_package_managers": True}},
)
session = client.beta.sessions.create(agent=agent.id, environment_id=environment.id)
with client.beta.sessions.events.stream(session.id) as stream:
client.beta.sessions.events.send(session.id, events=[{
"type": "user.message",
"content": [{"type": "text", "text": "Write fibonacci.py and run it"}],
}])
for event in stream:
if event.type == "session.status_idle":
break
Agents can also be defined as files and created with the ant CLI's ant apply, which records IDs in claude-lock.json, and ant beta:sessions connect attaches a terminal to a live session (Release notes). The Console has a visual agent builder that shows the equivalent API request and an inline test runner (Build in Console); see Claude Console.
Vaults, outcomes, schedules and more
- Vaults hold each end user's credentials (MCP OAuth tokens, bearer tokens, environment variables kept as placeholders in the sandbox), registered once and referenced by ID when a session starts (Vaults).
- Outcomes describe what the finished work should look like. A separate "grader" with its own context checks the result against your Markdown rubric, and the agent keeps going until it passes or hits its iteration limit (Define outcomes).
- Scheduled deployments start sessions on a cron expression in a time zone, at most once a minute (Scheduled deployments).
- Multiagent orchestration lets an agent hand work to subagents, each in its own thread, or to dynamic workflows (beta since Oct 9, 2026) that run many agents in the background (Multiagent orchestration).
- Session budgets (since Aug 7, 2026) set a hard ceiling in US cents:
"125"means $1.25, and the session pauses withbudget_reachedwhen it gets there (Session budgets). - Memory stores (beta) keep text documents across sessions, mounted as a directory in the sandbox; dreams, a research preview, tidy a memory store using past transcripts (Memory).
- Self-hosted sandboxes (since May 19, 2026) run the tool calls on your own machines while Claude itself runs at Anthropic.
- Permission policies decide whether each tool call runs at once, waits for approval, or (since Sep 10, 2026) is judged by the server with
auto.
How much does it cost?
You pay the model's normal token prices, with prompt caching always on, plus the runtime charge. Anthropic's own worked example: a one-hour Claude Opus 5.5 session with 50,000 input and 15,000 output tokens costs $0.20 + $0.30 + $0.08 = $0.58, or $0.428 when 40,000 of the input tokens are cache reads. Idle, rescheduling and terminated time is free; web search inside a session costs the usual $10 per 1,000 searches; there is no batch discount. The runtime fee replaces the container-hour billing of the Code Execution Tool. Max, Ultra and Team subscribers' monthly API credits cover Managed Agents. See Claude API Pricing.
When to use Managed Agents, and when not
Anthropic positions it for tasks that run minutes or hours, need a sandbox, keep state across a session, or run on a schedule (Overview). The other options:
| You want | Use |
|---|---|
| Anthropic to host the loop, sandbox and session state | Managed Agents |
| A ready agent loop that runs in a process you operate | Claude Agent SDK (SDKs, CLI, and libraries) |
| Full control, short requests, your own loop | Messages API with Tool Use |
| Zero data retention, Bedrock, Google managed or Foundry | Not Managed Agents: it is unavailable there |
Its limits are real: everything is beta, sessions are not covered by zero data retention because history, sandbox state and outputs are stored at Anthropic, and the agent only runs on the three Anthropic-operated platforms listed above. Teams already committed to a cloud provider's agent service, or needing data to stay in their own systems, may prefer the Agent SDK on their own infrastructure, or self-hosted sandboxes for the tools.
Frequently asked questions
How much does Claude Managed Agents cost? Claude Managed Agents costs the model's token prices plus $0.08 per session-hour while the session is running, metered to the millisecond; idle time is not charged (as of Nov 6, 2026).
Is Claude Managed Agents the same as the Claude Agent SDK? No. The Claude Agent SDK runs the agent loop in your own process and on your own machines, while Claude Managed Agents runs the loop, tools and sandbox on Anthropic's infrastructure.
Is Claude Managed Agents available on Amazon Bedrock? No. As of Nov 6, 2026, Claude Managed Agents runs only on the Claude API, Claude Platform on AWS and Claude Models on Google Cloud (Anthropic managed).
Can a Claude managed agent run on a schedule? Yes. Scheduled deployments start a Claude Managed Agents session on a cron expression, with each run beginning from a user message or a defined outcome.
Does Claude Managed Agents support MCP servers? Yes. A Claude managed agent can list remote MCP servers in its definition, with per-user credentials kept in vaults; see Model Context Protocol.
Sources
- What is Claude Managed Agents?, Claude, Apr 9, 2026 (video)
- Ship your first Managed Agent, Claude, May 26, 2026 (video)
- Claude Managed Agents overview, Anthropic docs, read Nov 6, 2026
- Get started with Claude Managed Agents, Anthropic docs, read Nov 6, 2026
- Build in Console, Anthropic docs, read Nov 6, 2026
- Environments, Anthropic docs, read Nov 6, 2026
- Vaults, Anthropic docs, read Nov 6, 2026
- Define outcomes, Anthropic docs, read Nov 6, 2026
- Scheduled deployments, Anthropic docs, read Nov 6, 2026
- Multiagent orchestration, Anthropic docs, read Nov 6, 2026
- Session budgets, Anthropic docs, read Nov 6, 2026
- Memory, Anthropic docs, read Nov 6, 2026
- Pricing, Anthropic docs, read Nov 6, 2026
- Rate limits, Anthropic docs, read Nov 6, 2026
- Features overview, Anthropic docs, read Nov 6, 2026
- Intro to Claude, Anthropic docs, read Nov 6, 2026
- API credits for Max, Ultra, and Team plans, Anthropic docs, read Nov 6, 2026
- Release notes, Anthropic docs, read Nov 6, 2026
Moments
What is Claude Managed Agents?
Claude
Ship your first Managed Agent
Claude
Photos
See also
-
Claude APIThe Claude API is Anthropic's REST API at api.anthropic.com for building with Claude models: create an API key in the Claude Console at platform.claude.com, then send requests to the Messages API, paying per token.
-
Messages APIThe Messages API is the Claude API's main endpoint, POST /v1/messages: you send a model, max_tokens and a list of user and assistant messages, and Claude returns a message with content blocks, a stop_reason and token usage, whole or streamed.
-
Claude ConsoleThe Claude Console at platform.claude.com is Anthropic's web dashboard for the Claude API, where developers create API keys, test prompts in the playground, organize workspaces, watch usage and rate limits, and buy credits. It was called the Anthropic Console until Sep 2025, and its Workbench became the playground in Aug 2026.
-
Claude Opus 5.5Claude Opus 5.5 is Anthropic's recommended starting model, released on Sep 22, 2026 at $4 input and $20 output per million tokens on the Claude API, with a 1M-token context window. It is on every paid Claude plan and is the default model in Claude Code. -
Code Execution ToolThe Claude API's code execution tool runs Bash commands and Python in a sandboxed Linux container at Anthropic, with 5 GiB of memory and no internet access. Each organization gets 1,550 free container hours a month, then $0.05 per hour, and it is free when used with the newer web search or web fetch tools.
- Claude API PricingClaude API prices are per million tokens, from $0.10 input and $0.50 output on Claude Haiku 5.5 to $10 and $50 on Claude Fable 5.1, with Opus 5.5 at $4 and $20 and Sonnet 5.5 at $2 and $10, as of Nov 6, 2026. Prompt caching and the 50% Batch discount lower that.