This extension provides several Tools for AWS.
import boto3
from griptape.structures import Agent
from griptape.aws.tools import AwsS3Tool
# Initialize the AWS S3 client
aws_s3_client = AwsS3Tool(session=boto3.Session(), off_prompt=True)
# Create an agent with the AWS S3 client tool
agent = Agent(tools=[aws_s3_client])
# Task to list all the AWS S3 buckets
agent.run("List all my S3 buckets.")
Poetry:
poetry add https://github.com/griptape-ai/griptape-aws.git
Pip:
pip install git+https://github.com/griptape-ai/griptape-aws.git