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

Claude Managed Agents on Amazon Bedrock and the Claude API

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’s public product page for its hosted agent service
Claude Managed Agents

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.

PartWhat you configure or receiveIn the Fibonacci example
AgentA reusable definition with a model, instructions, tools, skills and optional external tool servers connected through the Model Context Protocol (MCP).The coding assistant can write files and run shell commands. Its definition can be reused by ID.
EnvironmentThe configuration for the sandbox, including where tools run and which network destinations they can reach.The example permits package managers while restricting other network access.
SessionOne instance of the agent working in an environment. It keeps its conversation and files across turns.A follow-up asking for a different output format belongs in the session that contains the script.
EventsMessages between your app and the service, including user requests, tool activity and status changes.Your app can show progress while the script runs and see when the session goes idle.
An agent definition and an environment plan feed one session, with a two-way slot for events
Reuse the definition across jobs. Send follow-up instructions to the session doing the work.

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.

  1. 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.
  2. 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.
Bash
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}
        ]
      }
    ]
  }'
  1. 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.
  2. Open the session’s event stream before sending the user.message event. Ask for the Python script that generates the first 20 Fibonacci numbers and saves them to fibonacci.txt. Watch for agent.tool_use as Claude works and agent.message for its reply. The quickstart stops listening at session.status_idle.
  3. 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.
Four library landings show the order for opening the stream, sending a task, watching tools and receiving idle status
Open the stream first so your app can follow the work from the first tool call.

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
Related Articles
Harness Tuned for One Model, Run on Another: What Google's Papers Measured

Harness Tuned for One Model, Run on Another: What Google's Papers Measured

Google's Harness² papers, read closely: what happened when a harness met a new model, what carries over, and a first-week checklist for switching models.Dec 1, 2026Build
Claude Buddy: What Happened to the Terminal Pet?

Claude Buddy: What Happened to the Terminal Pet?

Why /buddy stopped working in Claude Code, what the maintainer said, and how to tell the terminal pet from Anthropic’s Desktop Buddy hardware project.Dec 1, 2026Build
NotebookLM MCP

NotebookLM MCP

Connect Claude Code to Google's NotebookLM MCP server. See who can use it, how to add sources, and which community tools can answer notebook questions.Dec 1, 2026Build
Grok Build TUI: How to bring your terminal work across

Grok Build TUI: How to bring your terminal work across

Which command brings your settings or sessions into Grok Build, how Cursor’s harness runs workflows, and what stays on your laptop when you steer from iOS.Dec 1, 2026Build
Claude Code CLI: How to Start and When to Use Desktop or VS Code

Claude Code CLI: How to Start and When to Use Desktop or VS Code

Install Claude Code in your shell, approve your first edit, and choose between the terminal, the desktop Code tab and the VS Code extension.Dec 1, 2026Build
Cursor to Grok Build: What Changes for Your Team

Cursor to Grok Build: What Changes for Your Team

Keep your editor, sessions and third-party models. See what the Agents Window beta adds and which Cursor mentions to change on December 7.Nov 30, 2026Build
Claude Ultracode

Claude Ultracode

Use Claude Code’s ultracode setting for one task, one session or every launch. See which jobs justify parallel agents and how to watch your plan usage.Nov 30, 2026Build
Gemini Enterprise Agent Platform: What It Is, What It Costs, and How to Start

Gemini Enterprise Agent Platform: What It Is, What It Costs, and How to Start

Find the new names for Vertex AI services, see how the platform differs from employee-facing Gemini Enterprise, and follow Google’s first agent quickstart.Nov 30, 2026Build
Newsletter

One letter, every Sunday.Working systems, not hot takes.

Weekly. No spam. Unsubscribe anytime.