AgentCore Labs
Python workspaces (uv). Labs 1–3 are local mocks; 4–10 use AWS.
Supervisor Graph
lab-01-supervisor-graph
# lab-01-supervisor-graph
Build a minimal LangGraph supervisor with mocked workers (local only).
## Run
```bash
uv run python src/agent.py
```
## Test
```bash
uv run pytest tests/
```
## AWS
Lo
Stategraph Routing
lab-02-stategraph-routing
# lab-02-stategraph-routing
Conditional edges and checkpointed state without AWS.
## Run
```bash
uv run python src/agent.py
```
## Test
```bash
uv run pytest tests/
```
## AWS
Local only — no A
Mock Bedrock Client
lab-03-mock-bedrock-client
# lab-03-mock-bedrock-client
Mock Bedrock client for deterministic tests.
## Run
```bash
uv run python src/agent.py
```
## Test
```bash
uv run pytest tests/
```
## AWS
Local only — no AWS accou
Runtime Deploy
lab-04-runtime-deploy
# lab-04-runtime-deploy
Package and deploy to AgentCore Runtime (AWS account required).
## Run
```bash
uv run python src/agent.py
```
## Test
```bash
uv run pytest tests/
```
## AWS
Requires AW
Memory Session
lab-05-memory-session
# lab-05-memory-session
Short-term session memory with AgentCore Memory.
## Run
```bash
uv run python src/agent.py
```
## Test
```bash
uv run pytest tests/
```
## AWS
Requires AWS credentials a
Memory Longterm
lab-06-memory-longterm
# lab-06-memory-longterm
Long-term semantic recall patterns.
## Run
```bash
uv run python src/agent.py
```
## Test
```bash
uv run pytest tests/
```
## AWS
Requires AWS credentials and IAM per R
Identity Delegate
lab-07-identity-delegate
# lab-07-identity-delegate
Workload identity and scoped tool tokens.
## Run
```bash
uv run python src/agent.py
```
## Test
```bash
uv run pytest tests/
```
## AWS
Requires AWS credentials and I
Gateway Rest
lab-08-gateway-rest
# lab-08-gateway-rest
Gateway tool targeting a REST API.
## Run
```bash
uv run python src/agent.py
```
## Test
```bash
uv run pytest tests/
```
## AWS
Requires AWS credentials and IAM per READM
Gateway Mcp
lab-09-gateway-mcp
# lab-09-gateway-mcp
Gateway exposing an MCP server as tools.
## Run
```bash
uv run python src/agent.py
```
## Test
```bash
uv run pytest tests/
```
## AWS
Requires AWS credentials and IAM per
Capstone Triage
lab-10-capstone-triage
# lab-10-capstone-triage
Full multi-agent triage with teardown script.
## Run
```bash
uv run python src/agent.py
```
## Test
```bash
uv run pytest tests/
```
## AWS
Requires AWS credentials and