Examples Overview
A collection of sample implementations to help you get started with Strands Agents. From simple agents to complex multi-agent systems, each example illustrates key concepts and patterns you can adapt for your own projects.
Getting Started
Section titled “Getting Started”- Set up the SDK for your language:
- Python quickstart (Python 3.10+, pip)
- TypeScript quickstart (Node.js 20+, npm)
- Configure AWS credentials for Amazon Bedrock (covered in both quickstart guides above), or set up an alternative model provider
- Clone the examples:
Terminal window git clone https://github.com/strands-agents/docs.gitcd docs/docs/examples - Browse the examples below and follow the instructions in each one
Agent Examples
Section titled “Agent Examples”| Example | Description | Python | TypeScript |
|---|---|---|---|
| Structured Output | Type-safe, validated responses | ✅ | ✅ |
| Agents Workflows | Sequential agent workflow pattern | ✅ | |
| CLI Reference Agent | Command-line reference agent | ✅ | |
| File Operations | File manipulation capabilities | ✅ | |
| Graph Loops | Graph orchestration with loops | ✅ | |
| Knowledge Base Agent | Knowledge base retrieval | ✅ | |
| MCP Calculator | Model Context Protocol capabilities | ✅ | |
| Memory Agent | Persistent memory | ✅ | |
| Meta Tooling | Meta tooling capabilities | ✅ | |
| Multi-Agent Example | Multi-agent system | ✅ | |
| Multimodal | Multimodal capabilities | ✅ | |
| Weather Forecaster | Weather forecasting agent | ✅ |
Deployment Examples
Section titled “Deployment Examples”Also see Operating Agents in Production for best practices on security, monitoring, and scaling.
| Guide | Description | Python | TypeScript |
|---|---|---|---|
| Bedrock AgentCore | Serverless agent runtime | ✅ | ✅ |
| Docker | Containerized deployment | ✅ | ✅ |
| AWS Lambda | Serverless compute | ✅ | |
| AWS Fargate | Serverless containers | ✅ | |
| AWS App Runner | Managed web applications | ✅ | |
| Amazon EC2 | Virtual machines | ✅ | |
| Amazon EKS | Managed Kubernetes | ✅ | |
| Kubernetes | Self-managed Kubernetes | ✅ |