Create your first agent with system prompts
Examples
Runnable, end-to-end examples to learn from and adapt. Pick one below, open it on GitHub, and run it. Each is self-contained.
LearnPython
Build custom tools and connect MCP servers
Run a local Ollama model, reach Azure OpenAI via LiteLLM, and call OpenAI on Amazon Bedrock
Stream responses in async/FastAPI apps
Add content filtering with Bedrock Guardrails
Persist agent memory across sessions
Connect to Knowledge Bases and DynamoDB
Trace with Langfuse, evaluate with RAGAS
Build real-time voice agents
Compose agents as callable tools
Build self-organizing agent teams
Create deterministic agent workflows
Implement approval workflows with human oversight
Build reusable plugins that bundle hooks, tools, and state
Load specialized instructions on demand with skills
Tour the full hook lifecycle and use writable fields to control agent behavior
Control agent message history with sliding window, null, and summarizing strategies
Build a self-extending, self-modifying, autonomous agent and deploy it (6 steps, AIM308)
Get validated, typed Pydantic objects back from agents instead of free-form text
Persist agent state across restarts with pluggable backends
DeployPython
Deploy agents as serverless functions
Run agents in serverless containers
Host agents on purpose-built runtime
This tutorial demonstrates how to use the Strands Agents SDK to build and deploy a multi-agent system on Amazon Bedrock AgentCore. You will create three specialized agents, each running in its own managed runtime, that discover and communic
IntegratePython
Amazon Aurora DSQL is a serverless, distributed relational database service optimized for transactional workloads. Aurora DSQL offers virtually unlimited scale and doesn't require you to manage infrastructure. The active-active highly avail
Amazon Neptune is a fully managed graph database service by Amazon Web Services (AWS). It's designed to store and query billions of relationships with low latency, making it suitable for applications that rely on highly connected datasets.
Supabase is an open-source Firebase alternative providing all the backend services you need to build a product: a PostgreSQL database, authentication, instant APIs, edge functions, realtime subscriptions, and storage. This integration demon
Example for integrating Strands Agent with Alice WonderFence for adaptive, real-time protection of production AI systems.
Example for integrating Strands Agent with Meta's Llama Firewall for local model-based input filtering and safety checks.
Example for integrating Strands Agent with NVIDIA NeMo Guardrails for configurable, rule-based content filtering and conversation flow control.
Minimal proof-of-concept for a personal dining assistant agent using Zep AI's graph-based memory and the Strands framework.
This integration demonstrates how to use Strands Agents with OpenInference and Arize AI for observability. The example builds a restaurant assistant agent that helps customers with restaurant information and reservations.
An example Strands agent that helps with searching AWS documentation.
This sample demonstrates Strands' native support for the Agent-to-Agent (A2A) protocol, showcasing how to create both A2A servers and clients for inter-agent communication.
A conversational AI agent that demonstrates the full power of Exa's search and content extraction capabilities through a practical research workflow using Strands Agents.
Amazon Nova Act is an AI model trained to perform actions within a web browser. Nova Act is currently in research preview and can be accesed via the Nova Act SDK on Amazon Nova. Nova Act is an agentic model which can accept natural language
This tutorial is designed for Python developers who want to empower their Strands agents with real-time web access, enabling agents to utilize up-to-date information as context. Live web information is critical for AI agents tasked with per
The Amazon Nova Sonic model provides real-time, conversational interactions through bidirectional audio streaming, enabling natural, human-like conversational experiences.
Industry Use CasesPython
Multi-agent swarm system that autonomously generates comprehensive equity research reports with stock analysis, financial metrics, and news sentiment tracking
Wealth advisory tool suite with Streamlit UI for client meeting analysis, portfolio performance tracking, and PDF report generation using MCP and Graph patterns
Three-part workshop teaching Strands agent fundamentals through personal budget analysis and expense tracking
WhatsApp for Business integration with multi-agent architecture handling daily promotions, credit card transactions, and payment scheduling
Clinical document processing agent that extracts diagnoses, medications, and treatments, enriching them with ICD-10, RxNorm, and SNOMED CT medical codes
Airline customer service demonstrating four orchestration patterns (ReAct, REWOO, REWOO-ReAct Hybrid, Reflexion) using GraphBuilder with tau-bench dataset
Autonomous agent that creates complete advertising campaigns and pays for premium services using cryptocurrency and blockchain integration
Startup advisory swarm agent for market research, competitive analysis, and campaign copywriting using Perplexity MCP server for web search
Multi-modal email assistant with RAG pipeline for document ingestion (audio, video, text) and AI image generation for enterprise communication
Productivity assistant using agents-as-tools pattern with calendar management, coding REPL, and web search via Perplexity MCP
Self-improving autonomous research agent with hot-reload tool creation, persistent memory, and multi-model support (Bedrock, OpenAI, Ollama)
Agile development assistant that converts meeting notes and sprint planning discussions into structured, actionable JIRA tickets
Restaurant assistant using Amazon Bedrock Knowledge Bases for menu recommendations, table reservations, and customer interaction management
Natural language interface for AWS data engineering with Streamlit UI - manage AWS Glue ETL jobs, Athena SQL queries, and EMR clusters via MCP
AWS cloud resource management assistant using Model Context Protocol (MCP) for infrastructure operations
AWS compliance auditor that checks EC2, S3, IAM, and other resources against security best practices and generates remediation reports
Coding companion with Python REPL, shell access, and file editing capabilities for development workflows
Multi-agent system for SQLite query optimization with OpenTelemetry observability logging and collaborative agent coordination
Event-driven Lambda error diagnostics using CDK, EventBridge, and Bedrock Knowledge Base RAG for root cause analysis with confidence scoring
Multi-agent SRE incident response system that detects CloudWatch alarms, performs AI-powered root cause analysis, applies Kubernetes/Helm remediations, and posts Slack incident reports
Technical Use CasesPython
An agent that picks the best Pokémon for competitive team building. Demonstrates three Strands features working together:
An Adaptive Structured RAG agent that converts natural language questions into SQL queries with self-correcting feedback loops. This agent features dual-mode support for both local SQLite databases and AWS Athena, and intelligent error hand
This project demonstrates a Corrective Retrieval-Augmented Generation (RAG) system built using Strand Agents. The system is designed to identify low relevance responses to users questions responses and automatically refine queries or respon
This project demonstrates how to build an intelligent RAG system that can route queries between structured and unstructured knowledge bases using Strands Agents.
Demonstrates different approaches to controlling AI agent behavior with a librarian agent. Users can chat with the agent, ask questions, and request to renew a book.
EvaluatePython
This tutorial demonstrates how to systematically compare different language models in production agent systems through A/B testing. Learn to build multiple agent variants, evaluate them on identical tasks, and make data-driven model selecti
This tutorial introduces the complete toolkit of built-in evaluators provided by Strands Evals. You'll learn how to measure different aspects of agent performance using standardized evaluation metrics, from response quality to tool selectio
This tutorial teaches you how to create custom evaluators for domain-specific evaluation criteria. You'll learn to design rubrics, extend the base Evaluator class, and implement multi-metric evaluation workflows tailored to your specific re
This tutorial demonstrates automated test case generation for agent evaluation using the Strands Evals DatasetGenerator API. Learn how to generate diverse, high-quality test datasets and persist them for reuse across evaluation runs.
This tutorial demonstrates comprehensive evaluation of multi-agent systems where multiple specialized agents collaborate to complete complex tasks. You'll learn to assess individual agent performance, collective system outcomes, and the qua
This tutorial demonstrates how to use ActorSimulator to evaluate conversational agents through realistic multi-turn interactions. Learn how to create AI-powered user personas, test agents with diverse behaviors, and implement production-rea
This tutorial demonstrates how to evaluate agent trajectories - the sequences of tool calls, reasoning steps, and decisions agents make to complete tasks. Learn to evaluate not just what agents produce, but how they think and execute.
UX DemosPython
A sample demonstrating how to build rich, interactive AI chat experiences using Strands Agents SDK with AG-UI protocol and CopilotKit frontend. The sample app is an AgentCore documentation assistant that helps users learn about Amazon Bedro
An order approval system that demonstrates human-in-the-loop workflows using Strands Agents' interrupt/resume pattern. A multi-agent graph evaluates incoming orders — assessing risk factors like customer history, order value, and inventory
A lightweight conversational AI agent built with Strands SDK that assists facility managers and building operators with HVAC (Heating, Ventilation, and Air Conditioning) data analytics in physical smart buildings. The agent queries relevant
This sample application demonstrates a simple chat assistant built with Strands that has two basic tools available: a calculator and a timer. Once installed into a Slack workspace, the app backend can be run on a development machine in sock
A web-based interactive playground for experimenting with the Strands SDK, allowing users to quickly test and prototype AI agents with configurable system prompts, model parameters, and tool selection. The Strands Playground provides the us
This app demonstrates how to build and deploy a GenAI agent with a web user interface using Streamlit and AWS CDK. While the demo uses a simple appointment management agent (described in the agent description section), the main focus is on
> A demonstration of AI-powered medical triage using structured decision tree navigation
> [!IMPORTANT] > ⚡ Enhanced Deployment Option: This solution can also be deployed using Amazon Bedrock AgentCore - Agentic platform to build, deploy and operate agents securely at scale using any framework and model. > > 🔥 Deploy with Amaz
EdgePython
An AI-powered control system for Boston Dynamics Spot robots using the Strands framework. Works with any LLM supported by Strands (Claude, GPT-4, Llama, etc.).
LearnTypeScript
Create your first agent
Build custom tools
Configure different model providers
Stream responses (Coming Soon)
Manage agent state
Build browser-based agents
DeployTypeScript
Host agents on purpose-built runtime