You tell Claude what you want an AI agent to do, and Anthropic runs it, hosts it and keeps it going on its own servers. Here’s what that means and how to use it.
On April 8, 2026, Anthropic launched Claude Managed Agents in public beta on the Claude Platform, its developer platform (announcement). It’s still in beta today, and it’s on by default for every API account.
Before this, building an agent that works on its own meant building everything around the model yourself. The loop that keeps it working, running its tools, handling errors, the servers. Anthropic says that used to take months.
Now Anthropic handles that part. You define the agent and give it a task. It runs in a secure cloud workspace, and if a task takes hours, it keeps going. Notion, Asana, Rakuten and Sentry were among the first companies building on it.
Think of it this way
Before, you had to build the car, the road and the gas station. Now you just say where you want to go.
Once these click, everything else does too.
01
Agent
The blueprint. The model, its instructions, its tools, any MCP servers and skills. Create it once and reuse it.
02
Environment
The workspace. A secure cloud sandbox where it runs code, reads files and reaches the internet, with you controlling which sites it can reach. Companies can also run it on their own servers.
03
Session
One running job. Give the agent a task and a session starts. It keeps going until the work is done, even if that takes hours.
04
Events
The back-and-forth. You send messages, it streams back results and status updates. You can steer it or interrupt it mid-task.
Why the design matters
The session is a saved log of everything that happened, kept separate from the agent and its workspace. If the agent crashes, a new one reads the log and picks up where it left off. Anthropic calls this decoupling the brain from the hands. (Anthropic Engineering)
Every agent gets 8 built-in tools, all on by default. You can switch any of them off.
On top of that you can add custom tools (the agent asks your code to do something specific) and MCP servers (connections to outside apps, databases and internal tools).
In practice
One agent can research a topic online, run a Python script on a spreadsheet, pull data from your company’s API and write the report, all in one session, on its own. It does the work instead of answering questions about it.
You need a Claude API account. Go to the Claude Console, sign up, add a payment method and create an API key. Then pick a path.
01
Let Claude Code do it
The easiest path. In Claude Code, run the command below and it walks you through setup with Anthropic’s built-in Claude API skill.
/claude-api managed-agents-onboard
02
Use the ant CLI
On a Mac, install it with brew install anthropics/tap/ant. You describe the agent in a short markdown file and the workspace in a YAML file, then run ant apply on both.
03
Call the API
For full control, use /v1/agents, /v1/environments and /v1/sessions, then send events and stream the results back. SDKs exist for Python, TypeScript, Java, Go, C#, Ruby and PHP, and they add the required beta header (managed-agents-2026-04-01) for you. (Quickstart)
Not sure what your agent should look like? This prompt designs it with you and writes the files.
Models
It works with every current Claude model, including Opus 5.5, Sonnet 5.5, Haiku 5.5 and Fable 5.1. Start with the cheapest one that does the job. (Docs)
Some pieces, like agent teams and self-grading, started out as research previews. Here’s what Dreaming, Multiagent and Outcomes do.
You pay for two things: tokens at normal API rates, and $0.08 per session-hour while the agent is actively running. Time it spends idle, waiting for you, doesn’t count. Web searches inside a session cost $10 per 1,000. (Pricing)
Sonnet 5.5 costs $2 per million input tokens and $10 per million output. Opus 5.5 is $4 in and $20 out.
Real example
Anthropic’s own example: a 1-hour Opus 5.5 session with 50,000 input tokens and 15,000 output tokens costs about $0.58. That’s an hour of the agent working on its own for under a dollar.
01
Managed Agents
Anthropic runs the loop and the workspace. Best for long-running jobs and when you don’t want to manage servers. Sessions save their own history.
02
The regular Claude API
You build the loop yourself. Best when you want control over every single step.
03
The Claude Agent SDK
A ready-made agent loop you run on your own machine or servers. Great for local automation and CI/CD.
At first only engineers could build agents. Then technical founders. Now Anthropic handles the hardest parts, and the bar keeps dropping every month.
You don’t need to understand containers to get ahead here. You need to know what’s possible and how to think about automation. That skill transfers to every tool that comes next.
The big picture
The gap between "person who uses AI" and "person who has AI working for them" is closing fast. Managed Agents closed it a little more.