Claude Managed Agents on Amazon Bedrock: Beginner Setup Guide (Preview)
Claude Managed Agents is now on Amazon Bedrock in preview: Claude agents that work through long, multi-step tasks while AWS runs the agent loop and the tools run in your own account.
The short version: set up five things in your account (a session role, a tool runner role, a container repository, an AgentCore Runtime and a caller policy), then open the Amazon Bedrock console, go to Agent solutions and choose Claude Managed Agents. Guided setup creates your first agent and session without code. The service is free during preview; you pay for Claude tokens and the AWS resources your agents use.
Here’s the trap most people will hit first: access keys for an IAM user get HTTP 403. Only IAM role credentials can call this API. If you followed an old tutorial and created an IAM user with keys, sign in through IAM Identity Center or assume a role instead.
Jake wanted an agent that would go through the shop’s supplier invoices every night, file each one in the right folder and flag anything that looked wrong. Ethan had built a chatbot before, but never something that runs for an hour on its own.
Jake: "Can Claude just do the whole job every night?"
Ethan: "That’s what this is for. AWS runs the agent, Claude does the thinking, and the work happens in our own account, so the invoices never leave it."
New to this? The plain-English version
- Agent: a saved recipe for a helper: which Claude model, its instructions, its tools and the permissions it runs with. Each change makes a new version.
- Session: one conversation with that agent. It remembers everything said in it, so you can send more messages later.
- Agent loop: the cycle of “think, use a tool, look at the result, think again” until the job is done. AWS runs this part for you.
- Tool runner: the small program that actually carries out the agent’s commands, such as running a shell command or editing a file. It runs in your account, not at AWS’s or Anthropic’s side.
- AgentCore Runtime: an AWS service that starts a fresh, separate container for each session to hold the tool runner.
- IAM role: a set of permissions that people or services borrow for a while, instead of a permanent username and key. This API only accepts role credentials.
- MCP: a standard way to plug extra tools into an AI agent; see what an MCP server is.
- Preview: early access. It works, but names and details can change before the final release.
Jake: "So what part does AWS run, and what part do we run?"
Ethan: "AWS runs the brain: the loop and the calls to Claude. We run the hands: the container where commands happen. That’s why our files stay with us."
Is it right for you? Three questions
- Is the job long and multi-step? Investigating a codebase, processing a pile of documents, generating files. For a quick question, plain Claude on Bedrock is simpler.
- Are you in one of the 14 Regions? The list is below.
- Can you sign in with a role? IAM Identity Center or an assumed role. IAM-user keys won’t work.
What you need before you start
| What | Default name | What it’s for |
|---|---|---|
| Session role | ClaudeManagedAgentsSessionRole | The role AWS assumes to call Claude and start your tool runner. The console calls it the execution role. |
| Tool runner role | CmaToolRunnerRuntimeRole | What the tool runner container can do in your account |
| Container repository | cma-tool-runner (Amazon ECR) | Holds the tool runner image |
| AgentCore Runtime | cma_tool_runner | Starts one tool runner container per session |
| Caller policy | ClaudeManagedAgentsCaller | Lets your apps call the API and pass the session role |
You can create all five in the console, or in one go with the CloudFormation template (cma-account.yaml) inside the tool runner bundle. Building the image needs Docker with buildx; the examples need AWS CLI version 2, curl with --aws-sigv4, jq and Python 3.10 or later with boto3. You also need access to the Claude model you plan to use, in your Region. Keep everything in one Region: the runtime, the repository and your API calls.
Your own sign-in needs iam:PassRole for the session role. If you want the console to create a default session role for you, it also needs permission to create and tag IAM roles. Our IAM explainer covers what these mean.
Create your first agent in the console
- Sign in to the AWS console and open Amazon Bedrock.
- Pick a supported Region, such as US West (Oregon), and your project.
- In the left navigation pane, under Agent solutions, choose Claude Managed Agents. You’ll see Agents, Sessions and Memory stores tabs.
- Choose Create agent and session. Guided setup walks you through configuring the agent (model, instructions, tools) and, if you want, starting its first session on your AgentCore Runtime.
- Send the session a message and watch the agent’s steps appear as it works.
If Claude Managed Agents is missing from the menu, you are either in an unsupported Region or the console isn’t using the Bedrock runtime endpoint mode. Anything you create in the console also shows up in the API, and the other way round.
For the model, use an inference profile ID such as us.anthropic.claude-sonnet-5-5, or global.anthropic.claude-sonnet-5-5. A plain name like claude-sonnet-5-5 is refused. Our Bedrock model ID list has the current IDs.
Calling it from code
The API matches Anthropic’s Managed Agents API, with every path under /anthropic/v1/. If you have used Anthropic’s version, these are the differences:
| Anthropic’s API | On Amazon Bedrock | |
|---|---|---|
| Sign-in | Anthropic API key | AWS Signature Version 4 (signing service bedrock); Anthropic’s SDKs sign for you |
| Who can call | Anyone with the key | IAM role credentials only; IAM user or root credentials get HTTP 403 |
| Where tools run | Environments API | No environments API: a session names your AgentCore Runtime ARN, or your project ARN plus /anthropic-self-hosted |
| Web tools | web_fetch, web_search | Not in the preview; use the Web Search Tool through an AgentCore Gateway |
| Files | Files API and vaults | Amazon S3 mounted on the runtime, or files in the image |
See our session credentials explainer for how temporary role credentials work.
Each Region has its own base URL. For US West (Oregon) it is https://bedrock.us-west-2.amazonaws.com/anthropic/v1, and every request sends these two headers:
anthropic-version: 2023-06-01
anthropic-beta: managed-agents-2026-04-01
Before anything else, confirm which identity your terminal is using; the account and the assumed-role part of the answer should both look right:
export AWS_PROFILE=my-deployment-profile
export AWS_REGION=us-west-2
aws sts get-caller-identity
What it costs
During the preview there is no extra charge for Claude Managed Agents itself. You pay for:
- The Claude tokens your agents use, at normal Bedrock prices.
- AgentCore Runtime for the time sessions run, plus Amazon S3 for files.
- Extra Claude tokens when you use the
autopermission policy, which checks each tool call with the model. - Amazon ECR storage for the tool runner image and CloudWatch Logs storage, even when no agent is running.
The last line is the one that surprises people: clean up the image and logs when you stop experimenting.
Preview limits and a safety warning
- The built-in
web_fetchandweb_searchtools aren’t available. Use the Web Search Tool through an AgentCore Gateway. - MCP servers connect only through AgentCore Gateways.
- No files API and no vaults: keep files in Amazon S3 and mount them on the runtime, or build them into the image.
- Anthropic’s skills API isn’t available; skills are folders the tool runner can read.
- The API, IAM action names and endpoints can change before general availability.
Mind the tool runner’s permissions
The tool runner runs each command as its own operating-system user, with no extra sandbox around the command. Whatever the tool runner can reach, files, network and its role’s AWS permissions, the agent can reach too. Give the tool runner role only what the job needs, and keep the runtime off the public internet unless the task requires it.
Fourteen Regions support it at launch: US East (N. Virginia), US East (Ohio), US West (Oregon), Canada (Central), South America (SΓ£o Paulo), Europe (Frankfurt, Ireland, London, Stockholm) and Asia Pacific (Mumbai, Seoul, Singapore, Sydney, Tokyo).
Jake’s first night
- Switched from his old IAM-user keys to IAM Identity Center sign-in, which removed the 403.
- Created the five resources with the CloudFormation template in US East (Ohio).
- Used guided setup to make an “invoice clerk” agent on
us.anthropic.claude-sonnet-5-5, with the invoices mounted from Amazon S3. - Gave the tool runner role read access to the invoice bucket and nothing else.
- Started a test session, watched the agent sort ten invoices, then scheduled it nightly with EventBridge Scheduler.
Jake: "And if it breaks something?"
For readers preparing for an AWS certification
We have been covering AWS certifications alongside our fixes, so here is a short extra for readers studying for one. If you only came for the fix, you already have it; feel free to skip this part.
Exams that test this topic: AI Practitioner (AIF-C01) • Machine Learning Engineer – Associate (MLA-C02) • Security – Specialty (SCS-C03).
Here are the exam-style questions this topic tends to raise, with the reasoning you need to answer them:
1. A developer signs Claude Managed Agents API requests with long-term access keys of an IAM user and gets HTTP 403. What is the fix?
Use IAM role credentials, for example by signing in through IAM Identity Center or assuming a role. The API accepts only role credentials; IAM user and root user credentials return HTTP 403.
2. A company wants an agent to run shell commands against internal files without those files leaving its AWS account. Which design fits?
Claude Managed Agents for Amazon Bedrock with the tool runner on an AgentCore Runtime in the company account. Bedrock runs the agent loop and calls the model; commands and files stay in the tool runner, and only the conversation, tool calls and results reach the service.
3. The security team worries that an agent could misuse AWS permissions through bash commands. What is the main control?
Least privilege on the tool runner role and its network. The tool runner runs each command as its own operating-system user without an extra sandbox, so anything the tool runner can reach, the agent can reach.
4. An agent definition uses the model name claude-sonnet-5-5 and is refused. What should it use?
An inference profile ID available in the Region, such as us.anthropic.claude-sonnet-5-5 or global.anthropic.claude-sonnet-5-5.
5. A managed agent must call a company MCP server. How is it connected in the preview?
Through an Amazon Bedrock AgentCore Gateway: add the MCP server as a gateway target and give the agent the gateway. Other MCP connections are not supported in the preview.
Exam codes and dates change often. Our AWS certification changes page keeps track of what is current.
Ethan: "It can only touch the invoice bucket. That’s the whole point of giving the tool runner tiny permissions."
Official references for this guide
- Claude Managed Agents for Amazon Bedrock: how it works, Regions, headers and charges.
- Use the Amazon Bedrock console: guided setup and where to find it.
- Set up permissions and prerequisites: the five resources and the tools you need.
- Preview availability and limitations: models, web tools, MCP and files.
Frequently asked questions
What is Claude Managed Agents for Amazon Bedrock?
A preview service, launched December 1, 2026, that runs long-running Claude agents for you. You define an agent and start sessions; Amazon Bedrock runs the agent loop and calls Claude, and the agent’s tools run in your own AWS account or on a machine you control.
Is Claude Managed Agents on Bedrock free?
There’s no extra charge for the service during the preview. You pay for the Claude tokens the agents use at Bedrock prices, plus the AWS resources they use, such as AgentCore Runtime time, Amazon S3, the container image in Amazon ECR and CloudWatch Logs.
Why do I get HTTP 403 calling Claude Managed Agents?
Most often because you signed the request with IAM user or root user credentials, such as long-term access keys. Only IAM role credentials can call the API. Sign in through IAM Identity Center or assume a role first.
Do I need an Anthropic API key?
No. Requests are signed with your AWS credentials (Signature Version 4). Anthropic’s SDKs can sign them for you.
Can I use Claude Managed Agents without writing code?
Yes. In the Amazon Bedrock console, open Agent solutions, then Claude Managed Agents, and use Create agent and session. Guided setup creates the agent and, optionally, its first session.
Why don’t I see Claude Managed Agents in the Bedrock console?
Check three things: you are in one of the 14 supported Regions, the console is using the Bedrock runtime endpoint mode, and you are looking under Agent solutions in the left navigation pane.
Which Claude models can a managed agent use?
Claude models Bedrock offers in your Region, named by inference profile ID such as us.anthropic.claude-sonnet-5-5. Plain names like claude-sonnet-5-5 are refused.
Where do the agent’s commands run?
In a tool runner: either a fresh container per session on an Amazon Bedrock AgentCore Runtime in your account, or a tool runner you start on your own machine. Only the conversation, tool calls and results go to the service.
Is it safe to let the agent run bash commands?
Treat it with care. The tool runner runs each command as its own operating-system user with no extra sandbox around the command, so the agent can use whatever files, network and credentials the tool runner can. Give the tool runner role the smallest permissions that work.
Can a managed agent search the web?
Not with the built-in web_fetch or web_search tools; they aren’t available in the preview. Use the Web Search Tool through an AgentCore Gateway instead.
Can I connect my own MCP server?
Only through an Amazon Bedrock AgentCore Gateway. Add your MCP server to a gateway as a target, then give the agent that gateway.
Which Regions support Claude Managed Agents?
Fourteen: US East (N. Virginia), US East (Ohio), US West (Oregon), Canada (Central), South America (SΓ£o Paulo), Europe (Frankfurt, Ireland, London, Stockholm) and Asia Pacific (Mumbai, Seoul, Singapore, Sydney, Tokyo).
How is this different from Anthropic’s own Managed Agents API?
The paths and headers are the same, under /anthropic/v1/. The differences: you sign with AWS credentials instead of an API key, there is no environments API (a session names your AgentCore Runtime or your self-hosted ID), and some features such as the files API, vaults and web tools aren’t in the preview.
Can I run an agent on a schedule?
Yes. Amazon EventBridge Scheduler can start sessions on a schedule; the scheduled-agent example in the downloadable examples shows how.
What AWS resources does setup create?
A session role, a tool runner role, an Amazon ECR repository for the tool runner image, an AgentCore Runtime and a caller policy. You can create them in the console or with the CloudFormation template in the tool runner bundle.
Will the API change?
It can. The service is a preview (“Beta Service”), and its API, IAM action names and endpoints can change before general availability, so keep production use light for now.
Revision note. Written December 1, 2026, the night of the preview launch. Preview details can change, so check the live preview limitations page before you build on it. “Trust, but verify”: give your agent small permissions and read what it did.