The Local LLM Agent is an AI-powered tool designed to automate complex and time-consuming tasks directly on your device. By Levaraging the capabilites of LLM's ability to attend
to relavant chunks of data, this tool can autonomously complete entire workflows, saving you hours of manual effort. The agent is capable of recursive self-calling, allowing it to self-correct and achieve the tasks presented in the query.
My tool encompasses a system similar to that of a chatbot. No external coding expertise is required nor explicit creation of various agents is required. Just one single prompt will kick off the workflow, and the agent will continuosly work towards fullfilling the user's request, And just like a chatbot, you can look at the work done and get it modified if you are dissatisfied
- GUI (Provides intermediary outputs at every step)
- TERMINAL (Light Weight Alternative)
joke-generator.-.Made.with.Clipchamp.mp4
Research.-.Made.with.Clipchamp.mp4
- Develop Web Applications & Games: The agent can design and build fully functional web applications and games, saving them directly to your system.
- Automatic Code Debugging: The agent can analyze, debug, and fix code by interacting with your local environment.
- Self-Correction: The agent evaluates compiler outputs, rewrites faulty code, and re-executes it to achieve success.
- Manage Files Seamlessly: The agent can search, update, delete, and create files/folders on your system. The agent can also open files as well.
- Local Environment Access: It interacts with Python environment to run scripts.
- GitHub Integration: Push code changes, create repositories, or manage version control seamlessly.
- Example: Automatically push your latest project updates to GitHub.
- Analyze Data Locally: The agent can analyze CSV or other datasets and generate charts or visualizations.
- Example: Create a line graph comparing sales data over time.
- Internet Search Functionality: The agent can search the web for real-time information, news, or technical resources.
- Conduct research on any topic and summarize the findings or draft blog posts.
Search and download pictures and Generate pictures: The agent has a picture tool using which it can download pictures and generate pictures on the fly.
The Local LLM Agent is not just for high-level tasks; it excels at automating day-to-day repetitive activities, saving you hours of manual work.
SOME EXAMPLES ARE:
PPT/PDF Preparation:
Prepare a PPT about a topic within seconds with just a simple promptPDF Merging:
Combine multiple PDF files into one with a simple command.URL Shortening:
Shorten long URLs for sharing.File Sorting:
Automatically move, rename, or delete files based on predefined conditions (e.g., file type, date created).
You can ask the Local LLM Agent to perform virtually any task by providing a comprehensive and clear prompt. Whether you need to develop an application, shorten URLs, or merge files, the agent will autonomously work through the task until it is completed successfully.
With just a single prompt, the Local LLM Agent can create a fully functional Tic Tac Toe game featuring a smart AI opponent.
The Agent provides investment advice by thoroughly examining stock trends, plotting graphs, and running ML models to predict the stock price for the coming days.
To start using the Local LLM Agent, follow these steps:
- Clone the Repository: First, clone the repository to your local machine using the following command:
git clone https://github.com/vishnugamini/LLMAgent
- Navigate to the Project Directory: Move into the project directory:
cd local-llm-agent
- Create a
.env
File: Create a.env
file in the root directory of the project and include your OpenAI and Preplexity(to browse the internet(optional)) API keys. The.env
file should look like this:OPENAPI_KEY = "your-openai-api-key" PERPLEXITY_API = "your-perplexity-api-key"
- Install Dependencies: Install the necessary Python dependencies by running:
pip install -r requirements.txt
- Run the Agent: Start the agent by executing the following command:
python app.py
http://localhost:5000/
python interact_AGENT.py
- Interact with the Agent: Once the agent is running, you can start interacting with it through the terminal. You can give it tasks like "Create a Tic Tac Toe game" or "Debug this piece of code," and the agent will handle everything from development to debugging and even self-correction.
Here, The agent is tasked to create a ppt about AI with a beautiful template.
Starts of with a web search about templates for ppt
Tries to create a ppt using a python framwork but realizes that the framework does not exist
Uses the install tool to install the python-pptx framework
proceeds to create the ppt