Module 11 Amazon Bedrock AgentCore - akash-coded/aws-bedrock-agentcore-strands GitHub Wiki
Runtime, memory, identity, gateway, observability โ agents as deployed services.
Module 11 of 16 ยท track Ship ยท Estimated time: 8โ10 hours ยท Prerequisites: Modules 05โ06. Module 08 for the LangGraph deployment.
Everything so far ran in a notebook. AgentCore is how an agent becomes a service with an identity, a memory store, a gateway, traces and a bill. This module deploys agents three ways โ Strands, LangGraph, and no framework at all โ so you can see the runtime is framework-agnostic.
Open the module on GitHub โ: the slides, notebooks, exercises and solutions are there. This page is the reading order, with the tutorial and the workbench alongside.
The lesson that frames this module is P3 Run & Learn: How to Run an AI Agent in Production Safely (7 min): what running an agent as a service asks of the team. Then try the two-number report builder in the workbench: the same decision, with your numbers.
- Deploy an agent to AgentCore Runtime and invoke it as a service
- Wire AgentCore Memory and reason about retention
- Configure identity and tool access with least privilege
- Route traffic through the gateway and read the traces
- Estimate runtime cost and capacity before you commit
| Portable GenAI concepts | AWS-specific surface |
|---|---|
| Agent as a service | Bedrock AgentCore Runtime |
| Session and identity | AgentCore Memory |
| Observability | AgentCore Identity |
| Harness engineering | AgentCore Gateway |
| AgentCore Observability | |
| CloudWatch | |
| IAM | |
| CDK |
Portable concepts transfer to any stack. The AWS column is where this module touches the cloud โ see docs/concepts/portability-matrix.md.
๐ read ๐ป run โ๏ธ practise ๐ workbook ๐ reference
These exercises are graded against a rubric rather than an answer key. Each one is a fresh domain (not TravelMind) with layered Base / Stretch / Advanced targets, and each ends with:
- a self-check rubric scored out of 100, so you can grade your own work honestly
- a pass/fail LLM-integrated task that is required regardless of how far you got
- facilitator and TA notes in an appendix, if you are running this for a group
README_exercises.md explains how the three map onto the notebooks.
src/MyFirstRuntimeAgent is a complete CDK-managed AgentCore project โ app code, infrastructure, and configuration.
- Deploying without a memory retention decision. Storage grows, and so does the bill.
- Over-broad IAM on the runtime role. Scope tools to what the agent actually needs.
- Skipping observability until something breaks in production.
Every error anyone has hit in this course is in the Error Index, by the exact string. Model access and region problems are in Model and Region Notes. If it is a question rather than an error, check the answered ones first, then ask in Q&A.
Frameworks
- Blast Radius Grid โ Scope identity per tool, not per agent
- Cost Cliff Map โ What bills while it exists, and what bills per use
- Reversibility Test โ Four things must roll back together
Quick reference
- AgentCore โ The five primitives
- IAM for agents โ Least privilege that actually holds
- Observability โ The three vital signs
Recipes and procedures
- Deploy any agent to AgentCore โ Framework-agnostic deploy path
โ Module 10 ยท RAG, OpenSearch and LiteLLM ยท All modules ยท Module 12 ยท A2A and A2UI: Agent Interoperability โ
โ๏ธ This page is generated from modules/11-bedrock-agentcore/README.md. To change it, edit the module README: an edit made here is replaced at the next sync.