Skip to content

Latest commit

Β 

History

History
152 lines (107 loc) Β· 9.71 KB

README.md

File metadata and controls

152 lines (107 loc) Β· 9.71 KB

Amazon Bedrock Agent SamplesΒ 

πŸ‘‹ πŸ‘‹ Welcome to the Amazon Bedrock Agent Samples repository πŸ‘‹ πŸ‘‹

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 the Amazon Bedrock multi-agent collaboration feature you can plan and execute complex tasks across different agents using the supervisor collaboration mode. As well as have an unified conversation across agents with built-in intent classification using the supervisor with routing collaboration mode and fallback to the supervisor mode when an intention cannot be detected. Amazon Bedrock Agents will provide you with traces to observe your agents behavior across multi-agent flows and with the 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/amazon-bedrock-agents/
β”‚   β”œβ”€β”€ code_assistant_agent/
β”‚   β”œβ”€β”€ human_resources_agent/
β”‚   β”œβ”€β”€ inline_agent/
|   └── ....
β”œβ”€β”€ examples/amazon-bedrock-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.

Amazon Bedrock Agents examples

Amazon Bedrock Multi-agent collaboration examples

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:

πŸ”— 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 πŸ’ͺ

Stargazers ⭐

Stargazers repo roster for @awslabs/amazon-bedrock-agent-samples

Forkers πŸ™Œ

Forkers repo roster for @awslabs/amazon-bedrock-agent-samples