Bumps the development-dependencies group in /autogpt_platform/autogpt_libs with 1 update: [ruff](https://github.com/astral-sh/ruff). Updates `ruff` from 0.8.2 to 0.8.3 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/releases">ruff's releases</a>.</em></p> <blockquote> <h2>0.8.3</h2> <h2>Release Notes</h2> <h3>Preview features</h3> <ul> <li>Fix fstring formatting removing overlong implicit concatenated string in expression part (<a href="https://redirect.github.com/astral-sh/ruff/pull/14811">#14811</a>)</li> <li>[<code>airflow</code>] Add fix to remove deprecated keyword arguments (<code>AIR302</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14887">#14887</a>)</li> <li>[<code>airflow</code>]: Extend rule to include deprecated names for Airflow 3.0 (<code>AIR302</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14765">#14765</a> and <a href="https://redirect.github.com/astral-sh/ruff/pull/14804">#14804</a>)</li> <li>[<code>flake8-bugbear</code>] Improve error messages for <code>except*</code> (<code>B025</code>, <code>B029</code>, <code>B030</code>, <code>B904</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14815">#14815</a>)</li> <li>[<code>flake8-bugbear</code>] <code>itertools.batched()</code> without explicit <code>strict</code> (<code>B911</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14408">#14408</a>)</li> <li>[<code>flake8-use-pathlib</code>] Dotless suffix passed to <code>Path.with_suffix()</code> (<code>PTH210</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14779">#14779</a>)</li> <li>[<code>pylint</code>] Include parentheses and multiple comparators in check for <code>boolean-chained-comparison</code> (<code>PLR1716</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14781">#14781</a>)</li> <li>[<code>ruff</code>] Do not simplify <code>round()</code> calls (<code>RUF046</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14832">#14832</a>)</li> <li>[<code>ruff</code>] Don't emit <code>used-dummy-variable</code> on function parameters (<code>RUF052</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14818">#14818</a>)</li> <li>[<code>ruff</code>] Implement <code>if-key-in-dict-del</code> (<code>RUF051</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14553">#14553</a>)</li> <li>[<code>ruff</code>] Mark autofix for <code>RUF052</code> as always unsafe (<a href="https://redirect.github.com/astral-sh/ruff/pull/14824">#14824</a>)</li> <li>[<code>ruff</code>] Teach autofix for <code>used-dummy-variable</code> about TypeVars etc. (<code>RUF052</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14819">#14819</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-bugbear</code>] Offer unsafe autofix for <code>no-explicit-stacklevel</code> (<code>B028</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14829">#14829</a>)</li> <li>[<code>flake8-pyi</code>] Skip all type definitions in <code>string-or-bytes-too-long</code> (<code>PYI053</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14797">#14797</a>)</li> <li>[<code>pyupgrade</code>] Do not report when a UTF-8 comment is followed by a non-UTF-8 one (<code>UP009</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14728">#14728</a>)</li> <li>[<code>pyupgrade</code>] Mark fixes for <code>convert-typed-dict-functional-to-class</code> and <code>convert-named-tuple-functional-to-class</code> as unsafe if they will remove comments (<code>UP013</code>, <code>UP014</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14842">#14842</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Raise syntax error for mixing <code>except</code> and <code>except*</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/14895">#14895</a>)</li> <li>[<code>flake8-bugbear</code>] Fix <code>B028</code> to allow <code>stacklevel</code> to be explicitly assigned as a positional argument (<a href="https://redirect.github.com/astral-sh/ruff/pull/14868">#14868</a>)</li> <li>[<code>flake8-bugbear</code>] Skip <code>B028</code> if <code>warnings.warn</code> is called with <code>*args</code> or <code>**kwargs</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/14870">#14870</a>)</li> <li>[<code>flake8-comprehensions</code>] Skip iterables with named expressions in <code>unnecessary-map</code> (<code>C417</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14827">#14827</a>)</li> <li>[<code>flake8-pyi</code>] Also remove <code>self</code> and <code>cls</code>'s annotation (<code>PYI034</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14801">#14801</a>)</li> <li>[<code>flake8-pytest-style</code>] Fix <code>pytest-parametrize-names-wrong-type</code> (<code>PT006</code>) to edit both <code>argnames</code> and <code>argvalues</code> if both of them are single-element tuples/lists (<a href="https://redirect.github.com/astral-sh/ruff/pull/14699">#14699</a>)</li> <li>[<code>perflint</code>] Improve autofix for <code>PERF401</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/14369">#14369</a>)</li> <li>[<code>pylint</code>] Fix <code>PLW1508</code> false positive for default string created via a mult operation (<a href="https://redirect.github.com/astral-sh/ruff/pull/14841">#14841</a>)</li> </ul> <h2>Contributors</h2> <ul> <li><a href="https://github.com/AlexWaygood"><code>@AlexWaygood</code></a></li> <li><a href="https://github.com/BurntSushi"><code>@BurntSushi</code></a></li> <li><a href="https://github.com/DimitriPapadopoulos"><code>@DimitriPapadopoulos</code></a></li> <li><a href="https://github.com/Glyphack"><code>@Glyphack</code></a></li> <li><a href="https://github.com/InSyncWithFoo"><code>@InSyncWithFoo</code></a></li> <li><a href="https://github.com/Lee-W"><code>@Lee-W</code></a></li> <li><a href="https://github.com/MichaReiser"><code>@MichaReiser</code></a></li> <li><a href="https://github.com/UnknownPlatypus"><code>@UnknownPlatypus</code></a></li> <li><a href="https://github.com/carljm"><code>@carljm</code></a></li> <li><a href="https://github.com/cclauss"><code>@cclauss</code></a></li> <li><a href="https://github.com/dcreager"><code>@dcreager</code></a></li> <li><a href="https://github.com/dhruvmanila"><code>@dhruvmanila</code></a></li> <li><a href="https://github.com/dylwil3"><code>@dylwil3</code></a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md">ruff's changelog</a>.</em></p> <blockquote> <h2>0.8.3</h2> <h3>Preview features</h3> <ul> <li>Fix fstring formatting removing overlong implicit concatenated string in expression part (<a href="https://redirect.github.com/astral-sh/ruff/pull/14811">#14811</a>)</li> <li>[<code>airflow</code>] Add fix to remove deprecated keyword arguments (<code>AIR302</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14887">#14887</a>)</li> <li>[<code>airflow</code>]: Extend rule to include deprecated names for Airflow 3.0 (<code>AIR302</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14765">#14765</a> and <a href="https://redirect.github.com/astral-sh/ruff/pull/14804">#14804</a>)</li> <li>[<code>flake8-bugbear</code>] Improve error messages for <code>except*</code> (<code>B025</code>, <code>B029</code>, <code>B030</code>, <code>B904</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14815">#14815</a>)</li> <li>[<code>flake8-bugbear</code>] <code>itertools.batched()</code> without explicit <code>strict</code> (<code>B911</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14408">#14408</a>)</li> <li>[<code>flake8-use-pathlib</code>] Dotless suffix passed to <code>Path.with_suffix()</code> (<code>PTH210</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14779">#14779</a>)</li> <li>[<code>pylint</code>] Include parentheses and multiple comparators in check for <code>boolean-chained-comparison</code> (<code>PLR1716</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14781">#14781</a>)</li> <li>[<code>ruff</code>] Do not simplify <code>round()</code> calls (<code>RUF046</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14832">#14832</a>)</li> <li>[<code>ruff</code>] Don't emit <code>used-dummy-variable</code> on function parameters (<code>RUF052</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14818">#14818</a>)</li> <li>[<code>ruff</code>] Implement <code>if-key-in-dict-del</code> (<code>RUF051</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14553">#14553</a>)</li> <li>[<code>ruff</code>] Mark autofix for <code>RUF052</code> as always unsafe (<a href="https://redirect.github.com/astral-sh/ruff/pull/14824">#14824</a>)</li> <li>[<code>ruff</code>] Teach autofix for <code>used-dummy-variable</code> about TypeVars etc. (<code>RUF052</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14819">#14819</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-bugbear</code>] Offer unsafe autofix for <code>no-explicit-stacklevel</code> (<code>B028</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14829">#14829</a>)</li> <li>[<code>flake8-pyi</code>] Skip all type definitions in <code>string-or-bytes-too-long</code> (<code>PYI053</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14797">#14797</a>)</li> <li>[<code>pyupgrade</code>] Do not report when a UTF-8 comment is followed by a non-UTF-8 one (<code>UP009</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14728">#14728</a>)</li> <li>[<code>pyupgrade</code>] Mark fixes for <code>convert-typed-dict-functional-to-class</code> and <code>convert-named-tuple-functional-to-class</code> as unsafe if they will remove comments (<code>UP013</code>, <code>UP014</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14842">#14842</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Raise syntax error for mixing <code>except</code> and <code>except*</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/14895">#14895</a>)</li> <li>[<code>flake8-bugbear</code>] Fix <code>B028</code> to allow <code>stacklevel</code> to be explicitly assigned as a positional argument (<a href="https://redirect.github.com/astral-sh/ruff/pull/14868">#14868</a>)</li> <li>[<code>flake8-bugbear</code>] Skip <code>B028</code> if <code>warnings.warn</code> is called with <code>*args</code> or <code>**kwargs</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/14870">#14870</a>)</li> <li>[<code>flake8-comprehensions</code>] Skip iterables with named expressions in <code>unnecessary-map</code> (<code>C417</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14827">#14827</a>)</li> <li>[<code>flake8-pyi</code>] Also remove <code>self</code> and <code>cls</code>'s annotation (<code>PYI034</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/14801">#14801</a>)</li> <li>[<code>flake8-pytest-style</code>] Fix <code>pytest-parametrize-names-wrong-type</code> (<code>PT006</code>) to edit both <code>argnames</code> and <code>argvalues</code> if both of them are single-element tuples/lists (<a href="https://redirect.github.com/astral-sh/ruff/pull/14699">#14699</a>)</li> <li>[<code>perflint</code>] Improve autofix for <code>PERF401</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/14369">#14369</a>)</li> <li>[<code>pylint</code>] Fix <code>PLW1508</code> false positive for default string created via a mult operation (<a href="https://redirect.github.com/astral-sh/ruff/pull/14841">#14841</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="53f2d72e02"><code>53f2d72</code></a> Revert certain double quotes from workflow shell script (<a href="https://redirect.github.com/astral-sh/ruff/issues/14939">#14939</a>)</li> <li><a href="3629cbf35a"><code>3629cbf</code></a> Use double quotes consistently for shell scripts (<a href="https://redirect.github.com/astral-sh/ruff/issues/14938">#14938</a>)</li> <li><a href="37f433814c"><code>37f4338</code></a> Bump version to 0.8.3 (<a href="https://redirect.github.com/astral-sh/ruff/issues/14937">#14937</a>)</li> <li><a href="45b565cbb5"><code>45b565c</code></a> [red-knot] <code>Any</code> cannot be parameterized (<a href="https://redirect.github.com/astral-sh/ruff/issues/14933">#14933</a>)</li> <li><a href="82faa9bb62"><code>82faa9b</code></a> Add tests demonstrating f-strings with debug expressions in replacements that...</li> <li><a href="2eac00c60f"><code>2eac00c</code></a> [<code>perflint</code>] fix invalid hoist in <code>perf401</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/14369">#14369</a>)</li> <li><a href="033ecf5a4b"><code>033ecf5</code></a> Also have zizmor check for low-severity security issues (<a href="https://redirect.github.com/astral-sh/ruff/issues/14893">#14893</a>)</li> <li><a href="5509a3d7ae"><code>5509a3d</code></a> Add LSP settings example for Zed editor (<a href="https://redirect.github.com/astral-sh/ruff/issues/14894">#14894</a>)</li> <li><a href="e4885a2fb2"><code>e4885a2</code></a> [red-knot] Understand <code>typing.Tuple</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/14927">#14927</a>)</li> <li><a href="a7e5e42b88"><code>a7e5e42</code></a> [red-knot] Make <code>attributes.md</code> test future-proof (<a href="https://redirect.github.com/astral-sh/ruff/issues/14923">#14923</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/0.8.2...0.8.3">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AutoGPT Platform
Welcome to the AutoGPT Platform - a powerful system for creating and running AI agents to solve business problems. This platform enables you to harness the power of artificial intelligence to automate tasks, analyze data, and generate insights for your organization.
Getting Started
Prerequisites
- Docker
- Docker Compose V2 (comes with Docker Desktop, or can be installed separately)
- Node.js & NPM (for running the frontend application)
Running the System
To run the AutoGPT Platform, follow these steps:
-
Clone this repository to your local machine and navigate to the
autogpt_platformdirectory within the repository:git clone <https://github.com/Significant-Gravitas/AutoGPT.git | git@github.com:Significant-Gravitas/AutoGPT.git> cd AutoGPT/autogpt_platform -
Run the following command:
git submodule update --init --recursiveThis command will initialize and update the submodules in the repository. The
supabasefolder will be cloned to the root directory. -
Run the following command:
cp supabase/docker/.env.example .envThis command will copy the
.env.examplefile to.envin thesupabase/dockerdirectory. You can modify the.envfile to add your own environment variables. -
Run the following command:
docker compose up -dThis command will start all the necessary backend services defined in the
docker-compose.ymlfile in detached mode. -
Navigate to
frontendwithin theautogpt_platformdirectory:cd frontendYou will need to run your frontend application separately on your local machine.
-
Run the following command:
cp .env.example .env.localThis command will copy the
.env.examplefile to.env.localin thefrontenddirectory. You can modify the.env.localwithin this folder to add your own environment variables for the frontend application. -
Run the following command:
npm install npm run devThis command will install the necessary dependencies and start the frontend application in development mode. If you are using Yarn, you can run the following commands instead:
yarn install && yarn dev -
Open your browser and navigate to
http://localhost:3000to access the AutoGPT Platform frontend.
Docker Compose Commands
Here are some useful Docker Compose commands for managing your AutoGPT Platform:
docker compose up -d: Start the services in detached mode.docker compose stop: Stop the running services without removing them.docker compose rm: Remove stopped service containers.docker compose build: Build or rebuild services.docker compose down: Stop and remove containers, networks, and volumes.docker compose watch: Watch for changes in your services and automatically update them.
Sample Scenarios
Here are some common scenarios where you might use multiple Docker Compose commands:
-
Updating and restarting a specific service:
docker compose build api_srv docker compose up -d --no-deps api_srvThis rebuilds the
api_srvservice and restarts it without affecting other services. -
Viewing logs for troubleshooting:
docker compose logs -f api_srv ws_srvThis shows and follows the logs for both
api_srvandws_srvservices. -
Scaling a service for increased load:
docker compose up -d --scale executor=3This scales the
executorservice to 3 instances to handle increased load. -
Stopping the entire system for maintenance:
docker compose stop docker compose rm -f docker compose pull docker compose up -dThis stops all services, removes containers, pulls the latest images, and restarts the system.
-
Developing with live updates:
docker compose watchThis watches for changes in your code and automatically updates the relevant services.
-
Checking the status of services:
docker compose psThis shows the current status of all services defined in your docker-compose.yml file.
These scenarios demonstrate how to use Docker Compose commands in combination to manage your AutoGPT Platform effectively.
Persisting Data
To persist data for PostgreSQL and Redis, you can modify the docker-compose.yml file to add volumes. Here's how:
-
Open the
docker-compose.ymlfile in a text editor. -
Add volume configurations for PostgreSQL and Redis services:
services: postgres: # ... other configurations ... volumes: - postgres_data:/var/lib/postgresql/data redis: # ... other configurations ... volumes: - redis_data:/data volumes: postgres_data: redis_data: -
Save the file and run
docker compose up -dto apply the changes.
This configuration will create named volumes for PostgreSQL and Redis, ensuring that your data persists across container restarts.