A hands-on learning repository for building production-ready AI agents using AWS Bedrock, Strands SDK, and Amazon Bedrock AgentCore.
This repository contains tutorials and examples demonstrating how to build, deploy, and monitor agentic AI applications using:
- Amazon Bedrock - Managed foundation models
- Strands SDK - Python framework for building AI agents
- Bedrock AgentCore - Serverless runtime for production deployment
├── ecommerce_agent/ # Production e-commerce support agent
│ ├── main.py # Agent implementation with tools, memory, and guardrails
│ └── requirements.txt # Python dependencies
├── images/ # Architecture diagrams and screenshots
├── sessions/ # Agent session data (gitignored)
├── 1_introduction.ipynb # GenAI & AWS Bedrock basics
├── 2_strands_core_concepts.ipynb # Agent loops, state, sessions
├── 3_tools.ipynb # Python tools, MCP, executors
├── 3.1-lambda-agentcore-gateway.ipynb # Gateway integration
├── 4_multi_agent_patterns.ipynb # Multi-agent orchestration
├── 5_observability.ipynb # Monitoring and telemetry
├── 6_gaurdrail.ipynb # Content filtering and safety
└── 7_deployment.ipynb # Production deployment
The sample agent (ecommerce_agent/main.py) demonstrates:
- Guardrails - Content filtering and PII protection
- Memory - AgentCore Memory for conversation context
- Tools - MCP gateway integration + custom Python tools
- Observability - OpenTelemetry integration with Langfuse
- OAuth - M2M authentication for gateway access
- AWS Account with Bedrock access
- Python 3.10+
- AWS CLI configured
- IAM permissions for Bedrock runtime
# Install dependencies
pip install strands-agents bedrock-agentcore boto3
# Run notebooks
jupyter notebook 1_introduction.ipynb
# Deploy agent
cd ecommerce_agent
python main.py- Introduction - GenAI fundamentals and Bedrock basics
- Core Concepts - Agent loops, state management, sessions
- Tools - Integrate Python functions and MCP servers
- Multi-Agent - Swarm, workflow, and graph patterns
- Observability - Traces, metrics, and monitoring
- Guardrails - Safety and compliance controls
- Deployment - Production deployment with AgentCore
Agentic AI - Autonomous systems that perceive, reason, act, and learn to achieve goals without constant human oversight.
Strands SDK - Framework providing agent loops, tool orchestration, memory management, and multi-agent patterns.
AgentCore - Serverless runtime offering managed execution, memory, identity, and observability for production agents.