The curious case of Agents in AI, how to Auto GPT

Apr 17, 2023

In AI, an intelligent agent (IA) is an independent entity, a computer program, a system which perceives, observes and operates upon its environment, makes decisions, takes actions to achieve a usually predefined goal(s).

There are couple of classifications for these systems

  • It has fixed or dynamic environment
  • System waits for additional prompt or acts proactively
  • It is a single or multi-agent system

What is Auto-GPT?

Auto GPT is an experimental open source project that uses GPT-4 to act as IA ☝️. It can self-prompt to achieve a goal with little to no human intervention as possible. Which means, instead of providing a prompt and waiting for a responce just to give it prompt again, you provide it with a task, a goal and it will give promts toitself, analyzing it's own performance untill it reaches a set goal, or you shut it down.

Auto GPT can browse internet as GPT-4 as internet access. It can order food, plan and book flights, make a podcast, research complex topics. The bot has created IndiepreneurGPT twitter acout which it autmatically tweets from.

A podcast

Automatic tweets

Generative Agents: Interactive Simulacra of Human Behavior

Researchers just (7 Apr 2023) published a paper where 25 of those agents were put in a game. Those agents given some predefined backstories were acting as little humans. They were organizing Valentie's Day party, spread invitations to that party, ask eachother on dates and coordinate to show up for the party on time.

As time passes in the sandbox world, their behaviors evolve as these agents interact with each other and the world, build memories and relationships, and coordinate joint activities.

Little GPT Humans

How to install nad perform tasks with Auto GPT

Installing Auto GPT on your machine

  1. Database: (Optional)
    1. Pinecone
    2. Milvus
    3. Redis
  2. Install python
  3. Obtain OpenAI API Key
  4. Clone Auto GPT repository git clone
  5. Navigate to repo directory cd Auto-GPT
  6. Switch to stable branch git checkout stable
  7. Install dependencies pip install -r requirements.txt
  8. Copy .env.template contents into .env with cp .env.template .env or just by copy-pasting.
  9. Set OPENAI_API_KEY obtained from OpenAI API Key.
  10. Launch Auto GPT python -m autogpt and kick on. (or in debug mode python -m autogpt --debug)

NOTE: If youre getting Reached rate limit, passing error you need to add a paid plan and create a new API Key after you switched to paid plan (the price is really not that bad, with around 100 prompts and I'm barely scratching a dollar)

Using Auto GPT

Let's come up with a prompt for AutoGPT.

Resently, I needed to get a new pair of earbuds, my old ones are 5 years old and barely work. But the caveat is that I want the best sounding earbuds, sound quality is the key for me, and also i want to the best price for those earbuds.

Let's see what AutoGPT can come up with.

My prompts are

  • AI Name: Earbuds-Finder-GPT
  • Earbuds-Finder-GPT is: an AI designed to search for the best sound earbuds and find the best price for those earbuds
  • My goals
    • Goal 1: Find earbuds with the best auido quality
    • Goal 2: Find the lowest price for said earbuds
  • Im proceeding without correcting AutoGPT for 10 prompts


  1. It began collecting data from pcmag, tomsguide and other websites looking for the best earbuds
  2. And so it found Cambridge Audio Melomania 1 Plus earbuds. Then it continued to look for the price
  3. In the end it found Cambridge Audio Melomania Touch Earbuds, which is actually different from what it originally was looking for

At the each of the step I've prompted AutoGPT to continue with what it thinks is the best with 5 prompts twice, so in the end 10+5+5 which costed me around 20 cents.

The both choices for earbuds are very questionable, maybe I haven't provided it enough prompt to find the best-best sound quality earbuds. I think AutoGTP and IA's need to prompt us, users to get the best result. Considering the experemental nature of AutoGPT this is expectable.


Even though the AutoGPT is slow comparing to human, the answers are not exactly what you want them to be, but the speed those technologies are being developed at are crazy. AutoGTP has access to the internet and ability to continuosly prompt itself and you to get the best result and thats where it has it's power. The nature of AI is such that they're always learning and improving and the power here is very clear - automation. It's scary and interesting what will AI become in the next years.

Auto GPT alternatives

Resources used

Share via twitterShare Via Linkedin