This repository contains Jupyter notebooks demonstrating the use of Amazon Bedrock Agents. These notebooks correspond to YouTube videos and blogs that explain and showcase different features of Amazon Bedrock Agents.
preview-agent-code-interpreter.ipynb
: Demonstrates how to set up and use an Amazon Bedrock Agent with Code Interpreter capabilities.preview-agent-long-memory.ipynb
: Shows how to create an Amazon Bedrock Agent with long-term memory functionality.
- Setting up an AWS Bedrock Agent with Code Interpreter
- Configuring the agent to use Claude 3 Sonnet as the foundation model
- Interacting with the agent to perform tasks like:
- Calculating Fibonacci sequences
- Plotting graphs
- Analyzing and visualizing sample data
- Creating an AWS Bedrock Agent with long-term memory capabilities
- Using Claude 3 Haiku as the foundation model
- Demonstrating how the agent retains information across multiple chat sessions
- AWS account with access to Amazon Bedrock
- Enabled access to required models in region (Anthropic Claude 3 Sonnet and Haiku)
- Python 3.x
- Jupyter Notebook
- Required Python libraries: boto3==1.34.144, matplotlib
- Clone this repository
- Install the required Python libraries
- Set up your AWS credentials
- Open the notebooks in Jupyter and follow the instructions within
Each notebook contains step-by-step instructions for creating, interacting with, and cleaning up the Bedrock Agents. They include explanations of the code and concepts, making them suitable for both learning and experimentation.
- These notebooks use features that may be in preview at the time of creation. Check the current status of Amazon Bedrock features before use.
- Remember to run the cleanup cells at the end of each notebook to remove created resources and avoid unnecessary charges.
The code in this repository is for demonstration purposes. Ensure you understand the AWS pricing for Bedrock and related services before running these notebooks in your own environment.
See CONTRIBUTING for more information.
This library is licensed under the MIT-0 License. See the LICENSE file.