e746bf7764
adding scripts for agentcore features; jupyter notebooks moved to workshops; reorganising folders
Python CDK Samples
Deploy Amazon Bedrock AgentCore resources using AWS CDK with Python.
Prerequisites
- Python 3.8+
- AWS CDK v2.218.0 or later (for BedrockAgentCore support)
- AWS CLI configured
- Access to Amazon Bedrock AgentCore
npm install -g aws-cdk
General Deployment Pattern
cd <sample-directory>
pip install -r requirements.txt
cdk deploy
Samples
- basic-runtime/ - Simple agent deployment
- multi-agent-runtime/ - Multi-agent system
- mcp-server-agentcore-runtime/ - MCP Server with JWT authentication
- end-to-end-weather-agent/ - Weather agent with tools and memory
Python CDK Advantages
- Uses
DockerImageAssetfor container building (no CodeBuild needed) - Cleaner construct separation and reusability
- Type hints with IDE support
- Familiar syntax for Python developers
- Faster deployment times