Claude Managed Agents for Amazon Bedrock: one agent, custom tools
AWS runs the agent loop; the script defines the agent, answers its tools and cleans up.
AWS Cloud
Region us-east-1
Region set by profile
Presenter
quickstart.py
runs the custom tools
IAM session role
trusts bedrock.amazonaws.com
Claude Managed Agents
agent, session, agent loop
Amazon Bedrock
inference profile
us.anthropic.claude-sonnet-5-5
Claude Sonnet 5.5
model inference
1
2
3
4
5
6
1
2
3
4
5
6
LINES
Signed API requests and model calls
Create and delete the role
Assume role
FLOW
The script creates the IAM session role, tagged ManagedAgentsExecutionRole.
It creates an agent and a session with SigV4-signed HTTPS requests, then sends the task.
The service assumes the session role for the session.
The agent loop calls Claude through the inference profile, as the session role.
The profile routes the call to a US Region it selects.
Each custom tool call returns to the script, which runs it and sends the result back.