AutoGPT is taking the internet by storm. Its everywhere. They’re...

@SullyOmarr
Sully@SullyOmarr
14 views Jan 09, 2025 ~3 min read
Advertisement
1
AutoGPT is taking the internet by storm. Its everywhere.

They’re basically AI agents that run by itself, and complete tasks for you.

The best part is you can set it up yourself, and have your own 🤖 doing your bidding for you in less 30 minutes.

Heres how:
Media image
2
Ok first up: You will need to know how to run terminal commands. Thats about it.

Then go and do these things :
- git setup
- download python
- download docker desktop
- Get an OpenAI Api Key

Here are the links:
sullyo.notion.site/Quick-links-fo…
3
Then you want start by cloning the repo github.com/Torantulino/Au…

`git clone github.com/Torantulino/Au…`

then navigate into it with `cd Auto-GPT`
Media image
4
You will see a file called .env.template, put your openai api key here.

Then duplicate the file, and rename it to just .env
Media image
5
Once done, you can run the command `pip install -r requirements.txt`

This will download all the python packages. Remember you need python downloaded.

Ok now we’re almost done and ready to get your AI going, but before make sure you:
6
Have docker running! I use docker desktop, and it works perfectly on windows and mac. It just needs to be on.

Don't worry you don't need to download any containers or anything.
Media image
7
Then you run python scripts/main.py and the terminal will start to prompt you.

You can do continuous mode if you want it go fully autonomous, or you can sit there and approve each action yourself.

For continuous mode:
`python scripts/main.py --continuous`
Media image
8
And thats it to get it up and running!

But it’s not perfect and you’ll run into issues a decent amount of times, so here’s what I did to make the process smooth.
9
Goals:
Since AutoGPT is so new, its not perfect (understandably) so setting the right goals will be the difference between accomplishing tasks and failing them.
10
In my researchGPT i actually gave it a very basic set of goals.

The second one seems a lot more in-depth right?

Well its actually worse because for now its too in-depth. AutoGPT will begin to start looping and getting stuck at the planning phase. You wont get any output at all
Media image
Media image
11
So as a rule of thumb:
1) start simple, test the output, and then adjust your goals.
This isn’t a science per say, there is usually a lot of back and forth.

This isn't perfect at all but amazing nonetheless.
12
Saving to files:

Since autoGPT can write to files, we need to nudge it in the right direction.

In my example, I just ask it to save the analysis, and this is usually good enough.
13
Sometimes you want it to save for each goal, so you can ask it that.

Something like:
Goal 1 : find the top 10 shoe brands, Save the output.
Goal 2: and do SWOT analysis. of each brand, save it
14
General issues:
Sometimes you’ll see AutoGPT loop, and I try to monitor it closely.

If it starts to loop for more than 2-3 minutes, it usually means its stuck and you’ll have to restart the process again.
15
To get the full potential of AutoGPT You WILL NEED GPT4 API access.

If you are just using gpt3.5 the depth of agents/responses might let you down.

I know most of you don’t have access which really sucks, so make sure you join the waitlist.
16
Feel free to leave comments and ask questions here. I'll try to answer questions the best I can.
17
If you're running into JSON errors its likely because you dont have access to GPT4.

AutoGPT uses GPT4 to parse the JSON output, so if you dont have api access it uses 3.5
- which isn't as good at parsing json
Actions
What You Can Do
  • Export as PDF or Markdown
  • Batch Export to Notion
  • Bookmark & Highlight
  • Screenshot Tweet
Create Free Account

Includes 7-day Premium trial

Advertisement