Auto-GPT turns GPT-4 into a self-directed agent
Auto-GPT and BabyAGI chain calls to GPT-4 to break a goal into tasks, execute them and review the results. Still-fragile prototypes, they point to a different way of using language models.
Auto-GPT has been circulating in recent days as a demonstration of what happens when GPT-4 stops answering a single question and starts working through a chain of steps. The project receives a broad goal, proposes intermediate steps, executes them and uses the results to decide what to do next.
Alongside initiatives such as BabyAGI, it has become one of the first popular demonstrations of so-called autonomous agents: programs that use a language model as a decision-making engine to complete tasks with some degree of independence. It is neither a new version of GPT-4 nor an OpenAI product, but open-source software built on the company’s API.
From conversation to workflow
A conventional chatbot waits for an instruction and returns a response. If asked to research a market, write a report and save its conclusions, the user generally has to guide every stage of the conversation.
Auto-GPT attempts to remove some of that intervention. Users can define a broad goal—for example, researching a subject or designing a strategy—and the program breaks it down into smaller objectives. It then formulates instructions for GPT-4, evaluates the response it receives and decides what the next action should be.
The idea is not that the model has developed a will of its own. The program uses a loop: goal, planning, execution, observation of the result and new planning. GPT-4 provides the ability to interpret instructions and generate text; the application adds memory, rules and access to tools.
In its demonstrations, Auto-GPT can search for information online, store notes and work with files. That significantly expands what can be asked of a language model, but it also changes the nature of the possible errors. It is no longer enough for an isolated response to be wrong: a bad decision at the outset can carry through the entire chain of tasks.
BabyAGI offers a smaller-scale recipe
BabyAGI follows a similar logic with a simpler structure. It starts with an initial task and maintains a list of pending jobs. After completing one, it creates new ones and ranks them according to the ultimate goal.
The name refers to artificial general intelligence, or AGI, the hypothetical ability of a machine to tackle very different problems with human-like flexibility. But these projects are nowhere near that. They do not discover on their own which goals are worth pursuing, nor do they reliably verify their own conclusions. They are automations built on existing models, with a greater degree of iteration.
Their significance lies in demonstrating an architecture that had until now existed mainly in technical papers and internal prototypes: a language model can act as a tool coordinator, not just as a text generator.
Autonomy still has clear limits
The excitement around Auto-GPT is understandable. Watching a program chain together searches, notes and decisions creates the impression that the system is working on its own. However, the autonomy of these early projects is limited and depends on human instructions, permissions and external services.
GPT-4 can make up data, misinterpret a request or choose an ineffective plan. When an application allows it to run searches, write documents or interact with other services, those failures go from being a text-quality problem to an operational risk. That is why the more sensible demonstrations require human oversight and environments with restricted permissions.
There is also a practical barrier: every step involves an API call and therefore takes time and costs money. An apparently simple task may require numerous iterations if the agent goes off course, repeats searches or cannot choose between several options.
A change of direction for language models
The emergence of Auto-GPT and BabyAGI coincides with GPT-4’s first weeks of availability; OpenAI introduced it on March 14. Attention is no longer focused solely on whether the model writes, codes or reasons better than its predecessor. The question is beginning to shift toward what happens when it is connected to memory, search, files and workflows.
For companies and developers, the immediate path is not to hand over complete processes without oversight. It is to automate clearly defined parts of them: gathering information, preparing drafts, classifying documents or suggesting the next steps in a task. Agents promise to reduce repetitive work, but their usefulness will depend on whether they can check results, respect boundaries and ask for help when they do not know how to proceed.
Auto-GPT does not solve those problems yet. It has, however, made visible a possibility that GPT-4 alone did not show in a chat window: language models can become the decision-making layer of programs that act, rather than merely converse.