Skip to content
Projects

awslabs/amazon-bedrock-agent-samples

View on GitHub

awslabs/amazon-bedrock-agent-samples has 814 GitHub stars and 281 forks. Star changes are not measured yet. Last checked 2026-11-11 04:28 UTC. Last push 2026-04-05.

How these counts are measured

Example Jupyter notebooks 📓 and code scripts 💻 for using Amazon Bedrock Agents 🤖 and its functionalities

Measured star growth

in 24h
Update delayed
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

Amazon Bedrock Agent Samples 

:wave: :wave: Welcome to the Amazon Bedrock Agent Samples repository :wave: :wave:

[!CAUTION] The examples provided in this repository are for experimental and educational purposes only. They demonstrate concepts and techniques but are not intended for direct use in production environments. Make sure to have Amazon Bedrock Guardrails in place to protect against prompt injection.

This repository provides examples and best practices for working with Amazon Bedrock Agents.

Amazon Bedrock Agents enables you to automate complex workflows, build robust and scalable end-to-end solutions from experimentation to production and quickly adapt to new models and experiments.

With Amazon Bedrock multi-agent collaboration you can plan and execute complex tasks across agents using supervisor mode. You can also have unified conversations across agents with built-in intent classification using the supervisor with routing mode and fallback to supervisor mode when a single intention cannot be detected. Amazon Bedrock Agents provides you with traces to observe your agents' behavior across multi-agent flows and provides guardrails, security and privacy that are standard across Amazon Bedrock features.

architecture

Demo Video


This one-hour video takes you through a deep dive introduction to Amazon Bedrock multi-agent collaboration, including a pair of demos, and a walkthrough of Unifying customer experiences, and Automating complex processes. You’ll also see a customer explain their experience with multi-agent solutions.

� Table of Contents �

Overview

Amazon Bedrock Agents enables you to create AI-powered assistants that can perform complex tasks and interact with various APIs and services.

This repository provides practical examples to help you understand and implement agentic solutions.

The solutions presented here use the boto3 SDK in Python, however, you can create Bedrock Agents solutions using any of the AWS SDKs for C++, Go, Java, JavaScript, Kotlin, .NET, PHP, Ruby, Rust, SAP ABAP or Swift

Repository Structure

├── examples/agents/
│   ├── agent_with_code_interpretation/
│   ├── user_confirmation_agents/
│   ├── inline_agent/
|   └── ....
├── examples/multi_agent_collaboration/
│   ├── 00_hello_world_agent/
│   ├── devops_agent/
│   ├── energy_efficiency_management_agent/
|   └── ....
├── src/shared/
│   ├── working_memory/
│   ├── stock_data/
│   ├── web_search/
|   └── ....
├── src/utils/
│   ├── bedrock_agent_helper.py
|   ├── bedrock_agent.py
|   ├── knowledge_base_helper.py
|   └── ....

Getting Started

  1. Navigate to src/ for more details.
  2. To get started, navigate to the example you want to deploy in the examples/* directory.
  3. Follow the deployment steps in the examples/*/*/README.md file of the example.

Agents examples

Multi-agent collaboration examples

UX Demos

Best Practices

The code samples highlighted in this repository focus on showcasing different Amazon Bedrock Agents capabilities.

Please check out our two-part blog series for best practices around building generative AI applications with Amazon Bedrock Agents:

Understand Bedrock Multi-agents Collaboration concepts by reading our blog post written by Bedrock Agent's science team

🔗 Related Links:

Security

See CONTRIBUTING for more information.

License

This project is licensed under the Apache-2.0 License.

[!IMPORTANT] Examples in this repository are for demonstration purposes. Ensure proper security and testing when deploying to production environments.

Contributors :muscle:

Stargazers :star:

Forkers :raised_hands:

Explore related projects