Table of Contents
In this article, you will learn how to install Auto GPT. Firstly, what is Auto GPT? It is a revolutionary autonomous AI agent. Simply it is an app designed to complete any goal you set automatically, using AI with the power of GPT-3.5 and GPT-4, using memory management, and seamless access to the internet.
Ask it to create a business, code an application or do some other tedious tasks while you get on with your life.
Auto GPT is a new application with regular updates from the quickly growing community. It is an awesome showcase of what is to come for the future of AI and AGI (Artificial General Intelligence). There are regular updates to Auto GPT. If you are returning to this guide or have already installed it make sure to do a ‘git pull’ on your Auto GPT repository so that you get the latest version.
Just recently, they announced they would be adding a web GUI for the Auto GPT on their official website Auto GPT. You can register for early access now!
Auto GPT Features
Internet Access for Searches and Information Gathering
If you have used Chat GPT, you will know not having internet access is a pain and a feature everyone has been waiting for. Install Auto GPT, and now you have Chat-GPT with the internet! Auto GPT has a powerful built-in search engine capability to scrape the internet and find relevant information quickly and efficiently.
Auto GPT can gather data from multiple sources across the web, ensuring it can pass the most recent and relevant information for Chat-GPT to consume.
Long-Term and Short-Term Memory Management
Auto GPT leverages an innovative memory management system to store long-term and short-term information. This feature enables the app to remember user preferences, past searches, and other contextual information, making it a personalized and efficient assistant.
By default, Auto GPT uses local storage management but has the ability to use popular vector databases such as Pinecone, Milvus, Redis, and Weaviate (Update: These vector databases have been disabled in release 0.4.0 due to issues; see the release notes).
Auto GPT utilizes GPT-4
If you are one of the lucky people to have access to GPT 4 API, then you can use Auto GPT this feature allows the app to provide users with high-quality responses, suggestions, and summaries for various tasks, from simple queries to complex problem-solving.
Internet Access to Popular Websites and Platforms
The app is designed to work seamlessly with popular websites and platforms such as social media, e-commerce, news, and more. This integration enables Auto GPT to easily navigate and interact with these platforms, making Auto GPT an up-to-date Chat-GPT as the current model of Chat-GPT is only trained on data up until 2021.
File Storage and Summarization with GPT 3.5
Auto GPT provides a convenient file storage system allowing Auto GPT to store important documents, images, and other files. Then can interact with them later when needed. The app also leverages GPT-3.5 to offer a summarization feature, enabling efficient token usage.
How to Install Auto GPT
This guide is the easiest way to install Auto GPT for users without experience coding. The optional headings are for users who have already installed some of the software. If installing Auto GPT for the first time, follow all the steps in this guide.
Auto GPT has updated how they prefer it to be installed inside a docker container. I will write a guide for that soon.
Step 1: Start PowerShell
To install Auto GPT and run it, we will use PowerShell, it is available on all Windows computers.
Start PowerShell as Administrator. You can do this by searching for “PowerShell” in the Start menu, right-clicking on the result, and selecting “Run as administrator.”
All commands in this instruction will be run from the PowerShell prompt.
Step 2: Install Chocolatey (Optional)
Chocolatey is a package manager for Windows that can be used to install Python and Git. If you already have Python and Git installed, skip to Step 5. To install Chocolatey, run the following command:
Set-ExecutionPolicy Bypass -Scope Process -Force; ` [System.Net.ServicePointManager]::SecurityProtocol = ` [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ` ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
Step 3: Install Python (Optional)
If you don’t have Python installed, run the following command:
choco install python -y
Step 4: Install Git (Optional)
If you don’t have Git installed, run the following command:
choco install git.install
Step 5: Install Auto GPT
To install Auto GPT, follow these steps:
Clone the Auto GPT repo by running this command:
git clone -b stable https://github.com/Significant-Gravitas/Auto-GPT.git
Change directory to the Auto GPT directory:
Install Auto GPT dependencies by running the following command:
pip install -r requirements.txt
Congratulations! You have now installed Auto GPT. The next step is to configure Auto GPT.
Step 6: Configure Auto GPT to Use Your API Key
Copy the environment template to make the .env configuration file:
copy .\.env.template .\.env
Get a Chat-GPT API key by browsing https://platform.openai.com/account/api-keys. This requires a paid account, and using Auto GPT will cost money per token usage, I made sure to set a usage limit as to not accidentally spend too much.
Select “Create new secret key,” give the key a meaningful name, for example, “Auto-GPT,” and copy the key to the clipboard.
Warning: Do not share your API key with anyone!
Edit the .env file to use the OPENAI API key:
### OPENAI # OPENAI_API_KEY - OpenAI API Key (Example: my-openai-api-key) # TEMPERATURE - Sets temperature in OpenAI (Default: 0) # USE_AZURE - Use Azure OpenAI or not (Default: False) OPENAI_API_KEY=Paste your key here TEMPERATURE=0 USE_AZURE=False
The .env file has many options to configure, and if you wish to add other API’s you can do that now, but for simplicity, I will leave those configurations out in this guide.
Step 7: Run Auto GPT
From the Auto GPT directory in PowerShell, run main.py by typing:
How To Use Auto GPT
You have installed Auto GPT! If you successfully installed Auto GPT you should now be prompted to give a name to the agent and give it a goal to complete.
After each of Auto GPT’s actions, type the next command “y” and press Enter to authorize it to continue. If you don’t want to be prompted after each time you can type y -n for the number of times you want it to continue for example y -10 to continue 10 times without being prompted for permission.
To exit the program, type “exit” and press Enter.
To end the program if you have set it to run a number of times press CTRL + C.
Further Auto GPT Configuration
There are many more options for configuration. See the GitHub repo at Significant-Gravitas/Auto-GPT and for news and updates.
Auto GPT Demo
An impressive demo from one the active community members showcasing Auto GPT researching information about itself on the web and writing that information locally to a file on the user’s computer.
Auto GPT Alternatives
Agent GPT is another autonomous AI agent contained within a web browser. If you don’t want to install Auto GPT, another popular app inspired by Auto GPT is Agent GPT, you can use it within your browser and have to configure your OpenAI API key, and off you go.
For the task I ran it failed to complete my task and got the information wrong, see the screenshot below. Make sure you are careful when providing your API key to third-party sites. I created a new OpenAI API key for Agent GPT and deleted the key after testing.
Imagine a Python script that’s like your personal AI-powered task manager. This system, powered by OpenAI and vector databases like Chroma or Weaviate, is designed to create, prioritize, and execute tasks. The beauty of this system lies in its ability to generate jobs based on the outcomes of previous jobs and a set objective.
Leveraging OpenAI’s natural language processing (NLP) capabilities, it crafts new tasks in line with the objective. Chroma or Weaviate come into play to store and retrieve the results of these tasks, providing context for future jobs. This system is a streamlined version of the original Task-Driven Autonomous Agent, which was introduced on March 28, 2023.
Just like Auto GPT, this system is designed to be autonomous, using AI to complete any goal you set. It’s like having your own personal assistant that can handle various tasks while you focus on other aspects of your life. Whether it’s creating a business, coding an application, or handling other tedious tasks, this system has got you covered.
The system is constantly updated and improved, like Auto GPT, which receives regular updates from its rapidly growing community. It’s an exciting glimpse into the future of AI and AGI (Artificial General Intelligence).
If you’re interested in this kind of AI-powered automation, you might also want to check out my guide on installing BabyAGI, another powerful tool in the world of AI.
This Python script is more than just a task manager. It’s a tool that uses the power of AI to make your life easier and more efficient. It’s the future of task management, and it’s here today.
SuperAGI is an advanced version of AutoGPT, boasting features like tool usage, parallel agent operation, a graphical user interface, and ease of installation. Although it is still under development and has some flaws according to its GitHub page, the user experience appears to be well-refined for a new AI tool. You can read more about SuperAGI on our guide that aims to navigate users through the installation and usage processes of SuperAGI.
SuperAGI is my personally favorite autonomous agent! Checkout our comparison on Auto GPT vs SuperAGI.
In summary, Auto GPT is a promising and innovative app in its beta stage that seeks to harness the potential of AI to streamline and enhance your digital life. While there is still room for improvement, its advanced language model, integration with popular platforms, and intelligent memory management showcase its potential to become the ultimate tool to automate every task one could desire.
Since writing this installation guide, there have been many updates and improvements. This information is relevant as of the 16th of October 2023. Auto GPT’s current release of version 0.4.7, consisting of many changes on the backend and improvements.
The Auto GPT project is transforming from a small open-source project from one developer to a full fledge open-source project.
Thanks for reading. I will update this article as Auto GPT improves.
My name is Lachie, I am a System Administrator, Software Developer, and AI enthusiast, you can read about how I am using Chat GPT to greatly Improve my life.
If you need help with the installation process or more guidance, please comment below. I am here to assist you in installing Auto GPT. Your questions and feedback are very important to us and the community.