avatarTristan Wolff

Free AI web copilot to create summaries, insights and extended knowledge, download it at here

3001

Abstract

</pre></div><p id="b06b">Alternatively, you can download the ZIP file of the source code <a href="https://github.com/Torantulino/Auto-GPT">here</a>. In the top right corner, click Code and then Download Zip.</p><figure id="bdb1"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*lbLEhr6sAJQycC0sHhN1SA.png"><figcaption>Download ZIP from Github</figcaption></figure><h2 id="a3f6">2. Install the libraries</h2><p id="981c">Navigate to the directory where your copy of Auto-GPT resides (it’s called “Auto-GPT”) and run:</p><div id="4e79"><pre>pip <span class="hljs-keyword">install</span> -r requirements.txt</pre></div><p id="13a3">This will install all the required libraries.</p><h2 id="5e0e">3. Add API Keys</h2><p id="b320">Then rename the file</p><p id="5ee4"><code>.env.template</code></p><p id="2565">to</p><p id="7b2a"><code>.env</code></p><p id="1f3f">and fill in your <code>OPENAI_API_KEY</code>.</p><p id="6a62">Optionally, you can also add Pinecone and ElevenLabs API keys for Vectorstore and Speech Mode.</p><h2 id="21ce">4. Run Auto-GPT</h2><p id="422f">You’re set to take Auto-GPT out for a test run. In the project folder (“Auto-GPT”) type</p><div id="16d8"><pre>python -m autogpt</pre></div><p id="5209">If you do not have access to GPT-4 or don’t want to use it, run the following command instead.</p><div id="6d4b"><pre>python -m autogpt <span class="hljs-comment">--gpt3only</span></pre></div><p id="6eb6">The first thing you will be asked is whether you want to continue with the last AI agent you created. Type “y” if you want to give that a try or “n” to create a new one.</p><figure id="a645"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*RtyI4f46fMRiP1g-HYgypA.png"><figcaption></figcaption></figure><figure id="26f8"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*HIAYb-D8RYGGusQ4HFIpBw.png"><figcaption></figcaption></figure><p id="34f3">Once you decided to create a new one, give it a name and describe its role.</p><figure id="e814"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*oE_NTcgFgUxDFt_iG5xLlA.png"><figcaption></figcaption></figure><p id="f5ed">Next, you’ll give it a bunch of goals (up to five).</p><p id="6325">From this moment on, Auto-GPT will do its thing and occasionally ask you to authorize its next steps.</p><figure id="349e"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*BboQmYnE77C2nIZWa2zw8A.png"><figcaption></figcaption></figure><p id="1317">You can then choose to agree with “y”, agree to run multiple commands without asking for permission with “y -N” (N=number of commands it can run on its own), or type “n” to exit.</p><p id="afc0">If you type anything else, Auto-GPT will consider this as human feedback and evaluate it as such.</p><h2 id="23a4">5. Check The Results</h2><p id="1448">To check Auto-GPT’s results, you can either have a look at its log files in the folder “/outputs/logs” or check the files it created in “/auto_gpt_workspace”.</p><h

Options

2 id="1d75">6. Advanced Setup</h2><p id="716f">You can now start adding further functionality to Auto-GPT. For example, Speech Mode, Redis/Pinecone/Google support, Image Generation, etc. Have a look at the installation guide (README.md) in the project’s Github repo:</p><div id="332b" class="link-block"> <a href="https://github.com/junosha/Auto-GPT"> <div> <div> <h2>GitHub - junosha/Auto-GPT: An experimental open-source attempt to make GPT-4 fully autonomous.</h2> <div><h3>Auto-GPT is an experimental open-source application showcasing the capabilities of the GPT-4 language model. This…</h3></div> <div><p>github.com</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/0*WRMZi8nqSmzSKQDP)"></div> </div> </div> </a> </div><h2 id="3441">Auto-GPT on GitHub:</h2><div id="5388" class="link-block"> <a href="https://github.com/Torantulino/Auto-GPT"> <div> <div> <h2>GitHub - Torantulino/Auto-GPT: An experimental open-source attempt to make GPT-4 fully autonomous.</h2> <div><h3>Auto-GPT is an experimental open-source application showcasing the capabilities of the GPT-4 language model. This…</h3></div> <div><p>github.com</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/0*32NbKo6gfg_s4gKj)"></div> </div> </div> </a> </div><p id="75e6">➡️ For more information about <a href="https://fabulous-maker-2733.ck.page/da150f448e">AI & Creativity</a>, follow me on <a href="http://twitter.com/tristwolff">Twitter</a> or Medium (<a href="https://medium.com/@tristwolff/membership">use my referral link to get full access to all my articles</a> and those of thousands of other writers).</p><div id="c879" class="link-block"> <a href="https://medium.com/@tristwolff/membership"> <div> <div> <h2>Join Medium with my referral link - Tristan Wolff</h2> <div><h3>Read every story from Tristan Wolff (and thousands of other writers on Medium). Your membership fee directly supports…</h3></div> <div><p>medium.com</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/0*aDkiNI7c6oXcgNbJ)"></div> </div> </div> </a> </div><p id="617e">➡️ If you like my content, why not leave a “clap” at the end of this article, so more people can see it?</p><p id="28c8"><i>Stay updated with the latest news and updates in the creative AI space — follow the <a href="https://medium.com/generative-ai">Generative AI</a> publication.</i></p></article></body>

Complete Guide To Setup AutoGPT & Revolutionize Your Task Automation with GPT-4

Learn how to setup, configure & run Auto-GPT

Image by the author & Midjourney

What Is Auto-GPT?

Auto-GPT is an experimental open-source project that allows you to define a specific role (e.g., “book market analyst”) and a bunch of goals (e.g., “research the most successful sci-fi novels of 2022”, “summarize them”, “save the summary to a file," etc.) and let GPT-4 automatically create and perform all the necessary tasks that are needed to achieve your goals. That includes:

  • doing research via search engines
  • browse websites
  • scrape data
  • store files locally
  • using long-term memory
  • spawning new instances of GPT-3.5 bots with special roles to accomplish sub-tasks (!)

(No worries, if you don’t have access to GPT-4 you can also run it with your GPT-3.5 API keys)

The results you get are mind-blowing.

AutoGPT is an experimental project, that is, it has its bugs and flaws, especially when faced with new and not-so-common roles and goal descriptions, but it’s already a tremendous showcase of GPT-4’s capabilities and the potential of a modular approach to combine multiple AI agents.

How To Setup Auto-GPT

Prerequisites

a) Python 3.8 or later (here’s how you install Python on Windows, to update your Mac’s preinstalled Python version go here)

b) OpenAI API keys (if you have an account with OpenAI, you’ll find them here; if you don’t have an OpenAI account, follow these instructions)

1. Get the code

EDIT: Make sure you select the “stable” branch! The “master” branch may often be in a broken state.

If you have GIT installed on your computer, simply run this in your terminal:

git clone https://github.com/Torantulino/Auto-GPT.git

Switch to the “stable” branch:

git checkout stable

Alternatively, you can download the ZIP file of the source code here. In the top right corner, click Code and then Download Zip.

Download ZIP from Github

2. Install the libraries

Navigate to the directory where your copy of Auto-GPT resides (it’s called “Auto-GPT”) and run:

pip install -r requirements.txt

This will install all the required libraries.

3. Add API Keys

Then rename the file

.env.template

to

.env

and fill in your OPENAI_API_KEY.

Optionally, you can also add Pinecone and ElevenLabs API keys for Vectorstore and Speech Mode.

4. Run Auto-GPT

You’re set to take Auto-GPT out for a test run. In the project folder (“Auto-GPT”) type

python -m autogpt

If you do not have access to GPT-4 or don’t want to use it, run the following command instead.

python -m autogpt --gpt3only

The first thing you will be asked is whether you want to continue with the last AI agent you created. Type “y” if you want to give that a try or “n” to create a new one.

Once you decided to create a new one, give it a name and describe its role.

Next, you’ll give it a bunch of goals (up to five).

From this moment on, Auto-GPT will do its thing and occasionally ask you to authorize its next steps.

You can then choose to agree with “y”, agree to run multiple commands without asking for permission with “y -N” (N=number of commands it can run on its own), or type “n” to exit.

If you type anything else, Auto-GPT will consider this as human feedback and evaluate it as such.

5. Check The Results

To check Auto-GPT’s results, you can either have a look at its log files in the folder “/outputs/logs” or check the files it created in “/auto_gpt_workspace”.

6. Advanced Setup

You can now start adding further functionality to Auto-GPT. For example, Speech Mode, Redis/Pinecone/Google support, Image Generation, etc. Have a look at the installation guide (README.md) in the project’s Github repo:

Auto-GPT on GitHub:

➡️ For more information about AI & Creativity, follow me on Twitter or Medium (use my referral link to get full access to all my articles and those of thousands of other writers).

➡️ If you like my content, why not leave a “clap” at the end of this article, so more people can see it?

Stay updated with the latest news and updates in the creative AI space — follow the Generative AI publication.

Artificial Intelligence
ChatGPT
Technology
Innovation
Productivity
Recommended from ReadMedium