WhoBuilt

Ship it! Building Production Ready Agents

Jun 27, 2025· 20 min· 2.5K views·Watch on YouTube

Speaker

Mike Chambers, a generative AI developer advocate at Amazon Web Services, shows AI Engineer attendees how to take a simple agent from a local Python demo to a cloud hosted agent using Amazon Bedrock.

A local agent rolls for initiative

Chambers demonstrates a single file Python agent with a dice rolling tool, using a Llama 3.1 8B model on his laptop. Given the request to roll for initiative and add a Dexterity modifier of five, it rolls a D20, gets 10, and returns 15.

The parts an agent needs

Chambers identifies the model, instructions, an agent loop, conversational history, and tools as the fundamentals of a minimum viable agent. History lets the agent keep track of its reasoning and tool calls as it handles each step, not just remember earlier conversations.

Mapping agent components to AWS

Amazon Bedrock provides access to models from providers including Amazon, Anthropic, Meta, Mistral, and AI21 Labs. Chambers uses fully managed Amazon Bedrock Agents for the instructions, loop, and history, and action groups to connect tools hosted in AWS Lambda.

Building and preparing the agent

Chambers walks through configuring a tabletop RPG agent in the AWS console, selecting Anthropic Haiku 3.5 and defining a dice rolling action group with a required integer parameter for the number of sides. He adds Python code to the generated Lambda function, deploys it, prepares the agent, and tests a natural language request that returns a roll of 15. He notes that the same setup can be done with infrastructure as code tools such as Terraform, Pulumi, CloudFormation, and SAM.

Where to learn more

Chambers points attendees to free DeepLearning.AI courses and an AWS environment for trying Amazon Bedrock Agents. He also offers to discuss MCP servers at cloud scale and an open source SDK for model first agents.

Takeaways

  • Start with a small agent and a specific tool to make its input, action, and result easy to inspect.
  • Treat conversational history as part of the agent’s operation because each step depends on earlier reasoning and tool calls.
  • Write clear tool and parameter descriptions so a model can decide when and how to use an action.
  • Use managed services for the agent loop and history, and host callable tool logic in Lambda when that fits the workload.
  • Prototype in the console if useful, then use infrastructure as code for repeatable setup.

Mentioned in this talk

Search inside this talk

What was claimed 9

Show all 9 facts

Related talks