Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

refactor: Rename Agent's entrypoint to autogpt.sh

Reinier van der Leer1ce82372fdfc
diff --git a/autogpts/autogpt/README.md b/autogpts/autogpt/README.md
index d46f2cc2a5..86e0aa69fa 100644
--- a/autogpts/autogpt/README.md
+++ b/autogpts/autogpt/README.md
@@ -34,7 +34,7 @@ see the [setup guide][docs/setup].
## Running AutoGPT
The CLI should be self-documenting:
```shell
-$ ./run.sh --help
+$ ./autogpt.sh --help
Usage: python -m autogpt [OPTIONS] COMMAND [ARGS]...
Options:
@@ -48,13 +48,13 @@ When run without a sub-command, it will default to `run` for legacy reasons.
<details>
<summary>
-<code>$ ./run.sh run --help</code>
+<code>$ ./autogpt.sh run --help</code>
</summary>
The `run` sub-command starts AutoGPT with the legacy CLI interface:
```shell
-$ ./run.sh run --help
+$ ./autogpt.sh run --help
Usage: python -m autogpt run [OPTIONS]
Sets up and runs an agent, based on the task specified by the user, or
@@ -105,13 +105,13 @@ Options:
<details>
<summary>
-<code>$ ./run.sh serve --help</code>
+<code>$ ./autogpt.sh serve --help</code>
</summary>
The `serve` sub-command starts AutoGPT wrapped in an Agent Protocol server:
```shell
-$ ./run.sh serve --help
+$ ./autogpt.sh serve --help
Usage: python -m autogpt serve [OPTIONS]
Starts an Agent Protocol compliant AutoGPT server, which creates a custom
diff --git a/autogpts/autogpt/run.bat b/autogpts/autogpt/autogpt.bat
similarity index 100%
rename from autogpts/autogpt/run.bat
rename to autogpts/autogpt/autogpt.bat
diff --git a/autogpts/autogpt/run.sh b/autogpts/autogpt/autogpt.sh
similarity index 100%
rename from autogpts/autogpt/run.sh
rename to autogpts/autogpt/autogpt.sh
diff --git a/autogpts/autogpt/run_continuous.bat b/autogpts/autogpt/run_continuous.bat
deleted file mode 100644
index 812aa01c1c..0000000000
--- a/autogpts/autogpt/run_continuous.bat
+++ /dev/null
@@ -1,3 +0,0 @@
-@echo off
-set argument=--continuous
-call run.bat %argument%
diff --git a/autogpts/autogpt/run_continuous.sh b/autogpts/autogpt/run_continuous.sh
deleted file mode 100755
index 1f4436c885..0000000000
--- a/autogpts/autogpt/run_continuous.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/bash
-
-./run.sh --continuous $@
diff --git a/docs/content/AutoGPT/setup/index.md b/docs/content/AutoGPT/setup/index.md
index 4b18f074c2..2bf6724f4e 100644
--- a/docs/content/AutoGPT/setup/index.md
+++ b/docs/content/AutoGPT/setup/index.md
@@ -97,7 +97,7 @@ Once you have cloned or downloaded the project, you can find the AutoGPT Agent i
8. _Optional: run `poetry install` to install all required dependencies._ The
application also checks for and installs any required dependencies when it starts.
-You should now be able to explore the CLI (`./run.sh --help`) and run the application.
+You should now be able to explore the CLI (`./autogpt.sh --help`) and run the application.
See the [user guide](../usage.md) for further instructions.
diff --git a/docs/content/AutoGPT/share-your-logs.md b/docs/content/AutoGPT/share-your-logs.md
index 9fc6fef3de..3f4139ce1e 100644
--- a/docs/content/AutoGPT/share-your-logs.md
+++ b/docs/content/AutoGPT/share-your-logs.md
@@ -9,9 +9,9 @@ Activity, Error, and Debug logs are located in `./logs`
To print out debug logs:
```shell
-./run.sh --debug # on Linux / macOS
+./autogpt.sh --debug # on Linux / macOS
-.\run.bat --debug # on Windows
+.\autogpt.bat --debug # on Windows
docker-compose run --rm auto-gpt --debug # in Docker
```
diff --git a/docs/content/AutoGPT/usage.md b/docs/content/AutoGPT/usage.md
index 2229771d4e..e1f5bd8cc2 100644
--- a/docs/content/AutoGPT/usage.md
+++ b/docs/content/AutoGPT/usage.md
@@ -6,11 +6,11 @@
## Command Line Interface
-Running `./run.sh` (or any of its subcommands) with `--help` lists all the possible
+Running `./autogpt.sh` (or any of its subcommands) with `--help` lists all the possible
sub-commands and arguments you can use:
```shell
-$ ./run.sh --help
+$ ./autogpt.sh --help
Usage: python -m autogpt [OPTIONS] COMMAND [ARGS]...
Options:
@@ -22,7 +22,7 @@ Commands:
```
!!! important "For Windows users"
- On Windows, use `.\run.bat` instead of `./run.sh`.
+ On Windows, use `.\autogpt.bat` instead of `./autogpt.sh`.
Everything else (subcommands, arguments) should work the same.
!!! info "Usage with Docker"
@@ -40,11 +40,11 @@ The `run` sub-command starts AutoGPT with the legacy CLI interface.
<details>
<summary>
-<code>./run.sh run --help</code>
+<code>./autogpt.sh run --help</code>
</summary>
```shell
-$ ./run.sh run --help
+$ ./autogpt.sh run --help
Usage: python -m autogpt run [OPTIONS]
Sets up and runs an agent, based on the task specified by the user, or
@@ -96,7 +96,7 @@ This means you can *resume* agents at a later time. See also [agent state].
!!! note
For legacy reasons, the CLI will default to the `run` subcommand when none is
- specified: running `./run.sh run [OPTIONS]` does the same as `./run.sh [OPTIONS]`,
+ specified: running `./autogpt.sh run [OPTIONS]` does the same as `./autogpt.sh [OPTIONS]`,
but this may change in the future.
#### 💀 Continuous Mode ⚠️
@@ -107,7 +107,7 @@ It is potentially dangerous and may cause your AI to run forever or carry out ac
Use at your own risk.
```shell
-./run.sh --continuous
+./autogpt.sh --continuous
```
To exit the program, press ++ctrl+c++
@@ -119,11 +119,11 @@ frontend, by default on `http://localhost:8000`.
<details>
<summary>
-<code>./run.sh serve --help</code>
+<code>./autogpt.sh serve --help</code>
</summary>
```shell
-$ ./run.sh serve --help
+$ ./autogpt.sh serve --help
Usage: python -m autogpt serve [OPTIONS]
Starts an Agent Protocol compliant AutoGPT server, which creates a custom
@@ -163,18 +163,18 @@ 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>
+ ./autogpt.sh --ai-settings <filename>
```
* Run AutoGPT with a different Prompt Settings file
```shell
- ./run.sh --prompt-settings <filename>
+ ./autogpt.sh --prompt-settings <filename>
```
!!! note
There are shorthands for some of these flags, for example `-P` for `--prompt-settings`.
- Use `./run.sh --help` for more information.
+ Use `./autogpt.sh --help` for more information.
[.env.template]: https://github.com/Significant-Gravitas/AutoGPT/tree/master/autogpts/autogpt/.env.template
@@ -200,7 +200,7 @@ Activity, Error, and Debug logs are located in `logs`.
To print out debug logs:
```shell
-./run.sh --debug
+./autogpt.sh --debug
```
## Disabling Command Categories