Learn how Auto-GPT works, an application based on GPT-4 that can perform tasks autonomously without your intervention.
After ChatGPT, a new name is making the buzz in the field of artificial intelligence: Auto-GPT (which is also written without hyphen sometimes: AutoGPT). The latter is called an autonomous AI agent. But, what is it concretely? Let’s take stock of it!
What is Auto-GPT?
Its creator Toran Bruce Richards describes Auto-GPT as “an open source project that allows users to run GPT-4 and other LLMs as fully autonomous agents.” More concretely, Auto-GPT can be asked to achieve an end goal and will autonomously chain together several tasks on its own.
Auto-GPT can for example:
- Write code and execute Python scripts automatically,
- Run its short and long term memory, so that every action and result is well taken into account,
- Write blog posts by doing research on the web,
- Conducting comprehensive market research.
The ability to operate with minimal human intervention is a crucial aspect of Auto-GPT. It transforms a large language model, which is essentially an advanced auto-complete, into an independent agent capable of performing actions and learning from its mistakes. pointed out a tweet from Toran Bruce Richards.
A new step in the field of AI? For the moment, we are still at the stage of experimentation but it is true that it is a step further towards AGI (General Artificial Intelligence) which can chain tasks via its own reasoning to find solutions as a human could do.
How to use Auto-GPT?
How to install Auto-GPT?
Auto-GPT is aimed at a tech-savvy audience. It is not as easily accessible as ChatGPT. To use Auto-GPT, you need to install Git and Python first, get an OpenAI API key, and then go to the project’s GitHub page. For more details, you can consult the official installation guide. There is a dedicated Discord server that can help you to see more clearly.
How to use Auto-GPT online?
Some Twitter users also suggest using Godmode.space to use Auto-GPT online but we have not tested it. Here is a thread below to help you if needed.
What are the alternatives to Auto-GPT?
Auto-GPT is mainly aimed at developers, like another similar project that is also in the news called BabyAGI. If you want to deploy an autonomous AI agent more easily, there is also AgentGPT in beta version, accessible via web browser.
5 examples of autonomous AI agents
For all the curious, here are several examples in pictures of what autonomous AI agents can achieve.
1- Generate code easily
First example proposed by the creator of Auto-GPT. The AI agent writes its own code using GPT-4 and executes Python scripts.
2- Do a market research and provide a report on competitors
Here, it is about doing a market research for waterproof shoes, getting the top 5 competitors and providing a report on their advantages and disadvantages. Auto-GPT’s first action? Go to Google to find the best reviews on waterproof shoes. Once the search is done, he creates his own questions like “what are the pros and cons of each shoe?”.
3- Generate a to-do list
Another interesting case: “Every time you add a task, a GPT-4 agent is generated to complete it. It already has the context it needs about you and your business, and has access to your applications.”
4- Create a website in 10 minutes
The user asks AutoGPT to create a website from scratch and in particular to create a login/sign up page and to style it with Bootstrap. The autonomous AI agent is able to create the website in only 10 minutes.
Had AutoGPT make me a more complicated website, from scratch this time:— Sully (@SullyOmarr) April 8, 2023
– created login/sign up page
– styled it with bootstrap
– created flask api for login / logout
– created a local json database
Took ~10 minutes at a cost of $0.50. More examples coming pic.twitter.com/iwU16vjsRh
5- Prepare a podcast
Objective for the AI agent: read recent events and prepare content for a podcast. The user explains the objective: “With 5 searches (and 15 web browsings), the Auto GPT search agent prepares a podcast of 5 topics on recent news with specific references (and a pre-credit).”