Deploy Amazon Bedrock AgentCore resources using AWS CDK in Python or TypeScript.
| Language | Description | Samples |
|---|---|---|
| Python | Familiar syntax for Python developers, quick prototyping | 4 samples |
| TypeScript | Strong typing, rich npm ecosystem, compile-time checks | 1 sample |
- AWS CLI configured
- AWS CDK CLI installed:
npm install -g aws-cdk - Access to Amazon Bedrock AgentCore
- Python 3.8+
- AWS CDK v2.218.0+
- Node.js 18+ and npm
- AWS CDK v2.236.0+ (for BedrockAgentCore alpha support)
- Docker installed and running
| Sample | Description |
|---|---|
| basic-runtime | Simple agent deployment |
| multi-agent-runtime | Multi-agent system with agent-to-agent communication |
| mcp-server-agentcore-runtime | MCP Server with JWT authentication |
| end-to-end-weather-agent | Weather agent with tools and memory |
| Sample | Description |
|---|---|
| knowledge-base-rag-agent | Full-stack RAG agent with Knowledge Base, OpenSearch Serverless, web interface, and Cognito authentication |
- DockerImageAsset - Automatic container building without CodeBuild
- Construct reusability - Share and compose infrastructure patterns
- Type safety - IDE support and compile-time error checking
- Faster iterations - Quicker deployment times
- Programmatic logic - Loops, conditionals, and abstractions