[ad_1]
Next, you need to download Auto-GPT from GitHub: follow the latest release link and download the zip file you’ll find there. After extracting the archive, copy the file called .env.template, rename it to .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 the 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 on this page (at the time of writing, it’s a few cents per thousand tokens or bits of information processed). When you set up your payment method, you can also configure payment limits to make sure AutoGPT doesn’t cost you more than you’re comfortable with.
Once you’ve saved and closed your .env file, you can launch Auto-GPT by right-clicking on its folder and selecting it. Open it in terminal. Type “pip install -r requires.txt” and click come in install the required libraries, then when it’s done type “python -m autogpt” and press come in Run Auto-GPT itself. You are then free to start Auto-GPT working anonymously for you: just tell it what you want it to do and it will work.
Its thinking will appear on the screen and you will be asked to confirm each action as Auto-GPT runs — if you prefer to confirm several actions in a row, type “yx” where x is a number. Actions that the bot is happy to perform without your consent (remember, all ChatGPT requests cost you a small fee). If you need to complete the task before the end, use Ctrl+C.
If that’s a lot of work and you want something simpler to play with, AgentGPT is a similar project based on Auto-GPT that runs in the browser, no installation required. It’s not as advanced as Auto-GPT, but it’s easier for beginners and gives you an idea of what’s possible with these autonomous AI agents.
As with Auto-GPT, you need to get an API key for ChatGPT for AgentGPT to work properly (and again, you’ll be charged per usage). You can plug this API key into the tool parameters left. Give your agent a name and purpose using the on-screen input, then select Deploy Agent to deploy — tasks are displayed on the right as they are generated and completed.
[ad_2]
Source link