What is AutoGPT? How does it work?
You may have heard of ChatGPT, GPT-3.5, and GPT-4, which have created quite a stir around the world. Today you will know about another new AI called AutoGPT. At first you might think it might be a version of ChatGPT, a plug-in or a browser extension. But no, it is a different artificial intelligence and more than you think.
What is AutoGPT?
AutoGPT is a new AI built on GPT-3.5 and GPT-4 APIs. This artificial intelligence automatically edits specific tasks with prompts and reviews tasks. Where ChatGPT can guide you on how to do a task, AutoGPT can do it for you.
Let’s know how it works?
For AutoGPT to work,
- AI name
- I Rule
- Up to five goals
example,
Name: Chef-GPT
Role: Finds a simple recipe and transforms it into a Michelin Star quality recipe.
Goal 1: Find simple recipes online
Goal 2: Transform ordinary recipes into Michelin Star quality.
When AutoGPT gets the required description and goal it will continue to do all the work automatically until satisfactory results are obtained.
The difference with ChatGPT is that ChatGPT will not execute the infection but AutoGPT will execute. For example, if you want to decorate your home, ChatGPT will guide you on what to do while AutoGPT can even communicate with Nearby Home Decor along with giving instructions. It can also execute, debug, develop Python scripts by coding using GPT-4. It is a self improving AI that hints at what true AGI (Artificial General Intelligence) might look like.
AutoGPT’s feedback loop basically looks like this,
- Plan
- Criticize
- Act
- Read Feedback
- Plan
AutoGPT reads and writes various files by itself, browses the Internet and simultaneously reviews its prompts to see if it is working with what the user wants. You set the Goal here and it will collect the best information from the internet and do the work for you automatically. At the same time it will constantly improve itself.
AutoGPT will ask for your permission at each prompt to proceed in the correct direction.
Suppose AutoGPT develops an app for a user. But a required resource is not present in the PC, in that case it can be installed on the user’s PC by searching the specific resource from the Internet.
How to use AutoGPT?
Credit will be deducted from your OpenAI account to use AutoGPT. You can use up to 18$ which is included in the free version.
Since AutoGPT will ask for permission at each prompt, you may need to test a lot before fulfilling a task.
All you need to install AutoGPT,
- Python 3.8 or later
- OpenAI API key
- GPT-4 API Access
- PINECONE API key
- ElevenLabs API for text-to-speech projects
Enter the following command in your CMD, Bash or Powershell,
git clone https://github.com/Torantulino/Auto-GPT.git
Go to the project directory
cd ‘Auto-GPT’
Install required dependencies
pip install -r requirements.txt
Go to the folder and copy the .env.template to the .env. Rename to After that env. Open and replace with OpenAI API. Replace the ELEVEN LABS API if you have text-to-speech work.
To get the API key,
OpenAI API link,
https://platform.openai.com/account/api-keys.
ElevenLabs API Link
Once everything is done, run CMD, Bash or Powershell
python scripts/main.py
You are ready for AutoGPT
You can watch the demo video from here.
last word
We don’t know where the artificial intelligence storm will end and what we will see in the future. Hope you get the idea of new AI from this tune. How did you feel about this AI, definitely let me know.
https://www.techtunes.io/tech-talk/tune-id/967923