Auto-GPT: Easiest Way to Install & Set up

You'll have to cover some prerequisites beforehand

Reading time icon 6 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team Read more

Key notes

  • Auto-GPT is dubbed the future of artificial intelligence.
  • It can handle tasks autonomously without the need for human intervention.
  • The tool is still in development, so if you want to install it locally, get your hands dirty with some code.
how-to-install-auto-gpt

Artificial intelligence is pretty much on everyone’s mind these days. With ChatGPT taking the web by storm, we can’t help but talk about the next big thing. Auto-GPT is the latest AI-powered that has us talking. In this article, you’ll learn how to install Auto-GPT, what you can use it for, and how it differs from its competition.

What is Auto-GPT?

Auto-GPT is designed to perform tasks with little human intervention and act autonomously with self-prompts. It’s considered the first glimpse into artificial general intelligence (AGI) – AI that can perform human-level intellectual tasks.

Auto-GPT, driven by GPT (Generative pre-trained transformer), can generate natural language content and complete tasks by itself due to its AI agent feature.

The AI agents inside the tool’s architecture are programmed to act and solve problems per predetermined rules and objectives. In short, the GPT can act independently without needing a human to prompt its every action.

It manages to do so by employing an autonomous AI mechanism – it breaks down the task (initial prompt) into multiple subtasks and creates an AI agent to handle each one of them.

These include a task creation agent, a task prioritization agent, and a task execution agent. The three handle different subparts of the task and communicate with one another until the goal is reached.

The prospects sure sound exciting, right? However, it doesn’t come without flaws: the project is still experimental, requires programming knowledge (and possibly payment), and is reported to produce errors and not-so-engaging content.

What are Auto-GPT prerequisites to install?

Unlike its predecessor ChatGPT, which requires an internet connection and an account, if you want to use Auto-GPT, you must get your hands dirty with some code. Auto-GPT is an open-source free AI software available on GitHub.

You can download it and install it on your PC to use locally. Before that, you’ll need to download and enable:

  • Python 3.8 or newer version: Make sure you have only one version of the library installed on your PC, as it could result in an error otherwise.
  • Git
  • An OpenAI API key: Auto-GPT is accessible with the GPT-3.5 and 4 models. Join the waitlist for the latter if you wish to get better performance and lower the risk of AI hallucinating.
  • A Pinecone API key (optional): if you want to retrieve information, you can use a long-term memory library. Pinecone is among the most popular databases and requires just a free sign-up to create an API key. Keep in mind that due to high demand, there’s currently a waiting list.
  • An ElevenLabs key (optional): This will allow Auto-GPT to speak back using AI text-to-speech.

Since the AI tool is still under development, you can only access it just like a developer would. Don’t worry; we’ll guide you through each step of the process. Here’s a detailed guide on how to install Auto-GPT on your Windows PC.

How do I install Auto-GPT?

1. Install Python

  1. Go to Python’s website and download a version newer than 3.8.python-auto-gpt
  2. Click on the version compatible with your OS specs and download the file.python-install-auto-gpt
  3. Open the wizard and check the box next to the Add python.exe to PATH option. Then click on Install Now to complete the installation.install-python-auto-gpt

2. Install Git

  1. Go to Git’s website and download the Windows version.download-git-auto-gpt
  2. Follow the on-screen prompts (leave everything on default settings) and finish the installation process.

3. Create your OpenAI API key.

  1. Visit OpenAI’s website and log in.
  2. Click on Personal in the upper right corner and choose View API keys from the drop-down menu.openai-api-key
  3. Click on Create new secret key.create-new-secret-key
  4. Copy it from the green button and paste it into a text file. You’ll need it later in the setup process.install-autogpt

4. Clone Auto-GPT’s repository

  1. Open GitHub’s Auto-GPT page. Make sure you’re on the Significant-Gravitas version.
  2. Click on the green button named Code and copy the directory. Save it in the same text file from before for later.copy-github-code

5. Create a folder for your Auto-GPT agent

  1. Open your Documents folder and create a new folder called Auto-GPT.auto-gpt-install
  2. Copy the location and paste it into your text file to save for later.

Alternatively, you can create the folder on your desktop. Don’t choose root C: drive, though, as currently, there are some issues with Auto-GPT writing files there.

6. Run Windows PowerShell

  1. In order to get the tool running, you need to open Windows PowerShell. Press the Windows key, search for Windows PowerShell, and click on Run as administrator.auto-gpt-install-powershell
  2. Paste the following command, including your folder directory (replace user with your username) and click Enter: cd C: \Users\user\Documents\Auto-GPTauto-gpt-install-locally
  3. Clone the GitHub repository to your machine. To do so, type the following command and click Enter: git clone https://github.com/Significant-Gravitas/Auto-GPT.gitauto-gpt-clone-github
  4. Check if you’ve created the Auto-GPT folder by typing this command followed by pressing Enter: lsauto-gpt-locally
  5. Minimize the PowerShell window.

7. Edit your .env.template file

  1. Open your Auto-GPT folder and locate the .env.template file. Double-click on it and open it with Notepad.auto-gpt-env
  2. Navigate to the OpenAI API key option and paste your generated OpenAI API key without adding anything.install-autogpt-openai-key
  3. Save your file. Rename it from .env.template to just .env.rename-env-template-file
  4. Make sure it’s saved as a .env file.env-file-auto-gpt
  5. Confirm by clicking Yes in the pop-up message.env-file-template

Note that if you’ve chosen to add Pinecone and Eleven labs keys, this is where you have to replace them as well. Just locate the specific lines in the document and replace the values with your generated keys.

8. Install Auto-GPT requirements

  1. Open the PowerShell window. Type the following command and press Enter: pip install -r requirements.txtinstall-requirements
  2. Wait for the process to finish; it could take some time.

9. Run Auto-GPT

  1. Launch Auto-GPT by running the following command in your PowerShell window: .\run.batrun-command
  2. Alternatively, you may use the following command: python -m autogpt
  3. You should get the following message: install-gpt

Congrats! All that’s left now is to enjoy using your Auto-GPT tool. Though it mostly works under a paid account.

So if you want to use it for more complex purposes or even more often, you must add your billing details and set up spending limits.

Keep in mind that the app uses a lot of tokens, so those on a tight budget looking for an affordable AI tool might be out of luck. We hope that answers your wondering about whether Auto-GPT is free!

Tip icon Tip
Currently, ChatGPT has no usage limits on its free version. So, you might want to learn how ChatGPT measures up against Auto-GPT and whether it’s more suitable for your needs.

So, that’s how to install Auto-GPT locally on your PC. Did you manage to do it?

If you’ve encountered any difficulties or errors along the way, don’t be afraid to reach out in the comment section below. As always, we’re happy to hear from you and provide any further assistance you may need.

More about the topics: AI, artificial intelligence