Hey, it's Cindy ๐ฑ You commented AGENT, so here is the real version. Claude Managed Agents is genuinely one of the most interesting things Anthropic has shipped this year.
btw the waitlist for AI System Club is now open! If you're keen on using AI to automate your content, video editing, job search, business or build AI agents, feel free to sign up (only if you want to hehe). Ps. the waitlist gets first dibs:)
๐ก Read this before anything else. Managed Agents is a developer platform product, accessed with an API key through the Claude Console, the ant CLI, or an SDK. It is not a builder inside the claude.ai app, there is no documented visual editor, and it is in beta: every request needs the managed-agents-2026-04-01 beta header (Anthropic docs). If a video told you that you can describe an agent in plain English and have it built with no code, that is not what the documentation describes.
what it is
The actual definition
Anthropic frames it as a choice between two ways of building. The Messages API is "direct model prompting access", best for "custom agent loops and fine-grained control". Managed Agents is a "pre-built, configurable agent harness that runs in managed infrastructure", best for "long-running tasks and asynchronous work" (overview).
In plain English: normally, if you want Claude to work on something for an hour, you have to build the loop yourself, plus a safe place to run commands, plus the plumbing that feeds results back in. Managed Agents hands you that harness pre-built. The interesting part is not that it writes code for you. It is that the babysitting layer is someone else's problem now.
๐ง Agent The reusable configuration: the model, the system prompt, the tools, any MCP servers, and any skills. You create it once and reference it by ID forever after.
๐ฆ Environment Where sessions run. Either an Anthropic-managed cloud sandbox, or a self-hosted sandbox on your own infrastructure if you have data-residency requirements.
โถ๏ธ Session One running instance of your agent doing one task. Sessions are stateful: the filesystem and the conversation persist, and they resume cleanly after a pause.
๐ก Events The messages flowing both ways: your user turns, the agent's replies, tool calls, status updates. You stream them, and you can steer or interrupt mid-run.
the truth check
What the internet says versus what the docs say
I went through the popular claims one at a time against Anthropic's own documentation, because this is the kind of feature that gets described enthusiastically and inaccurately. Here is where each one lands.
โ "It replaces entire engineering teams" Nothing in the docs or the launch post makes a headcount claim. It removes the harness you would otherwise write, which is a real saving and a much smaller one than that.
โ "It sets up your database and backend" The sandbox has SQLite ready to use, and client tools for Postgres and Redis. The docs state plainly that "Database servers (such as PostgreSQL and Redis) are not running in the sandbox by default" (sandbox reference). Nothing gets deployed for you.
โ "No code needed" Every documented path is cURL, the ant CLI, or an SDK in Python, TypeScript, Go, Java, Ruby, PHP or C#. Agents are configuration objects you create through the API.
โ "It tracks your competitors' ads" There is no such feature or template. You could build something like it yourself on top of the web search and web fetch tools, and web search bills at $10 per 1,000 searches.
โ ๏ธ "Connect your inbox and calendar" Partly true. Agents can connect to MCP servers, which is a genuine and powerful integration route. Gmail, Calendar and Slack are not named as click-to-connect integrations in the docs: this is developer wiring.
โ "It handles the infrastructure" True, and this is the actual story. Sandbox, tool execution, prompt caching, compaction, persistence and streaming all come pre-built, which is genuinely the part most people get wrong when they roll their own.
what you get
What the sandbox actually provisions
Every session runs in an isolated Linux container. This is the concrete list, straight from the cloud sandbox reference, so you know exactly what the agent can reach for without installing anything.
๐ฅ๏ธ The machine: Ubuntu 22.04 LTS, x86_64, up to 8 GB memory and up to 10 GB disk.
๐ฉโ๐ป Languages ready to go: Python 3.12+, Node.js 20+, Go 1.22+, Rust 1.77+, Java 21+, Ruby 3.3+, PHP 8.3+, and C/C++ with GCC 13+, each with its usual package manager.
๐๏ธ Data: SQLite fully available locally, plus psql and redis-cli clients for connecting out to databases you already run.
๐ง Utilities: git, curl, wget, jq, ripgrep, tree, htop, tmux, make and cmake, the standard text-processing tools, and Docker with limited availability.
๐ Network: environments created through the API default to unrestricted networking, so the agent can reach the internet unless you narrow it deliberately.
The built-in toolset gives the agent bash, file reading and writing, editing, glob and grep, plus web search and web fetch. You can also attach up to twenty MCP servers with credentials held in vaults rather than pasted into a prompt (tools, MCP connector).
the money part
What it actually costs
This is the number nobody quotes, and it is the friendliest surprise in the whole feature. Billing has two dimensions: the tokens the session uses at normal model rates, and the time the session spends actually running.
โฑ๏ธ Session runtime: $0.08 per session-hour, measured to the millisecond, and it accrues only while the session status is running. Time spent idle waiting for your next message does not count.
๐ค Tokens at standard model rates. Prompt caching multipliers apply the same way they do everywhere else, which matters a lot on long sessions.
๐ Web search inside a session: $10 per 1,000 searches, on top of tokens. Web fetch adds no charge beyond the tokens for what it pulls in.
๐ซ No batch discount. Sessions are stateful and interactive, so there is no batch mode to discount. It is also not available on Bedrock or Google Cloud.
Anthropic's own worked example: a one-hour coding session on Claude Opus 5 using 50,000 input tokens and 15,000 output tokens costs $0.25 for input, $0.375 for output and $0.08 for runtime, totalling $0.705. With prompt caching active on 40,000 of those input tokens it drops to $0.525 (Anthropic pricing). The runtime charge is the small part. Your tokens are the bill.
๐ฑ One compliance caveat worth knowing up front. Because sessions store conversation history, sandbox state and outputs server-side, the docs state that Managed Agents "is not currently eligible for Zero Data Retention or HIPAA Business Associate Agreement (BAA) coverage". You can delete sessions and uploaded files through the API at any time. If you handle health or contractually restricted data, read that section before you build anything (overview).
build it
The real quickstart, from zero
This is the documented path, in order. You need a Claude Console account and an API key. Note that this is Claude API billing, which is separate from a Claude Pro or Max subscription: it is pay as you go, and new accounts get a small amount of free credit to test with.
๐ Get an API key. Sign in at platform.claude.com and create a key under Settings, then API keys. Managed Agents access is enabled by default for all API accounts, so there is no waitlist for the core feature.
๐ฅ Install the CLI. On macOS with Homebrew, run brew install anthropics/tap/ant, then confirm it worked with ant --version. On Linux, download the release binary from the releases page.
๐ฆ Install an SDK. You need this for the streaming step, because the docs note that streaming "does not translate well to a one-off shell command". Python is pip install anthropic, TypeScript is npm install @anthropic-ai/sdk.
๐ Set your key as an environment variable. Run export ANTHROPIC_API_KEY="your-api-key-here" so nothing sensitive ends up pasted into a file you might share later.
๐ง Create the agent. This is the reusable configuration. The agent_toolset_20260401 tool type switches on the full built-in toolset in one line.
๐ฆ Create the environment. One call, and you get the cloud sandbox described above.
โถ๏ธ Start a session and stream it. Sessions reference the agent ID and environment ID you saved. You open the stream, send your first user event, then read events as they arrive until you see session.status_idle, which is the agent telling you it has nothing left to do.
Then the streaming step in Python, which is where the agent actually does the work:
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": "Your task here"}],
}],
)
for event in stream:
match event.type:
case "agent.message":
for block in event.content:
print(block.text, end="")
case "agent.tool_use":
print(f"\n[Using tool: {event.name}]")
case "session.status_idle":
print("\n\nAgent finished.")
break
๐ฉโ๐ป The shortcut nobody mentions. If you already use Claude Code, the docs point to a guided setup: run /claude-api managed-agents-onboard in a recent version and it walks you through the whole thing interactively, answering questions as you go. That is the gentlest on-ramp that exists today, and it is still a developer on-ramp.
copy this
The system prompt that makes an agent behave
The --system value in that first command is where almost all of your agent's quality lives, and "You are a helpful assistant" wastes it. A long-running agent needs to know when to stop, when to ask, and what to leave alone. Paste this in as your starting point and edit the bracketed parts.
๐ง agent system prompt
You are an autonomous agent running in a sandboxed Linux container with bash, file tools, web search and web fetch. Your job is: [describe the one task in a sentence, for example "take a folder of raw CSV exports and produce a cleaned, deduplicated summary report as a markdown file"].
Work in this order. First, before doing anything that writes or deletes, explore and state your plan in one short paragraph: what you found, what you intend to do, and what could go wrong. Second, do the work in small verifiable steps, and after each step check the result rather than assuming it worked. Third, when you believe you are finished, verify your own output against the original request and say explicitly what you checked.
Hard rules you never break. Never delete or overwrite a file you did not create in this session. Never run a command whose effect you cannot describe in one sentence. If a task needs a credential you were not given, stop and say exactly what is missing rather than improvising a workaround. If you have tried the same approach twice without progress, stop and report what is blocking you instead of trying a third time.
Keep me informed as you go: a short line before each tool use explaining why. When you are done, finish with a summary listing what you produced, where it is, what you verified, and anything you were unsure about.
Why the "stop after two failed attempts" line matters more here than in a normal chat: this agent is billed by the hour while it runs, and an unattended loop is the one way this gets expensive. That single instruction is the cheapest guardrail in the whole setup.
start small
Four first builds that suit this shape
Managed Agents earns its keep on work that is long, repetitive and unsupervised. Chat-shaped work is better and cheaper on the Messages API. These four fit the shape well, and Anthropic publishes runnable examples for several of them in the quickstarts repo.
๐ A recurring research brief Point it at a list of sources on a cron schedule through scheduled deployments, and have it produce one written brief per run. Budget for the $10 per 1,000 searches.
๐๏ธ A messy-data cleaner Hand it a pile of exports and let it write throwaway Python in the sandbox until the output is clean. This is the single best fit, because the sandbox already has Python and SQLite.
๐ A knowledge wiki Distil a document corpus once, then answer repeated questions from the distilled version instead of re-reading everything. There is a published quickstart for exactly this pattern.
๐ A repo chore runner Connect a GitHub MCP server and let it do the boring maintenance passes. GitHub is the integration the docs actually walk through, so it is the smoothest first connection.
if you don't code
What actually gives you an agent today
If the last few sections read like another language, that is a fair reaction and not a failure on your part. Managed Agents is aimed at people shipping software. The good news is that the everyday version of "Claude does jobs for me without me watching" already exists in the app you have, and none of it needs an API key.
๐ Connect your tools. In Claude, open Customize, then Connectors. This is where Claude gets the ability to act in other software rather than only talk about it, and it is the same MCP standard the developer product uses underneath.
๐งฉ Teach it your processes as skills. Open Customize, then Skills, then Add, then Upload a skill. A skill is a folder with a SKILL.md inside describing when to use it and what to do, and Claude reaches for it automatically when your request matches. Skills work on every plan from Free through Enterprise (creating custom skills).
๐ง Give it standing context. Put your recurring work in a Project so every chat starts already knowing your situation. Projects are available on all plans, with up to five on a free account (Projects).
๐ป Graduate to Claude Code when you want files changed.Claude Code is the step between chatting and building: it works on real files on your own machine, and it is where most people who eventually reach for Managed Agents started.
Honest framing, because it matters: this ladder is not a consolation prize. Connectors plus skills plus a project covers the overwhelming majority of what people mean when they say they want an agent. Managed Agents solves a narrower problem, which is running an agent unattended for hours inside software you are shipping to other people.