Claude Managed Agents on Amazon Bedrock and the Claude API
Choose between the Claude API and Amazon Bedrock, see who runs the tools and bills usage, and create an agent with Anthropic’s documented request.
Published

Amazon Web Services (AWS) now operates and bills the Amazon Bedrock beta of Claude Managed Agents, with access controlled through AWS Identity and Access Management (IAM). In its December 1, 2026 release notes, Anthropic gives developers who already manage permissions in AWS a new way to use its hosted agent service. Your application assigns the work, and the service runs the loop that lets Claude choose a tool, inspect the result and decide what to do next.
What Are Claude Managed Agents?
Claude Managed Agents gives your application a way to hand Claude a job that takes several steps. Suppose a user asks for a file containing the first 20 Fibonacci numbers. With a direct model call, you might get back a Python script as text. In Anthropic’s Managed Agents quickstart, Claude writes the script, runs it in a sandbox (an isolated workspace) and checks that it produced fibonacci.txt. The user asked for a file, and the agent has the tools to make one.
Anthropic calls the software that coordinates those steps the harness. Think of the agent definition as a librarian’s standing instructions and a session as one reader’s research request. The same instructions can serve the next reader, who gets a separate work session. Anthropic’s overview names four parts.

That distinction matters when you change the product. “Save this result as CSV” is a message for the current session. “Every future report must include a CSV” belongs in the reusable configuration. If those changes need code review, see how to review an agent configuration before applying it.
Where Should the Agent Run?
Choose the direct Claude API when you want Anthropic to host the service and a Claude Console credential fits your application. Its cloud sandbox is a starting point for running tools. If tools need to execute on infrastructure you control, Anthropic also documents a self-hosted sandbox. Choosing where a command executes and choosing who operates the agent loop are separate decisions.
Choose Amazon Bedrock when your AWS administrator needs to govern access with IAM. Your application sends requests to Bedrock and signs them with AWS credentials. AWS operates the service and bills usage. Built-in tools run in your AWS account or on your own machine. When you use Amazon Bedrock AgentCore Runtime for those tools, each session gets its own container. AgentCore Gateway can control access to MCP tools through IAM roles you define. Anthropic’s Bedrock setup guide
For example, if a reporting agent needs an internal lookup tool, give your AWS administrator the name of that tool and the role that should reach it. Check the guide’s Managed Agents region list before choosing a deployment region. The larger table on that page describes the Messages API. For the AWS components behind that choice, see how AgentCore Runtime and Gateway fit together.
How to Use Claude Managed Agents
Start with Anthropic’s small file-writing job. It gives you something concrete to inspect after the first session and needs neither web search nor access to customer data. These steps follow the API-key path in the Claude Managed Agents quickstart, checked December 1, 2026.
- Sign in to Claude Console, create an API key and set it in your shell as
ANTHROPIC_API_KEY. Anthropic enables the Managed Agents beta by default for Claude API accounts. - Create the reusable agent with the request below. Keep the agent ID from the response. This request registers the coding assistant. The task itself comes later.
curl -sS --fail-with-body https://api.anthropic.com/v1/agents \
-H "x-api-key: $ANTHROPIC_API_KEY" \
-H "anthropic-version: 2026-10-21" \
-H "anthropic-beta: managed-agents-2026-04-01" \
-H "content-type: application/json" \
-d '{
"name": "Coding Assistant",
"model": "claude-opus-5-5",
"system": "You are a helpful coding assistant. Write clean, well-documented code.",
"tools": [
{
"type": "agent_toolset_20260401",
"configs": [
{"name": "web_search", "enabled": false},
{"name": "web_fetch", "enabled": false}
]
}
]
}'- Create the quickstart’s cloud environment with limited networking and package managers allowed. Keep its environment ID. Create a session using the agent ID and the environment ID, then take the returned session ID into the next step.
- Open the session’s event stream before sending the
user.messageevent. Ask for the Python script that generates the first 20 Fibonacci numbers and saves them tofibonacci.txt. Watch foragent.tool_useas Claude works andagent.messagefor its reply. The quickstart stops listening atsession.status_idle. - Check the file against the request. An idle session tells you Claude has stopped working. Whether the file has the expected contents is a separate check. Send any correction to that same session so Claude can use the existing file.

The request above uses Anthropic’s endpoint. For Bedrock, start with the AWS account setup linked from Anthropic’s Bedrock guide and use AWS signing. Changing the hostname on an API-key request leaves out that authentication step.
When Should You Run the Loop Yourself?
Use the managed service when you can specify the result and let Claude choose the intermediate steps. A support analyst asking for a file of disputed orders might need several lookups and a revised export. A session gives those steps a shared workspace and lets the analyst ask for a correction. For another approach to jobs that continue after a client disconnects, see how Gemini Managed Agents handles background work.
Keep your own loop when your application must choose every next action. For example, a refund workflow might require a deterministic eligibility check, a named approver and a final write in that order. Keep that sequence in application code and use the Messages API at the point where a model judgment helps, such as summarizing the reason for the refund.
Two other Anthropic products serve different jobs. The Claude Agent SDK packages Claude Code’s loop and tools for a Python or TypeScript process you operate. It fits when you want that ready-made loop inside your deployment. Claude Code gives a developer an interactive coding agent, including a terminal interface. If the task is a developer delegating a repository review during a coding session, start with Claude Code subagents. Anthropic details the deployment choices in its Agent SDK comparison.
Frequently Asked Questions
How much does a Claude managed agent cost?
On the Claude API, model tokens plus $0.08 per running session-hour apply, with idle time excluded and some tools billed separately. AWS sets the Bedrock bill. Anthropic’s pricing terms · Amazon Bedrock pricing guide
Can Claude be used as an agent?
Yes. Give Claude a task, tools and a loop that feeds tool results back into its next decision. Managed Agents provides that loop.
What do CLAUDE managed agents do?
They can read and write files, execute commands and use the external tools you configure. Your app can follow the session’s event history and send a new instruction while work is underway.
What is a cloud agent?
It is an agent whose work runs on remote infrastructure. In this example, the application sends a task from the client while a cloud sandbox runs the Python script.
What are the 5 types of agent in AI?
One common classification groups agents by how they decide what to do: simple reflex, model-based reflex, goal-based, utility-based and learning agents. “Managed” describes who operates the software. IBM’s agent taxonomy
What is agent MD in Claude?
In a coding repository, this usually refers to an AGENTS.md file containing project instructions. In Managed Agents, you define the system prompt and tools when you create the agent.
Should I use Agents MD or CLAUDE MD?
For a repository used by several coding tools, keep shared instructions in AGENTS.md. A CLAUDE.md file can import them and add Claude-specific guidance.
Does Claude ignore agents MD?
In Claude Code versions that support reading it directly, the default depends on the files present. A project CLAUDE.md or CLAUDE.local.md in the working directory or above takes precedence. Claude Code’s instruction-file rules
Why are people against Claude?
Objections depend on the person and the workload. For a technical lead evaluating this service, a concrete reason to pass is a requirement to control each tool decision in application code.
If the person who will maintain the workflow needs a visual editor, compare no-code AI agent builders.
- Published
- Category
- Build








