Skip to content

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.

  1. Set up the SDK for your language:
  2. Configure AWS credentials for Amazon Bedrock (covered in both quickstart guides above), or set up an alternative model provider
  3. Clone the examples:
    Terminal window
    git clone https://github.com/strands-agents/docs.git
    cd docs/docs/examples
  4. Browse the examples below and follow the instructions in each one
ExampleDescriptionPythonTypeScript
Structured OutputType-safe, validated responses
Agents WorkflowsSequential agent workflow pattern
CLI Reference AgentCommand-line reference agent
File OperationsFile manipulation capabilities
Graph LoopsGraph orchestration with loops
Knowledge Base AgentKnowledge base retrieval
MCP CalculatorModel Context Protocol capabilities
Memory AgentPersistent memory
Meta ToolingMeta tooling capabilities
Multi-Agent ExampleMulti-agent system
MultimodalMultimodal capabilities
Weather ForecasterWeather forecasting agent

Also see Operating Agents in Production for best practices on security, monitoring, and scaling.

GuideDescriptionPythonTypeScript
Bedrock AgentCoreServerless agent runtime
DockerContainerized deployment
AWS LambdaServerless compute
AWS FargateServerless containers
AWS App RunnerManaged web applications
Amazon EC2Virtual machines
Amazon EKSManaged Kubernetes
KubernetesSelf-managed Kubernetes