ExitAmazon Bedrock AgentCore: Deploying and invoking a Runtime agent1 / 9
Explanationassociate9 steps · 4 exercises

Two paths to a hosted agent

How to package agent code for AgentCore Runtime and invoke it from an application using authenticated requests and a consistent session ID for follow-up turns.

AgentCore Runtime hosts your agent code. Your code still decides how to handle a turn, which model to call, and what actions to take. Runtime provides the environment in which that code runs.

Keep deployment separate from invocation. In this example, deployment supplies a container image; invocation supplies a user's input to the deployed agent. The account card represents the hosted Runtime endpoint. The arrows show what reaches that endpoint, not the responses or setup calls.

Built imageDeployment imageSigned session requests
Build the agent imageAWS CodeBuild
Agent image repositoryAmazon Elastic Container Registry (Amazon ECR)
Calling applicationAWS Lambda
AWS account hosting the AgentCore Runtime endpointAWS account

Stage 1 of 5: AWS CodeBuild packages the agent code and its dependencies into a container image.

Next up: Trace a request on what you just read.

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.