Claude Managed Agents on Amazon Bedrock Explained: Architecture, Sessions, Tools and Limits
Most teams that tried to run a Claude agent for more than a few minutes hit the same wall: the model was fine, but the loop around it was not. Sessions died with the process, containers leaked, credentials sat inside sandboxes, and nobody could tell what an agent had spent. Claude Managed Agents is Anthropic’s answer, a hosted agent harness that owns the loop, the session log and the sandbox. On December 1, 2026, AWS put a preview of it inside Amazon Bedrock, operated by AWS, with tools running in your own account. That matters now because the Bedrock edition is not a mirror of the Anthropic API product. It splits the agent so that the “brain” is managed and the “hands” are yours, and that changes the security model, the cost model and the feature list. You will leave with a clear map of the architecture, the session and permission mechanics, the preview gaps, a worked cost model and a decision matrix against AgentCore, OpenAI’s managed agents and the self-hosted Agent SDK.
What this covers: the harness/session/sandbox design, how the Bedrock preview differs from Anthropic’s API, event flow and tool permissions, real cost math, failure modes and when to pick which runtime.
Context and Background
Agent frameworks spent 2024 and 2025 solving the wrong half of the problem. LangGraph, CrewAI, Strands and the Claude Agent SDK made it easy to write an agent loop. They did not make it easy to keep one alive for three hours, recover it after a crash, isolate the code it runs, or prove afterwards what it did. That operational half is where production agents fail, and it is the part the hosted runtimes now compete on.
Anthropic launched Claude Managed Agents as a public beta on April 8, 2026, as reported by The New Stack and described the same day in Anthropic’s engineering write-up. The official overview defines it as a “pre-built, configurable agent harness that runs in managed infrastructure,” aimed at long-running and asynchronous work. All endpoints sit behind the beta header managed-agents-2026-04-01, and the resources are /v1/agents, /v1/sessions and /v1/environments.
The competitive field around Claude Managed Agents filled in quickly. AWS had already shipped Amazon Bedrock AgentCore, a set of building blocks (Runtime, Memory, Gateway, Identity) for teams that bring their own loop. OpenAI moved its agent harness into AWS: on April 28, 2026 AWS announced Amazon Bedrock Managed Agents powered by OpenAI in limited preview, using AgentCore as the default compute. We covered OpenAI’s own hosted option in our analysis of OpenAI’s Agents API with managed sandboxes versus self-hosting.
Then, in May 2026, Anthropic launched Claude Platform on AWS, a version of its own API billed through AWS and operated by Anthropic, with data processed outside the AWS boundary. That product already includes Claude Managed Agents. The December re:Invent preview is a different thing: the same harness, but operated by AWS inside Bedrock. Anthropic’s overview now lists four platforms for the product: the Claude API, Amazon Bedrock, Claude Platform on AWS and Claude Models on Google Cloud. It also warns that “some features and session behaviors differ” across them. The rest of this post is mostly about those differences, because they decide whether Claude Managed Agents on Bedrock fits your workload.
Claude Managed Agents Architecture: Brain, Hands and Session Log
Claude Managed Agents is a hosted harness that splits an agent into three parts: a stateless loop that calls Claude (the brain), an execution environment that runs tools (the hands), and an append-only session event log that lives outside both. On Amazon Bedrock, AWS operates the loop and the log, while the tools execute in your AWS account.

Figure 1: Claude Managed Agents on Bedrock. The harness, session log and model calls are operated by AWS; bash, file tools, skills and MCP targets run in the customer’s account.
The diagram shows a deliberate trust split. Your application sends events to the harness over SigV4-signed HTTPS. The harness appends every event to the session log, calls Claude as your session role, and routes each tool call to a tool runner inside your account. MCP calls go to an AgentCore Gateway, which holds credentials and forwards to targets such as Lambda functions. Nothing in the AWS-operated half needs your secrets.
Why the harness is stateless
Anthropic’s engineering post on the design (April 8, 2026) describes three “virtualized” components behind stable interfaces. The session is an append-only event log with calls such as getSession(id), emitEvent(id, event) and getEvents(). The harness is the loop that calls Claude and routes tool calls, and it holds no state of its own. If it crashes, a wake(sessionId) call starts a fresh harness that replays the log and resumes from the last event.
This design is the core reason Claude Managed Agents exists. In a self-built agent, state lives in process memory, so a pod eviction or a deploy ends the task. Here, state lives in the log, so the harness is cattle. The log also doubles as a context store outside Claude’s context window. The harness can read slices of history and transform events before they enter the prompt, which is how built-in prompt caching and compaction are applied without your code.
Why the hands are disposable
The sandbox is exposed to the harness as a single tool-shaped interface, roughly execute(name, input) → string. Containers are provisioned only when a session needs one. If a container fails, the harness returns the failure to Claude as a tool error, and Claude can retry on a new container. The model treats infrastructure failure as just another tool result.
Lazy provisioning has a measurable payoff. Anthropic reports that decoupling the sandbox from session start cut p50 time-to-first-token by “roughly 60%” and p95 by “over 90%”. Sessions that never run code can start inference at once instead of waiting for a container. Those are Anthropic’s figures for its own hosted service; AWS has not published equivalent numbers for the Bedrock edition.
Why credentials never enter the sandbox
The third design rule of Claude Managed Agents is that tokens stay out of any place where Claude-generated code runs. On Anthropic’s platform, git tokens configure the remote during sandbox setup, and OAuth tokens for MCP live in a vault behind a proxy. On Bedrock, the same idea maps to AgentCore Gateway: MCP tools are called through the gateway as the session role, and their credentials stay with the gateway or its target.
The point is structural, not cosmetic. A prompt injection that takes over the agent can only spend what the sandbox holds. If the sandbox holds no long-lived secrets, the blast radius shrinks to what the tool runner role can do, which is the subject of a later section.
The four API objects
Anthropic’s docs define four concepts, and Bedrock keeps three of them as API objects. An agent is a versioned definition: model, system prompt, tools, MCP servers and skills. On Bedrock it also names the IAM role its sessions run as, and each update creates a new version. An environment says where tools run. A session is a stateful conversation with one agent in one environment. Events are what you send (user.message, user.interrupt, user.tool_confirmation) and what the session reports (agent messages, tool calls, status changes).
Claude Managed Agents on Bedrock drops the environments API entirely. A session names its environment directly, either by an AgentCore Runtime ARN or by your project’s ARN followed by /anthropic-self-hosted. Bedrock also adds a project concept, passed in an anthropic-workspace-id header, that groups agents and sessions; without the header the default project is used. Paths stay the same as Anthropic’s API under https://bedrock.{region}.amazonaws.com/anthropic/v1, with the same anthropic-version: 2023-06-01 and beta headers, so Anthropic’s SDK works with an AWS client class.
How a Session Actually Runs: Events, Permissions and State
A Claude Managed Agents session is a state machine driven by events. You send a user message, the harness loops through model calls and tool calls, and the session reports each step. It ends a turn by going idle with a stop reason, and it waits there, at no runtime cost on Anthropic’s platform, until you send the next event.

Figure 2: One turn of an agent session state flow, including an always_ask tool confirmation that pauses the session in idle with requires_action.
The sequence shows the full round trip for a gated tool. Claude asks to run bash, the harness emits an agent.tool_use event whose evaluated_permission is ask, and the session goes idle with stop_reason.type set to requires_action. The blocking event IDs are listed in stop_reason.event_ids. Your client answers with user.tool_confirmation, the session returns to running, and the tool executes.
Session statuses and what they cost
Anthropic’s session operations page defines four statuses. idle means waiting for input, including tool confirmations; new sessions without initial events start here. running means the agent is executing. rescheduling means a transient error occurred and the service is retrying automatically. terminated means an unrecoverable error or an archive; a session that simply finishes its work goes idle, not terminated.
These statuses matter for money. On the Claude API, Claude Managed Agents bills a $0.08 per session-hour runtime fee that accrues only while status is running, metered to the millisecond. Time spent idle, rescheduling or terminated is free. A session waiting overnight for a human approval therefore costs nothing in runtime, which is exactly the pattern Nomura Research Institute described on the AWS product page: overnight workflows that pause for approval and resume.
Two operational rules follow from the state machine. A running session cannot be archived or deleted, so you must send user.interrupt and wait for idle first. And deletion is final: it removes the record, events and sandbox, including files the session produced in its filesystem. Download artifacts before you delete.
Permission policies are server-side, and that is the point
Server-executed tools (the built-in toolset and MCP toolsets) are gated by one of three policies. always_allow runs the tool with no confirmation. always_ask pauses for approval. auto lets the server evaluate each call against the tool, its input, earlier calls and the user’s intent, then allow, deny or pause. Custom tools run in your application, so policies do not apply to them.
The defaults are worth memorizing because they surprise people. The agent toolset defaults to always_allow, so bash runs unattended unless you change it. MCP toolsets default to always_ask. No toolset defaults to auto. Policy changes apply only to sessions created afterwards; running sessions keep the configuration they started with.
The auto policy has a subtle trust boundary. The permission policies documentation says your user.message events count as intent, while tool results, fetched pages and MCP responses do not. That is a sound design against indirect prompt injection. But if you relay untrusted end-user text in a user.message, the server will treat it as your intent too. Anthropic is explicit that auto “is not a human checkpoint”: calls judged safe run before anyone sees them. On Bedrock, those safety evaluations consume Claude tokens billed at Bedrock prices.
Where agent session state really lives
There are three kinds of state in a Claude Managed Agents session, and they live in different places. The conversation and event history live in the service, retained until you delete the session. Files the agent writes live in the sandbox filesystem, or in mounted storage such as S3. Longer-term knowledge lives in memory stores, which persist independently of sessions and survive session deletion.
On Bedrock the split is sharper. AWS states that session transcripts, events and memory stores sit in an AWS service account, encrypted with an AWS-owned key or your customer managed KMS key, and are not shared with Anthropic. Files stay in your container, on your machine, or in S3 or EFS. But the docs are explicit that the conversation, tool calls and tool results, including the contents of any file a tool reads, do flow to the service. “Your data stays in your account” is true for files at rest, not for anything the agent reads.
Context management without your code
Long sessions accumulate context quickly, and this is where Claude Managed Agents earns its keep. Anthropic says the harness includes built-in prompt caching and compaction. Because the session log sits outside the context window, the harness can compact what Claude sees while the full history remains retrievable. With a self-built loop you must implement both: cache-breakpoint placement, summarization triggers and a policy for which tool outputs to drop. Getting caching wrong is the most expensive single mistake in agent engineering, as the cost model below shows.
Inside the Bedrock Preview: Hosting Options, Identity and Gaps
Claude Managed Agents on Bedrock is defined as much by what it removes as by what it adds. AWS runs the harness and gives you two places to run the hands. It wires identity through IAM roles rather than API keys. And it ships without several features the Anthropic API already has.

Figure 3: The two hosted agent sandbox options on Bedrock. Both execute model-written commands with the full reach of the tool runner.
Option 1: AgentCore Runtime-managed sandbox
With this option, each session gets a fresh container on an AgentCore Runtime in your account. The session’s environment_id is the runtime ARN or an endpoint ARN. The container starts on the first message, and AgentCore can replace it after an idle timeout, 15 minutes in AWS’s CloudFormation template. It stops when the session is deleted. You operate the runtime, its image in Amazon ECR and its role.
AgentCore Runtime itself, per its session documentation, gives each session a dedicated microVM with isolated compute, memory and filesystem, then terminates it and sanitizes memory at the end. The defaults are a 15-minute idle timeout and an 8-hour maximum compute lifetime per lifecycle on microVMs. A resumed session gets new compute for up to another 8 hours. So a multi-hour Claude Managed Agents session survives because the session log and optional session storage persist, not because one container lives forever. The agent session state outlives the compute. For a deeper look at the isolation primitives underneath, see our comparison of Firecracker, gVisor and Kata for AI agent sandboxes.
Option 2: Self-hosted tool runner
The second option runs a tool runner process on a machine or container you control. One runner serves one session, and you start and stop it. The runner connects outbound over TLS and accepts no inbound connections from the service, which keeps your firewall story simple. Choose it when the files or tools exist only on a particular host, such as a build server or a lab instrument PC.
The trade-off is in the preview’s fine print. S3 folders and skills mounts are not supported on self-hosted runners, according to Classmethod’s hands-on review of the console (December 2). At that time AWS’s self-hosted setup guide had not yet appeared; it now exists in the Bedrock user guide.
The warning every team must read
Both Claude Managed Agents hosting options share one blunt property. AWS’s security page states that the tool runner “runs each bash command as its OS user with no sandbox”. A command the model runs can read the runner’s files, reach its network and use its credentials. On AgentCore, the metadata service hands the tool runner role’s credentials to any code in the container. Those credentials stay valid until they expire, even after the session is deleted.
So the “sandbox” is an isolation boundary between sessions and between you and AWS. It is not a boundary between the model and the role. AWS also notes that public network mode, the default from setup, does not limit outbound connections. In VPC mode, traffic follows your route tables and can be forced through a domain allow-list firewall. The runner still needs to reach bedrock.<region>.amazonaws.com on port 443, through a NAT gateway or an interface VPC endpoint.
Three identities and one missing one
A Bedrock session involves three IAM identities. The caller signs your API requests and needs iam:PassRole to set roles. The session role is assumed by the service to call the model, invoke AgentCore Gateways and start and stop sandboxes. The tool runner role is what the container runs as. A fourth, the key role, appears when you use a customer managed KMS key. Only IAM role credentials can call the API; requests signed with IAM user or root credentials return HTTP 403.
The missing identity is the end user. JWT and on-behalf-of identity are available only in a private preview, so sessions act as their session role, not as a person. There is also no user isolation inside a project: anyone with IAM permissions on the project can see every agent, session and memory store in it. If you need per-user scoping today, separate projects and roles. Our breakdown of IAM for agents versus STS scoped credentials and AgentCore Identity covers the patterns.
What the preview does not have
AWS’s preview limitations page lists the gaps against Anthropic’s API, and the list is long enough to change architectures:
| Anthropic API feature | Status in the Bedrock preview | Documented workaround |
|---|---|---|
| Environments API | Not available | Name a runtime ARN or self-hosted ID per session |
| Vaults | Not available | Keep credentials behind AgentCore Gateway targets |
| Session budgets | Not available | Sum usage from span.model_request_end events, interrupt at your limit, use AWS Budgets |
| Files API | Not available | sandbox_path, s3_mount, s3_object resources |
| Web search and web fetch | Not available | Web Search Tool through an AgentCore Gateway |
| MCP servers by URL | Not available | Register servers as AgentCore Gateway targets |
| Skills API | Not available | Skill folders in the image or a read-only S3 mount |
| Scheduled deployments | Not available | Amazon EventBridge Scheduler |
Outcomes (user.define_outcome) |
Not available | Put goals and rubric in a user.message |
| Webhooks | Not available | Stream or list events |
| Multi-agent sessions | Only coordinator type |
Newer multi-agent types unavailable |
Other constraints matter for operations. Creates are not idempotent, so list before retrying a failed create. IAM action names may change before general availability. There are no audit rights during the preview. Models must be named by inference profile ID such as us.anthropic.claude-sonnet-5-5; a bare model name is refused, and inference_geo cannot be set. Claude Fable additionally requires the aws_review data retention mode. AWS also warns that “a field the API accepts is not a promise that its feature works in the preview.”
The preview runs in 14 Regions: us-east-1, us-east-2, us-west-2, ca-central-1, sa-east-1, eu-central-1, eu-west-1, eu-west-2, eu-north-1, ap-south-1, ap-northeast-2, ap-southeast-1, ap-southeast-2 and ap-northeast-1. The inference profile prefix (us., eu., global. and so on) decides where model calls may be served, which is the real data-residency control.
The Claude Managed Agents Cost Model: Tokens Dominate, Runtime Is Noise
Pricing for Claude Managed Agents differs by platform, and the difference is smaller than it looks. On the Claude API, you pay standard token rates plus $0.08 per running session-hour; web search costs $10 per 1,000 searches. On Bedrock, AWS says there is “no additional charge” for the service during preview. You pay Claude usage at Bedrock prices, AgentCore Runtime time, S3 storage, ECR image storage and CloudWatch Logs.
The useful question is where the money goes. The script below models one long coding or research session on Claude Opus 5.5 at Anthropic’s published list prices: $4 per million input tokens, $5 for 5-minute cache writes, $0.20 for cache reads and $20 for output. Bedrock has its own regional price list, so treat the token numbers as an illustrative baseline rather than a Bedrock quote.
# Illustrative cost model for one long-running agent session (Opus 5.5 list prices, Claude API)
PRICE = dict(inp=4.00, cw5=5.00, cr=0.20, out=20.00) # USD per MTok, platform.claude.com pricing page
RUNTIME_PER_HR = 0.08 # Claude Managed Agents, per running session-hour
def session_tokens(steps=60, prefix=20_000, tool_out=3_000, model_out=600, cached=True):
cost = 0.0; ctx = prefix; tin = 0; tout = 0
for i in range(steps):
if cached:
if i == 0:
cost += ctx * PRICE['cw5'] # first write of system prompt+tools
else:
new = tool_out + model_out # only the new tail is written
cost += (ctx - new) * PRICE['cr'] + new * PRICE['cw5']
else:
cost += ctx * PRICE['inp']
cost += model_out * PRICE['out']
tin += ctx; tout += model_out
ctx += tool_out + model_out
return cost / 1e6, tin, tout, ctx
for cached in (False, True):
c, tin, tout, final = session_tokens(cached=cached)
print(f"cached={cached}: input tokens processed={tin:,} output={tout:,} final ctx={final:,} token cost=${c:.2f}")
running_hours = 1.5
print(f"Managed Agents runtime fee: {running_hours} h x $0.08 = ${running_hours*RUNTIME_PER_HR:.2f}")
# AgentCore Runtime (arm, consumption) for the Bedrock-hosted tool sandbox -- illustrative utilisation
vcpu_hr, gb_hr = 0.1276, 0.0169
wall_h, vcpu, gb, cpu_active = 1.5, 1, 2, 0.15
cpu_cost = vcpu * vcpu_hr * wall_h * cpu_active
mem_cost = gb * gb_hr * wall_h
print(f"AgentCore arm sandbox: CPU ${cpu_cost:.4f} + memory ${mem_cost:.4f} = ${cpu_cost+mem_cost:.4f}")
n = 2000
c_cached = session_tokens(cached=True)[0]
print(f"Fleet {n}: tokens ${n*c_cached:,.0f}, Anthropic runtime ${n*running_hours*RUNTIME_PER_HR:,.0f}, "
f"AgentCore sandbox ${n*(cpu_cost+mem_cost):,.0f}")
Running it prints the following (verified this run):
cached=False: input tokens processed=7,572,000 output=36,000 final ctx=236,000 token cost=$31.01
cached=True: input tokens processed=7,572,000 output=36,000 final ctx=236,000 token cost=$3.35
Managed Agents runtime fee: 1.5 h x $0.08 = $0.12
AgentCore arm sandbox: CPU $0.0287 + memory $0.0507 = $0.0794
Fleet 2000: tokens $6,700, Anthropic runtime $240, AgentCore sandbox $159
Reading the numbers
The session is illustrative: 60 agent steps, a 20,000-token system prompt and tool schema, 3,000 tokens of tool output and 600 output tokens per step. That is a modest coding task. Even so, the agent processes about 7.6 million input tokens, because every step re-reads the growing context. Without caching, that costs about $31. With caching, the same work costs about $3.35, a reduction of roughly 89%.
The runtime fee on Anthropic’s platform is $0.12 for 1.5 running hours, about 3.5% of the cached token bill. On Bedrock, the comparable line is the AgentCore container. Using AWS’s published arm prices ($0.1276 per vCPU-hour and $0.0169 per GB-hour) and an assumed 15% CPU-active ratio, it comes to about 8 cents. AgentCore bills CPU per second and scales it to zero during I/O wait, but memory is billed for the whole time the microVM lives. The 15% ratio is an assumption, not a measurement.
Across 2,000 such sessions a month, tokens cost about $6,700, against $240 of Anthropic runtime or roughly $159 of AgentCore sandbox. The conclusion is robust to the assumptions: harness hosting is a rounding error, and caching discipline decides the bill. That is an argument for using a managed harness that caches correctly, wherever it runs. For current per-model token prices across vendors, see our LLM API pricing tracker for December 2026.
Costs that keep running when sessions stop
The Bedrock docs list costs that persist after sessions end: ECR storage for the tool runner image and CloudWatch Logs storage. Session transcripts and memory stores are retained until deleted. The final context in the model above reaches 236,000 tokens, which is past where most teams would want compaction to start; the harness compacts automatically, but a self-built loop would need its own policy here.
The missing session budget is the sharpest cost gap for Claude Managed Agents on Bedrock. On Anthropic’s API, a session can carry a budget with a max_list_cost, and the session pauses with stop reason budget_reached when it hits the cap. On Bedrock, budget is refused. AWS’s advice is to total token usage from span.model_request_end events yourself and send user.interrupt at your limit. Build that guard before you let any agent run unattended.
Comparing the Options: Bedrock AgentCore vs Claude Managed Agents and the Rest
“AgentCore or Claude Managed Agents” is a false choice on Bedrock, because the managed agent product runs its tools on AgentCore Runtime and calls MCP through AgentCore Gateway. The real choice is who owns the loop. With Claude Managed Agents on Bedrock, AWS runs Anthropic’s harness for you. With AgentCore alone, you bring a loop such as Strands, LangGraph or the Claude Agent SDK and AgentCore hosts it.

Figure 4: A decision tree for choosing an agent runtime, driven by data boundary, preview feature gaps and model flexibility.
The tree starts with the data boundary because that is the question AWS and Anthropic themselves use to separate their products. Anthropic’s Claude Platform on AWS announcement says Bedrock is the choice when AWS must be the data processor inside the AWS boundary. Claude Platform on AWS gets every native feature the same day but is operated by Anthropic with data processed outside that boundary.
| Criterion | Claude Managed Agents on Bedrock (preview) | Claude Managed Agents on Claude API / Claude Platform on AWS | AgentCore Runtime + your loop | Self-hosted Claude Agent SDK | Bedrock Managed Agents powered by OpenAI |
|---|---|---|---|---|---|
| Who operates the harness | AWS | Anthropic | You (loop), AWS (hosting) | You | AWS, OpenAI harness |
| Where tools run | Your account: AgentCore or your host | Anthropic cloud sandbox or self-hosted | Your AgentCore microVM | Wherever you run it | AgentCore by default |
| Models | Claude on Bedrock | Claude | Any Bedrock or external model | Claude via API, Bedrock or Vertex | OpenAI models |
| Web search/fetch built in | No | Yes | Via Gateway tools | Yes | Not verified |
| Session budgets, vaults, webhooks | No | Yes (beta) | Build yourself | Build yourself | Not verified |
| Service fee | None in preview | $0.08 per running session-hour | AgentCore metering | None | Not verified |
| Status | Preview, Dec 1, 2026 | Beta since Apr 8, 2026 | GA | GA libraries | Limited preview, Apr 28, 2026 |
When each one wins
Pick Claude Managed Agents on Bedrock when the AWS boundary is mandatory, your agents are Claude-only, and you can live without web tools, vaults and budgets for now. Regulated firms that already route every model call through Bedrock get Anthropic’s loop without a second data processor. KnowBe4 and Above Security, quoted on the AWS page, reported moving existing agents with little or no rework.
Pick the Claude API or Claude Platform on AWS edition when you want the full feature set today: outcomes, scheduled deployments, newer multi-agent types, vaults and session budgets. Claude Platform on AWS keeps AWS billing and IAM while giving same-day betas.
Pick AgentCore with your own loop when you need non-Claude models, custom planning logic, or deterministic orchestration graphs. Our guide to multi-agent orchestration with MCP, A2A and LangGraph covers those patterns. Running the Claude Agent SDK yourself makes sense when the agent must sit next to private code or hardware, and you accept owning recovery, isolation and cost guards.
Trade-offs, Gotchas, and What Goes Wrong
Prompt injection through tools is the top risk, and policies do not fix it. AWS states that disabling bash or using always_ask does not limit what an allowed command can do. A poisoned README can steer Claude into a command that reads the tool runner role’s credentials from the metadata service and posts them to an allowed host. Enforcement belongs in IAM, network egress controls and the target systems, not the system prompt. Our agentic AI prompt injection analysis and MCP tool-poisoning threat model go deeper.
Allow-lists are per host, not per operation. Anthropic’s environment docs warn that any request to an allowed host is permitted, including git push or package publishing. Allowing github.com for clones also allows exfiltration to a repository the attacker controls.
Session IDs are not secrets. On Bedrock, anyone holding bedrock-agentcore:InvokeAgentRuntime on the runtime can reach a sandbox by session ID. Grant that action to the session role only.
Shared S3 mounts leak across sessions. Storage mounted on a runtime is visible to every session of that runtime and role. A writable folder written by one session is read by the next. Scope folders with ${aws:AgentCoreRuntimeSourceSid} and mount skills read-only.
Long sessions drift in cost, not just in quality. Without a server-side budget on Bedrock, a looping agent re-reads an ever-larger context on every step. Cache misses multiply that by roughly nine, per the model above.
Data residency is subtler than “stays in AWS.” Tool results, including any file contents a tool reads, flow into the service and the transcript. Transcripts persist until deleted, the product is not ZDR- or HIPAA-eligible on Anthropic’s side, and on Bedrock the inference profile prefix decides where model calls are served. A global. profile is not a residency control.
Lock-in is real but shallow. The Claude Managed Agents API shape is Anthropic’s, the same on both platforms, so moving between Bedrock and Anthropic’s API is mostly authentication and feature gaps. Moving to a non-Claude model means leaving the product entirely.
Practical Recommendations
Treat Claude Managed Agents on Bedrock as a strong candidate for internal, Claude-only, long-running agents where AWS must be the data processor. Do not yet treat it as a multi-tenant platform for end users, because per-user isolation and on-behalf-of identity are missing. Plan your architecture as if the tool runner were an untrusted workload with your role attached, because functionally it is.
Start with one agent, one AgentCore Runtime in VPC mode, and a minimal tool runner role. Put every credentialed action behind an AgentCore Gateway target that validates the model’s arguments. Set bash to always_ask for anything that touches production, and reserve auto for read-heavy tools. Build the budget guard before the first unattended run, and test resume behaviour by deliberately killing a container mid-task.
On cost, instrument cache hit rate from day one for every Claude Managed Agents session; it is the number that moves your bill. On governance, wire CloudTrail and CloudWatch per agent and delete finished sessions and memory stores on a schedule, since retention is indefinite by default. Finally, assume API fields and IAM action names may change before GA, and keep a thin adapter between your code and the SDK. Add trajectory-level evaluation before you widen access.
- [ ] Run the tool runner in VPC network mode with a domain allow-list firewall.
- [ ] Grant the tool runner role only
bedrock:CreateAnthropicSessionConnectionplus scoped S3. - [ ] Route credentialed calls through AgentCore Gateway; never put secrets in prompts or metadata.
- [ ] Set
always_askon bash for production-affecting agents; logevaluated_permissionon every call. - [ ] Implement a token budget from
span.model_request_endevents and interrupt at the cap. - [ ] Separate runtimes and roles per trust level; scope S3 folders per session.
- [ ] Schedule deletion of sessions, memory stores, stale ECR images and logs.
Frequently Asked Questions
What is Claude Managed Agents?
Claude Managed Agents is Anthropic’s hosted agent harness, launched in public beta on April 8, 2026. It runs the agent loop, tool execution and runtime for you, so Claude can read and write files, run commands and call tools inside a managed or self-hosted sandbox. You define an agent once (model, system prompt, tools, MCP servers, skills), start sessions against it, and exchange events over server-sent events. The service keeps the session history, applies prompt caching and compaction, and lets you steer or interrupt a running session mid-task.
Is Claude Managed Agents on Amazon Bedrock generally available?
No. AWS announced Claude Managed Agents for Amazon Bedrock in preview on December 1, 2026, in 14 AWS Regions across North America, South America, Europe and Asia Pacific. AWS provides it as a Beta Service, and says the API, IAM action names and endpoints can change before general availability. Pricing may also change at GA. There are no audit rights during the preview, and several features available on Anthropic’s own API, such as web tools, vaults and session budgets, are not yet supported on Bedrock.
How much does Claude Managed Agents cost?
On Anthropic’s Claude API, you pay standard token prices plus $0.08 per session-hour, counted only while a session is running. Web search costs $10 per 1,000 searches. On Amazon Bedrock, AWS charges nothing extra for the service during the preview. You pay for Claude model usage at Bedrock prices, AgentCore Runtime time, S3 storage, ECR image storage and CloudWatch Logs. In realistic sessions, tokens dominate: the runtime fee is usually a few percent of the total, and prompt caching matters far more.
What is the difference between Bedrock AgentCore and Claude Managed Agents?
AgentCore is a set of AWS building blocks (Runtime, Memory, Gateway, Identity) for hosting an agent loop you write yourself, with any model or framework. Claude Managed Agents supplies the loop itself, Anthropic’s harness tuned for Claude, with sessions, events and permission policies. On Bedrock the two combine: the managed harness runs its tools on an AgentCore Runtime in your account and reaches MCP tools through AgentCore Gateway. Choose AgentCore alone when you need non-Claude models or custom orchestration.
Does data stay in my AWS account with Claude Managed Agents on Bedrock?
Partly. Tools, files and code run in your AWS account, and session transcripts and memory stores are kept in an AWS service account, encrypted, and not shared with Anthropic. However, the conversation, tool calls and tool results, including the contents of any file a tool reads, are sent to the service. Transcripts persist until you delete the session. The model’s inference profile prefix, such as us. or eu., determines where model calls can be served, so pick it deliberately.
Can Claude Managed Agents on Bedrock search the web or use any MCP server?
Not directly in the preview. The built-in web_search and web_fetch tools are refused on Bedrock; AWS suggests the Web Search Tool through an AgentCore Gateway instead. MCP servers cannot be added by URL either. You register them as targets on an AgentCore Gateway and name the gateway in the agent’s mcp_servers. This keeps MCP credentials out of the sandbox, which is a security benefit. It also means every external tool needs gateway setup before the agent can use it.
Further Reading
- OpenAI Agents API public beta: managed sandboxes versus self-hosted — the competing hosted harness, compared on isolation and cost.
- AWS IAM for agents vs STS GetScopedCredentials vs AgentCore Identity — how to scope the session and tool runner roles.
- Multi-agent orchestration with MCP, A2A and LangGraph — when a coordinator session is not enough.
- Anthropic’s Model Context Protocol architecture — the protocol behind the gateway-based tool calls.
- Claude Managed Agents for Amazon Bedrock, AWS user guide — concepts, hosting options, IAM and regions.
- Anthropic engineering: Managed Agents design — the brain, hands and session log architecture.
By Riju — about
