Next, that you must download Auto-GPT from GitHub: Follow the hyperlink to the newest launch and obtain the zip file you discover there. When you’ve got unzipped the archive, duplicate the file known as .env.template, rename it as .env, and open it in a textual content editor. Look for the road “OPENAI_API_KEY=your-openai-api-key” and substitute “your-openai-api-key” with an precise API key out of your OpenAI account.
You can get an API key from here. You solely get just a few free API calls with ChatGPT, so you will need to arrange a payment method—you possibly can see the newest pricing at this page (on the time of writing, it is just a few cents per thousand tokens or bits of knowledge processed). When you arrange your fee technique, you can too configure fee limits to verify AutoGPT does not value you greater than you are comfy with.
After you’ve got saved and closed your .env file, you possibly can launch Auto-GPT by right-clicking on its folder and selecting Open in Terminal. Type “pip install -r requirements.txt” and hit Enter to put in the required libraries, then when that is completed, kind “python -m autogpt” and press Enter to launch Auto-GPT itself. You’re then free to start out getting Auto-GPT working anonymously for you: Simply inform it what you need it to do, and it’ll get to work.
Its pondering will likely be proven on display, and you will be requested to verify every motion within the course of Auto-GPT works out—when you’d relatively approve a number of actions in a row, kind “y-x”, the place x is the variety of actions you are comfortable for the bot to get on with with out your approval (bear in mind all of those ChatGPT requests are costing you a small amount of cash). If that you must finish a process earlier than it is accomplished, use Ctrl+C.
If this looks as if quite a lot of work and also you need one thing easier to mess around with, AgentGPT is an identical challenge based mostly on Auto-GPT that works within the browser, no set up required. It’s not fairly as superior as Auto-GPT, however it’s extra simple for rookies, and it offers you an concept of what is potential with these autonomous AI brokers.
As with Auto-GPT, that you must get an API key for ChatGPT for AgentGPT to run correctly (and once more you will be charged based mostly on utilization). You can plug this API key into the software by way of Settings on the left. Give your agent a reputation and a purpose utilizing the enter on display, then select Deploy Agent to set it off—duties are proven on the correct as they’re generated and accomplished.