AI-Powered S3 Management
Agentic-S3 is an intelligent assistant built with the LangChain agentic framework, designed to simplify AWS S3 management through natural language. It enables seamless interaction with your S3 buckets and objects, making cloud storage operations faster, smarter, and more intuitive.
- Conversational S3 Management: Manage buckets and objects using plain English commands.
- Powered by Gemini AI: Understands and processes your queries intelligently.
- Gradio Web Interface: Intuitive UI for seamless, user-friendly interaction.
I can help you manage your AWS S3 storage. Here's what I can do:
- 🪣 List Buckets — View all your AWS S3 buckets
- 📁 Show Objects — Display objects inside a specific bucket
- ⬆️ Upload Files — Send files to any bucket
- ⬇️ Download Files — Retrieve files from a bucket and store them in the source dictionary
- 🔍 Search Objects — Find files by name or metadata
- 🧠 Explain Contents — Get insights into file contents or types
- 🏷️ Retrieve Metadata — Access metadata of stored objects
- ❌ Delete Files — Remove unwanted files from buckets
-
Clone the repository:
git clone https://github.com/akalaric/agentic-S3.git
-
Navigate to the project directory:
cd agentic-S3 -
Install the required dependencies: Ensure
uvis installed.uv sync
- Obtain AWS access key ID, secret access key, and region from the AWS Management Console and configure your credentials using the .env_example file as a template
- Ensure these credentials have appropriate permission READ/WRITE permissions for S3.
- Set up environment variables using the
.env_examplefile:- Copy
.env_exampleto.env:cp .env_example .env
- Edit
.envto include your AWS credentials and Gemini API key.
- Copy
- Alternatively, this can be configured in the UI by collapsing the sidebar.
- Launch the Gradio app:
python main.py --ui
- Open the web interface in your browser and start interacting with your S3 storage using natural language.
- Intuitive interface built with Gradio.
- Collapse the sidebar for setting up AWS Credentials and Gemini API key
- To run the tool directly from the command line:
python main.pyTo build and run the application using Docker, follow these steps:
-
Build the Docker image:
docker build -t agentic-s3 . -
Run the Docker container:
docker run -p 7860:7860 agentic-s3
This will start the application and expose it on port 7860, allowing you to access the Gradio web interface through your browser.
Feel free to give feedback. The e-mail address is shown if you execute this in a shell:
printf "\x61\x6b\x61\x6c\x61\x72\x69\x63\x31\x40\x6f\x75\x74\x6c\x6f\x6f\x6b\x2e\x63\x6f\x6d\x0a"