Subsequent, you want to download Auto-GPT from GitHub: Comply with the hyperlink to the most recent launch and obtain the zip file you discover there. Once you’ve unzipped the archive, duplicate the file referred to as .env.template, rename it as .env, and open it in a textual content editor. Search for the road “OPENAI_API_KEY=your-openai-api-key” and exchange “your-openai-api-key” with an precise API key out of your OpenAI account.
You may get an API key from here. You solely get a couple of free API calls with ChatGPT, so you may need to arrange a payment method—you may see the most recent pricing at this page (on the time of writing, it is a couple of cents per thousand tokens or bits of knowledge processed). Once you arrange your fee methodology, you can too configure fee limits to verify AutoGPT would not price you greater than you are comfy with.
After you have saved and closed your .env file, you may launch Auto-GPT by right-clicking on its folder and selecting Open in Terminal. Kind “pip set up -r necessities.txt” and hit Enter to put in the mandatory libraries, then when that is completed, kind “python -m autogpt” and press Enter to launch Auto-GPT itself. You are then free to start out getting Auto-GPT working anonymously for you: Merely inform it what you need it to do, and it’ll get to work.
Its considering will likely be proven on display screen, and you will be requested to substantiate 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 pleased 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 you want to finish a process earlier than it is accomplished, use Ctrl+C.
If this looks like plenty of work and also you need one thing less complicated to mess around with, AgentGPT is the same venture primarily based on Auto-GPT that works within the browser, no set up required. It is not fairly as superior as Auto-GPT, however it’s extra easy for freshmen, and it provides you an concept of what is potential with these autonomous AI brokers.
As with Auto-GPT, you want to get an API key for ChatGPT for AgentGPT to run correctly (and once more you may be charged primarily based on utilization). You’ll be able to plug this API key into the device by way of Settings on the left. Give your agent a reputation and a objective utilizing the enter on display screen, then select Deploy Agent to set it off—duties are proven on the suitable as they’re generated and accomplished.