Skip to main content

What is Auto-GPT? Here’s how autonomous AI agents are taking over the internet

ChatGPT has taken the world by storm, in large part thanks to its dead-simple framework. It’s just an AI chatbot, capable of producing convincing, natural-language text in responses to the user.

But with AI chatbots, a lot relies on a person’s ability to come up with prompts that the AI will respond to. Auto-GPT is a new application that allows AI to act autonomously that can “self-prompt,” and it’s completely changing the way we think about this technology.

What is Auto-GPT?

A screenshot of Auto-GPT being run in Windows PowerShell.
Image used with permission by copyright holder

Auto-GPT is an open-source Python application that was posted on GitHub on March 30, 2023, by a developer called Significant Gravitas. Using GPT-4 as its basis, the application allows the AI to act “autonomously” without the need for the user to prompt every action. You can get Auto-GPT an overall goal, and step-by-step, will take actions to accomplish that goal. That is where the concept of “AI agents” comes from, which are using the internet and performing actions on a PC completely on its own — without the need to be prompted at every step.

The simple example posted in the original GitHub is of Auto-GPT given the goal of browsing the web to come up with unique and original recipes for “the next upcoming event,” such as Easter. Chef-GPT, as it was named, then starts searching the web for a solution. The second goal was to save the recipe as a file on the user’s computer.

On its own, that might not sound all that innovative. But Auto-GPT’s ability to search the internet on behalf of the user and perform actions like saving files takes this AI far beyond a simple chatbot.

How does Auto-GPT work?

One of the fascinating things about Auto-GPT is the way it breaks out the AI’s steps, which is where GPT’s excellent text generation comes in. Auto-GPT calls them “thoughts,” “reasoning,” and “criticism” — telling you exactly what the AI is doing and why. In the example of Chef-GPT from above, its first “thought” was as follows: “I will search for upcoming events to find a suitable one for creating a unique recipe.” The “reasoning,” then, is that “Finding an upcoming event will help me come up with a relevant and exciting recipe.”

The “criticism” produced by Auto-GPT will express some of the concerns and limitations around what it’s doing. As you can see, Auto-GPT is taking steps completely autonomously to accomplish the goals given by the user.

A few other neat features of Auto-GPT include long/short-term memory and text-to-speech integration via ElevenLabs. The combination of all these features makes Auto-GPT feels much more like an AI made to interact with humans.

Use cases for Auto-GPT

People are discovering all sorts of possible use cases for Auto-GPT, and we’re still at the beginning. Because it’s completely open-source, anyone can go and play with the tool. A simple example that was posted on Twitter was for “Ecommerce-GPT,” which was given the goal to autonomously develop and run an e-commerce business with the goal of increasing net worth.

I have a Auto-GPT from @SigGravitas currently developing an E-Commerce business. It has decided to browse the internet for business ideas, saving its findings to files for reference later on. @pinecone @OpenAI @Google @DuckDuckGo pic.twitter.com/eoUFgUDoJK

— Graham Fleming (@GrahamFleming_) April 7, 2023

Another interesting example was in the world of coding. One user on Twitter came up with “Robo-GPT,” which is given the task of analyzing, rewriting, and saving code.

🚀 Today, I wrote Robo-GPT, a variant of #AutoGPT

🤖 https://t.co/qJRwEYWndP

✨ I tried to make the code clean and dependencies simple. It currently doesn't have as many features as Auto-GPT, but is hopefully easier to understand, run and update.#GPT4 #AI pic.twitter.com/T09jG4D9su

— Rok Strniša (@RokStrnisa) April 4, 2023

There are loads more of examples, and it’s not hard to imagine how this could evolve into bots creating websites, running social media campaigns, and much more.

In addition, there are rival systems that have been developed that perform similar functions. These include Microsoft Jarvis and BabyAGI, both of which allow GPT to “self-prompt” and act autonomously.

How to use Auto-GPT

Like a lot of GitHub projects, getting Auto-GPT set up isn’t as simple as downloading a file or going to a website. There are a few important requirements needed before you get started, which include Python 3.8 (or later), an OpenAI API key, and a Pinecone API key. You’ll also need an ElevenLabs API if you want the optional text-to-speech feature.

Links to those can be found on the Auto-GPT GitHub page, along with other important information. Once you have those three requirements done, click on “Code” and download the Zip file. Alternatively, you can access the files through the Git application.

First, open up a command-line program like PowerShell, where you’ll need to type in “git clone https://github.com/Torantulino/Auto-GPT.git” to clone the repository.

The second step is to type in “cd ‘Auto-GPT'” into PowerShell to navigate to the project directory. Then, type “pip install -r requirements.txt” to install the required dependencies. Lastly, you’ll need to rename the file “.env.template” to “.env” and fill in your OpenAI API key.

Once you have Auto-GPT installed, it’s really simple to use. It’ll ask you name the bot first, followed by providing it with a goal. There are even examples of both given to lead you in the right direction.

Has Auto-GPT achieved AGI?

Lots of AI enthusiasts are pointing to Auto-GPT as the first glimpse of AGI (Artificial General Intelligence). The reason, of course, is that Auto-GPT demonstrates the ability to reason and take multiple autonomous steps toward accomplishing goals. The addition of long- and short-term memory gives Auto-GPT permanence too, allowing it to learn new things.

Plenty of people will say that a series of linked prompts doesn’t make a system “intelligent,” while others claim that much of human intelligence and behavior acts in a similar manner.

Whether it’s the beginning of AGI or just a particularly useful next step in standard AI, Auto-GPT certainly raises some philosophical questions about the future of the “intelligent beings” living and acting on the internet.

Editors' Recommendations

Luke Larsen
Senior Editor, Computing
Luke Larsen is the Senior editor of computing, managing all content covering laptops, monitors, PC hardware, Macs, and more.
One year ago, ChatGPT started a revolution
The ChatGPT website on a laptop's screen as the laptop sits on a counter in front of a black background.

Exactly one year ago, OpenAI put a simple little web app online called ChatGPT. It wasn't the first publicly available AI chatbot on the internet, and it also wasn't the first large language model. But over the following few months, it would grow into one of the biggest tech phenomenons in recent memory.

Thanks to how precise and natural its language abilities were, people were quick to shout that the sky was falling and that sentient artificial intelligence had arrived to consume us all. Or, the opposite side, which puts its hope for humanity within the walls of OpenAI. The debate between these polar extremes has continued to rage up until today, punctuated by the drama at OpenAI and the series of conspiracy theories that have been proposed as an explanation.

Read more
Here’s why people are saying GPT-4 is getting ‘lazy’
OpenAI announced its latest iteration of ChatGPT with greater accuracy and creativity.

OpenAI and its technologies have been in the midst of scandal for most of November. Between the swift firing and rehiring of CEO Sam Altman and the curious case of the halted ChatGPT Plus paid subscriptions, OpenAI has kept the artificial intelligence industry in the news for weeks.

Now, AI enthusiasts have rehashed an issue that has many wondering whether GPT-4 is getting "lazier" as the language model continues to be trained. Many who use it speed up more intensive tasks have taken to X (formerly Twitter) to air their grievances about the perceived changes.

Read more
Here’s why you can’t sign up for ChatGPT Plus right now
A person sits in front of a laptop. On the laptop screen is the home page for OpenAI's ChatGPT artificial intelligence chatbot.

CEO Sam Altman's sudden departure from OpenAI weekend isn't the only drama happening with ChatGPT. Due to high demand, paid subscriptions for OpenAI's ChatGPT Plus have been halted for nearly a week.

The company has a waitlist for those interested in registering for ChatGPT to be notified of when the text-to-speech AI generator is available once more.

Read more