Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/build-on-aws/agents-for-amazon-bedrock-sample-feature-notebooks
Sample code for features of Agents for Amazon Bedrock
https://github.com/build-on-aws/agents-for-amazon-bedrock-sample-feature-notebooks
amazon-bedrock amazon-bedrock-agents generative-ai
Last synced: 11 days ago
JSON representation
Sample code for features of Agents for Amazon Bedrock
- Host: GitHub
- URL: https://github.com/build-on-aws/agents-for-amazon-bedrock-sample-feature-notebooks
- Owner: build-on-aws
- License: mit-0
- Created: 2024-07-17T15:22:47.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-17T15:42:48.000Z (6 months ago)
- Last Synced: 2024-12-17T17:40:49.101Z (20 days ago)
- Topics: amazon-bedrock, amazon-bedrock-agents, generative-ai
- Language: Jupyter Notebook
- Homepage:
- Size: 11.7 KB
- Stars: 16
- Watchers: 10
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
## Agents for Amazon Bedrock Feature Samples
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.
## Notebooks
1. `preview-agent-code-interpreter.ipynb`: Demonstrates how to set up and use an Amazon Bedrock Agent with Code Interpreter capabilities.
2. `preview-agent-long-memory.ipynb`: Shows how to create an Amazon Bedrock Agent with long-term memory functionality.## Features Demonstrated
### Code Interpreter Agent
- 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### Long-Term Memory Agent
- 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## Prerequisites
- 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## Setup
1. Clone this repository
2. Install the required Python libraries
3. Set up your AWS credentials
4. Open the notebooks in Jupyter and follow the instructions within## Usage
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.
## Important Notes
- 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.## Disclaimer
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.
## Security
See [CONTRIBUTING](CONTRIBUTING.md#security-issue-notifications) for more information.
## License
This library is licensed under the MIT-0 License. See the LICENSE file.