2.7 KiB
Usage
Open a terminal and run the startup script:
- On Linux/MacOS:
./run.sh
- On Windows:
.\run.bat
- Using Docker:
docker-compose run --rm auto-gpt
Running with --help lists all the possible command line arguments you can pass:
./run.sh --help
# or with docker
docker-compose run --rm auto-gpt --help
- After each response from Auto-GPT, choose from the options to authorize command(s),
exit the program, or provide feedback to the AI.
- Authorize a single command by entering
y - Authorize a series of N continuous commands by entering
y -N. For example, enteringy -10would run 10 automatic iterations. - Enter any free text to give feedback to Auto-GPT.
- Exit the program by entering
n
- Authorize a single command by entering
Command Line Arguments
Here are some common arguments you can use when running Auto-GPT:
Replace anything in angled brackets (<>) to a value you want to specify
- View all available command line arguments
python -m autogpt --help
- Run Auto-GPT with a different AI Settings file
python -m autogpt --ai-settings <filename>
- Specify a memory backend
python -m autogpt --use-memory <memory-backend>
Note
: There are shorthands for some of these flags, for example
-mfor--use-memory. Usepython -m autogpt --helpfor more information
Speak Mode
Enter this command to use TTS (Text-to-Speech) for Auto-GPT
python -m autogpt --speak
💀 Continuous Mode ⚠️
Run the AI without user authorization, 100% automated. Continuous mode is NOT recommended. It is potentially dangerous and may cause your AI to run forever or carry out actions you would not usually authorize. Use at your own risk.
- Run the
autogptpython module in your terminal:
python -m autogpt --continuous
- To exit the program, press Ctrl + C
♻️ Self-Feedback Mode ⚠️
Running Self-Feedback will INCREASE token use and thus cost more. This feature enables the agent to provide self-feedback by verifying its own actions and checking if they align with its current goals. If not, it will provide better feedback for the next loop. To enable this feature for the current loop, input S into the input field.
GPT3.5 ONLY Mode
If you don't have access to the GPT4 api, this mode will allow you to use Auto-GPT!
python -m autogpt --gpt3only
GPT4 ONLY Mode
If you do have access to the GPT4 api, this mode will allow you to use Auto-GPT solely using the GPT-4 API for increased intelligence (and cost!)
python -m autogpt --gpt4only
Logs
Activity and error logs are located in the ./output/logs
To print out debug logs:
python -m autogpt --debug