Agent
The model, system prompt, tools, MCP servers, and skills. Define it once, then reference it across sessions.
THE BLUEPRINTA pre-built, configurable environment for running Claude as an autonomous agent—so your team can focus on the task, not the loop around it.
Both give you Claude. One gives you the pieces to build the agent loop. The other brings a managed harness with it.
The model, system prompt, tools, MCP servers, and skills. Define it once, then reference it across sessions.
THE BLUEPRINTWhere sessions run: an Anthropic-managed cloud sandbox or a self-hosted sandbox on your infrastructure.
THE RUNTIMEA running agent instance inside an environment, working on a specific task and producing outputs.
THE WORKSPACEThe messages exchanged: user turns, tool results, and status updates. History can be fetched in full.
THE ACTIVITYCreate the reusable pieces, start a session, then let events carry the work forward. Claude streams updates as it goes.
Choose the model, system prompt, tools, MCP servers, and skills.
Select a managed cloud sandbox or a self-hosted sandbox.
Launch an agent instance for the task inside your chosen environment.
Send user messages; receive tool results and status updates over server-sent events (SSE).
Guide a running agent with more user events—or interrupt it to change direction.
Use the built-in harness when you need more than a single model call—and less custom infrastructure to operate.
Work that may take minutes or hours and involve multiple tool calls.
Choose a managed or self-hosted sandbox—or self-host the full Managed Agents service.
Skip building your own agent loop, sandbox, and tool-execution layer.
Keep session state across interactions, or use recurring scheduled deployments.
Run commands in the sandbox.
Read, write, edit, find, and search files.
Find and retrieve content; optionally restrict domains with allowlists or blocklists.
Connect to external tool providers.
Managed Agents is in beta. To get started, use a Claude API key and include the beta header on every request.
managed-agents-2026-04-01Get a Claude API key.
Send managed-agents-2026-04-01 as the beta header on all requests.
Managed Agents access is enabled by default for API accounts.
Managed Agents are in beta on every model.
The documentation also names these supported models:
A session keeps its history and sandbox state so it can resume cleanly. That continuity comes with clear data-handling boundaries.
Session history, sandbox state, and outputs are stored server-side. Transcripts persist until the session is deleted.
Session deletion guidanceDeleting a session and deleting a file are separate actions. Uploaded files can be deleted through the Files API.
File deletion guidanceSelf-hosted Managed Agents is the stated ZDR exception when you store the data yourself.
Self-hosted data detailsMCP tunnels and dreaming are separate, more limited research previews; access can be requested through the research preview form.