AutoGPT is taking the internet by storm. Its everywhere.

date
Apr 14, 2023
slug
autoGPT
status
Published
tags
Website
summary
autoGPT
type
Post
Author
Sully @SullyOmarr:
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:
Sully @SullyOmarr: 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:
Sully @SullyOmarr:
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…
Sully @SullyOmarr: 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…
Sully @SullyOmarr:
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`
Sully @SullyOmarr: 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`
Sully @SullyOmarr:
You will see a file called .env.template, put your openai api key here.

Then duplicate the file, and rename it to just .env
Sully @SullyOmarr: You will see a file called .env.template, put your openai api key here. Then duplicate the file, and rename it to just .env
Sully @SullyOmarr:
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:
Sully @SullyOmarr: 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:
Sully @SullyOmarr:
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.
Sully @SullyOmarr: 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.
Sully @SullyOmarr:
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`
Sully @SullyOmarr: 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`
Sully @SullyOmarr:
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.
Sully @SullyOmarr: 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.
Sully @SullyOmarr:
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.
Sully @SullyOmarr: 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.
Sully @SullyOmarr:
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
Sully @SullyOmarr: 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
Sully @SullyOmarr:
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.
Sully @SullyOmarr: 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.
Sully @SullyOmarr:
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.
Sully @SullyOmarr: 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.
Sully @SullyOmarr:
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
Sully @SullyOmarr: 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
Sully @SullyOmarr:
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.
Sully @SullyOmarr: 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.
Sully @SullyOmarr:
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.
Sully @SullyOmarr: 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.
Sully @SullyOmarr:
Feel free to leave comments and ask questions here.  I'll try to answer questions the best I can.
Sully @SullyOmarr: Feel free to leave comments and ask questions here. I'll try to answer questions the best I can.

© BD 2025