
Who is calling, and for whom
The agent calls with its own scoped token, and the MCP server calls your API with its own. Token exchange puts the customer in the token, with the agent recorded as the actor.
Lambda durable functions
Save each model call and tool call as a step, replay after a failure without repeating a payment, and wait for a person to approve with no compute running.
From a Lambda function to Amazon Bedrock AgentCore
Start with an agent loop in a Lambda function, and add managed pieces such as Runtime, Gateway, Identity and Memory when your own version becomes something you maintain.
The integrations you already use
Put agents on the event bus you already have. A queue in front keeps the agent under its model quota, and an archive lets you replay last week's events against a new prompt or model.
AWS knowledge and skills for your coding agent
Install it in the coding agent you already use, with its rules file and the skills for what you build. Calls through the AWS MCP Server are tagged, so IAM policies can limit what the agent does with your credentials.
Write your app down, set the boundaries
An agent onboards every session, so write down what a new hire would need. Then set the guardrails it works within, instead of approving every step.
AI for judgement, checks for the rest
Walk your pipeline stage by stage and decide what an agent can take, with guardrails, and where a person still decides. Use a model only where you need judgement, and the smallest one that does the job.
AWS Lambda MicroVMs
Give each agent session its own isolated virtual machine, with only the credentials the job needs, so it can build, run and test before there is a pull request.
Before you ship and in production
Run the same evaluators on a dataset when a prompt, model, tool or skill changes, and on a sample of live traffic to catch drift.
Patterns, guides and videos
Serverless patterns, workflows and learning resources, including more re:Invent 2026 sessions.
Your app as a tool
An MCP server on a Lambda Web Function
Add an MCP server beside the API you already have. Expose tasks rather than routes, write tool descriptions and errors a model can act on, and test them with evals.