Home Artificial Intelligence Find out how to Easily Install Auto-GPT: The Autonomous GPT-4 Everyone seems to be Talking About

Find out how to Easily Install Auto-GPT: The Autonomous GPT-4 Everyone seems to be Talking About

0
Find out how to Easily Install Auto-GPT: The Autonomous GPT-4 Everyone seems to be Talking About

Image licensed from Shutterstock

Recently a recent AI with more potential than ChatGPT has entered the sport: Auto-GPT, an autonomous GPT-4 experiment.

Auto-GPT is an open-source Python app that uses GPT-4 to act autonomously, so it could actually perform tasks with little human intervention (and may self-prompt).

Here’s how you’ll be able to install it in 3 steps.

Step 1: Install Python and Git

To run Auto-GPT on our computers, we first must have Python and Git.

To put in Python, go to this website and click on on “Download Python 3.X” (in case you’re on Windows, be certain that to envision the box “Add python.exe to PATH” when installing Python).

To put in Git on Windows, go to this website and install it. Mac users can install Git using this installer or via Homebrew.

To put in Homebrew, just open the terminal and run the next command.

/bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Once you’ve got Homebrew, install Git with the next command.

brew install git

Step 2: Clone Auto-GPT and install dependencies

Go to this GitHub repo, click on the green button that claims “<> Code” and replica the link which you can also find below.

https://github.com/Significant-Gravitas/Auto-GPT.git

Then create an empty folder where you would like to clone Auto-GPT (mine goes to be called “gpt.”

Now we open up the terminal or CMD and go to that vacant folder using the cd command. When you’re within the folder type the git clone command, paste the link we copied before and press enter.

The command should appear like this.

git clone https://github.com/Significant-Gravitas/Auto-GPT.git
Screenshot

Essential Note: The master branch may often be in a broken state, so alternatively, you’ll be able to download the latest stable release. Just download the source code (zip) at the underside of the page, move it to the empty folder, and unzip it (this may replace the cloning part)

Once the cloning is complete, in your empty folder there should see a recent folder called “Auto-GPT”

Now it’s time to put in the required dependencies. First, on the terminal, we have now to navigate to the directory where the repository was downloaded using the command below.

cd Auto-GPT

Then install the required dependencies with the command below.

pip install -r requirements.txt

After this, a bunch of dependencies will likely be installed in your computer.

Screenshot

Note: In case you get “pip: command not found” though you’ve got Python installed, probably you’ll want to create a virtual environment, activate it after which run the command above.

Once all of the dependencies were successfully installed, we have now to configure Auto-GPT.

Step 3: Configure Auto-GPT

First, go to the Auto-GPT folder and rename the file named .env.template to .env. In case you’ll be able to’t find the .env.template file probably it’s hidden. To unhide the file press Command+Shift+Dot on a Mac and your hidden files will develop into visible.

Now right-click the .env file and open it in a text editor. You’ve got to seek out the OpenAI section.

Screenshot

Now we have now to introduce our OpenAI key within the OPENAI_API_KEY variable. To achieve this, we’d like to login into our OpenAI account and generate our API keys.

Screenshot

Keep in mind that OpenAI won’t display your secret API key again after you generate it, so be certain that you put it aside.

Once you’ve got your API key, go to your text editor, and after that OPENAI_API_KEY= paste your unique OpenAI API Key with none quotes or spaces.

Finally, save and shut the .env file.

Congratulation! You’ve got properly configured the API Keys in your project.

Running Auto-GPT in your computer

To start out working with Auto-GPT, run autogpt Python module in your terminal using the command below

python -m autogpt

Now it’s best to see the next.

Screenshot

Great! Listed below are some options to authorize command(s), exit this system, or provide feedback to the AI.

  • Authorize a single command: y
  • Authorize a series of N continuous commands: y -N
  • Exit this system: n

Now you’ll be able to start working with Auto-GPT. Simply give your AI a reputation, give it a job, and enter as much as 5 goals in your AI.

Soon I’ll create a guide to benefit from Auto-GPT, so stay tuned!

LEAVE A REPLY

Please enter your comment!
Please enter your name here