mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-17 22:14:28 +01:00
* Adding More Info To The Docs * Start of main page rebuild and adding new folders * Starting to move the AutoGPT(agent) Docs to a subfolder and start setup forge's subfolder * small fixes in links * fix file name * added the benchmakrs page * added front-end page * re-aranging the layout * moved the config section to be under the AutoGPT folder * fix image link * moved "Share Logs" and "Testing" to be under the AutoGPT folder * index.md: fix broken links on home page * Index.md: Testing Something with the links * index.md: Added the Benchmarks section * small fix for Frontend * Added a chat ai to the docs for testing as part of #5694 * index.md: sepetating the sections and making it easier to read * index.md: Added discord Link * index.md: Added better info to each section from @Yash-Ambekar * index.md: trying to fix the layout * Index.md: updating layout * Move Docker Setup To Its Own File * small fix * seperating the installation setups to there own page for making things clear * small fix in links * fix links again * change nav titles color to help make things clear * fix css * mv custom.css * fix for css not working * rm custom css as it didnt work * fix img * update image url * update nav * index.md: improving layout and wordings * index.md: testing line breaks * index.md: Fixed the line breaks * setup/docker-setp.md: small fix * Docker-setup.md update link to correct memory page * docker-setup.md: added note about docker install being broken * Docker-Setup.md: Updating the warning * Docker-Setup.md : Test * docker-setup.md: fix * docker-setup.md: fix * docker-setup.md final update to the warning * Docker-Setup.md * Updates to mkdocs.yml and docker-setup based on the feedback * fix to docker-setup.md * docker-setup.md fix * introduction.md: fix * Update docs/content/AutoGPT/Setups/Docker-setup.md Co-authored-by: Andy Hooker <58448663+andrewhooker2@users.noreply.github.com> * docker-setup.md update link * Update docs/content/AutoGPT/Setups/Git-setup.md Co-authored-by: Andy Hooker <58448663+andrewhooker2@users.noreply.github.com> * Update docs/content/AutoGPT/Setups/Git-setup.md Co-authored-by: Andy Hooker <58448663+andrewhooker2@users.noreply.github.com> * nogit-setup.md: updated links * Update docs/content/AutoGPT/Setups/Git-setup.md Co-authored-by: Andy Hooker <58448663+andrewhooker2@users.noreply.github.com> * Update docs/content/index.md Co-authored-by: Andy Hooker <58448663+andrewhooker2@users.noreply.github.com> * Update docs/content/index.md Co-authored-by: Andy Hooker <58448663+andrewhooker2@users.noreply.github.com> * Update docs/content/index.md Co-authored-by: Andy Hooker <58448663+andrewhooker2@users.noreply.github.com> * Update docs/content/index.md Co-authored-by: Andy Hooker <58448663+andrewhooker2@users.noreply.github.com> * setup.md: added extra info about the docker insall * setup.md small changs to clean things up * removed emojis from forge get-started.md * get-started.md - small changes * Update AutoGPT intro in index.md --------- Co-authored-by: sohamtembhurne <sohamatembhurne@outlook.com> Co-authored-by: Yash-Ambekar <yashambekar03@gmail.com> Co-authored-by: Nicholas Tindle <nicholas.tindle@agpt.co> Co-authored-by: Andy Hooker <58448663+andrewhooker2@users.noreply.github.com> Co-authored-by: Reinier van der Leer <pwuts@agpt.co>
123 lines
3.2 KiB
Markdown
123 lines
3.2 KiB
Markdown
# Usage
|
|
|
|
## Command Line Arguments
|
|
Running with `--help` lists all the possible command line arguments you can pass:
|
|
|
|
```shell
|
|
./run.sh --help # on Linux / macOS
|
|
|
|
.\run.bat --help # on Windows
|
|
```
|
|
|
|
!!! info
|
|
For use with Docker, replace the script in the examples with
|
|
`docker compose run --rm auto-gpt`:
|
|
|
|
```shell
|
|
docker compose run --rm auto-gpt --help
|
|
docker compose run --rm auto-gpt --ai-settings <filename>
|
|
```
|
|
|
|
!!! note
|
|
Replace anything in angled brackets (<>) to a value you want to specify
|
|
|
|
Here are some common arguments you can use when running AutoGPT:
|
|
|
|
* Run AutoGPT with a different AI Settings file
|
|
|
|
```shell
|
|
./run.sh --ai-settings <filename>
|
|
```
|
|
|
|
* Run AutoGPT with a different Prompt Settings file
|
|
|
|
```shell
|
|
./run.sh --prompt-settings <filename>
|
|
```
|
|
|
|
* Specify a memory backend
|
|
|
|
```shell
|
|
./run.sh --use-memory <memory-backend>
|
|
```
|
|
|
|
!!! note
|
|
There are shorthands for some of these flags, for example `-m` for `--use-memory`.
|
|
Use `./run.sh --help` for more information.
|
|
|
|
### Speak Mode
|
|
|
|
Enter this command to use TTS _(Text-to-Speech)_ for AutoGPT
|
|
|
|
```shell
|
|
./run.sh --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.
|
|
|
|
```shell
|
|
./run.sh --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.
|
|
|
|
### GPT-3.5 ONLY Mode
|
|
|
|
If you don't have access to GPT-4, this mode allows you to use AutoGPT!
|
|
|
|
```shell
|
|
./run.sh --gpt3only
|
|
```
|
|
|
|
You can achieve the same by setting `SMART_LLM` in `.env` to `gpt-3.5-turbo`.
|
|
|
|
### GPT-4 ONLY Mode
|
|
|
|
If you have access to GPT-4, this mode allows you to use AutoGPT solely with GPT-4.
|
|
This may give your bot increased intelligence.
|
|
|
|
```shell
|
|
./run.sh --gpt4only
|
|
```
|
|
|
|
!!! warning
|
|
Since GPT-4 is more expensive to use, running AutoGPT in GPT-4-only mode will
|
|
increase your API costs.
|
|
|
|
## Logs
|
|
|
|
Activity, Error, and Debug logs are located in `./logs`
|
|
|
|
!!! tip
|
|
Do you notice weird behavior with your agent? Do you have an interesting use case? Do you have a bug you want to report?
|
|
Follow the step below to enable your logs. You can include these logs when making an issue report or discussing an issue with us.
|
|
|
|
To print out debug logs:
|
|
|
|
```shell
|
|
./run.sh --debug # on Linux / macOS
|
|
|
|
.\run.bat --debug # on Windows
|
|
|
|
docker-compose run --rm auto-gpt --debug # in Docker
|
|
```
|
|
|
|
## Disabling Command Categories
|
|
|
|
If you want to selectively disable some command groups, you can use the `DISABLED_COMMAND_CATEGORIES` config in your `.env`. You can find the list of categories in your `.env.template`
|
|
|
|
For example, to disable coding related features, set it to the value below:
|
|
|
|
```ini
|
|
DISABLED_COMMAND_CATEGORIES=autogpt.commands.execute_code
|
|
```
|