Next, you need to download Auto-GPT from GitHub: Follow the link to the latest release and download the zip file you find there. When you’ve unzipped the archive, duplicate the file called .env.template, rename it as .env, and open it in a text editor. Look for the line “OPENAI_API_KEY=your-openai-api-key” and replace “your-openai-api-key” with an actual API key from your OpenAI account.
You can get an API key from here. You only get a few free API calls with ChatGPT, so you’ll want to set up a payment method—you can see the latest pricing at