Home > Tips and Tricks

How to Install and Use AutoGPT

Ever since Open AI’s ChatGPT was made public, numerous tools and services came forward to adopt its API and create their own offerings. However, it goes without saying that the Auto-GPT is the best one out there that uses OpenAI’s GPT-4 and ChatGPT application programming interface (API) models to perform numerous autonomous tasks. So with that said, let’s make you aware of the steps to install and use AutoGPT on your PC right away.

How to Install and Use AutoGPT

install and use autogpt

Auto-GPT works best with ChatGPT 4 API. However, if you don’t have it and don’t wish to join the waitlist either, then you could also use the free GPT-3.5 API [as it worked quite well with this free API too]. So on that note, let’s get started.

STEP 1: Install Python

  1. To begin with, download and install Python from here. Make sure to checkmark Add Python to Path before installing.install autogpt
  2. Now go to the folder where you have installed Python. The default location is [change username accordingly]:
    C:\Users\username\AppData\Local\Programs\Python\Python311
  3. Go to that folder’s address bar, type in CMD, and hit Enter. This will launch Command Prompt.
  4. Now type in the below command and make sure you are getting the same version that you had earlier installed:
    python --version

    install autogpt

  5. You will now have to upgrade PIP, so type in the below command:
    python -m pip install -U pip

    install autogpt

STEP 2: Set UP AutoGPT

  1. First off, go to OpenAI’s website and click on “Create a new secret key“.
  2. Copy this key to a safe place as you wouldn’t be able to view it again.install autogpt
  3. Then download and extract the Source Code of AutoGPT on your PC.install autogpt
  4. After that, go to the extracted folder and you’ll see .env.template file.
  5. Then right-click on it and select Open With > Notepad.install autogpt
  6. Now go to the OPENAI_API_KEY section and paste your key next to it.install autogpt
  7. Then go to the Pinecone website and sign up [it’s free].
  8. Now click on click “API Keys” on the left and then click on “Create API Key” on the right.install autogpt
  9. Name it autogpt and hit Create Key. Now copy this key.install autogpt
  10. Then go back to the .env.template file and paste this key next to PINECONE_API_KEY.install autogpt
  11. Next up, copy the Environment value from Pinecone.
  12. Likewise, paste it next to PINECONE_ENV in the .env.template file. Once done, hit Ctrl+S to save the changes.install autogpt
  13. Finally, rename the .env.template file to .env.install autogpt

STEP 3: Install AutoGPT

  1. Right-click on the AutoGPT folder and select Copy as > Path.
  2. Now open Command Prompt as an admin and type in the below command [replace path accordingly]
    cd path
  3. Then type in the below command to install the libraries needed to run AutoGPT
    pip install -r requirements.txt

    install autogpt

  4. Finally, type in the below command to start Auto-GPT
    start Auto-GPT

    install autogpt

STEP 4: Run AutoGPT

  1. AutoGPT carries on its entire search in Chrome, so make sure to launch it beforehand.
  2. It will now ask you to give it a name and assign a task. Then assign it a set of goals to achieve.install autogpt
  3. During the course of action, it will ask you to authorize commands, type in y and hit Enter.install autogpt
  4. If you don’t want to authorize after every prompt, then reply with y -n where n is the number of prompts for which it doesn’t need any authorization.install autogpt
  5. That’s it. You may now proceed ahead and explore the unchartered domain of this artificial intelligence beast!

That’s it. These were the steps to install and use AutoGPT on your PC. If you have any queries concerning the aforementioned steps, do let us know in the comments. We will get back to you with a solution at the earliest.


Share: