Platform stack

From VectorSpaceLab/AREX-Skill · View interactive version

Platform stack is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Operate and troubleshoot the self-hosted AutoGPT Platform stack, Docker services, environment files, migrations, and local LLM setup.

How to use this skill

Skill file

Platform Stack

Use this sub-skill for AutoGPT Platform self-hosting, local development,

Docker Compose, environment-file initialization, service health, migrations,

ports, upgrades, and local OpenAI-compatible AutoPilot endpoints.

Start here

backend/frontend development, migrations, upgrades, and local LLM routes.

changing ports, or switching auth/model transport.

diagnosing container restarts, or changing an existing installation.

starting services. Add --init-env only when missing local env files should

be created without overwriting existing files.

Safe operating sequence

  1. Confirm whether the task is a fresh self-host, active local development,

an upgrade, or a production-like deployment. Do not mix these paths.

  1. From the repository's autogpt_platform/ directory, verify Docker Compose,

Node/Corepack, disk space, and the three expected default env files.

  1. Initialize only missing .env files. Existing files must be diffed against

current defaults; cp -n does not merge newly added variables.

  1. Start the smallest service set that proves the next step. Use make start-core

for Postgres, Redis, and RabbitMQ; use full Compose only when the UI or all

services are required.

  1. Apply migrations and generate Prisma artifacts before exercising backend

features. Confirm docker compose ps and service logs before debugging UI

symptoms.

Common commands

cd autogpt_platform
make init-env
make start-core
make logs-core
make migrate
make run-backend
make run-frontend
# Full stack, when explicitly wanted:
docker compose up -d --build
docker compose ps

The normal local entry points are frontend 3000, WebSocket 8001, and REST

or execution API 8006, but the active Compose/environment configuration wins.

Routing boundaries

platform-backend.

to platform-frontend.

classic-agents.

Never make a Docker reset, database reset, credentialed provider call, model

pull, or full browser suite a default smoke check. Ask for explicit scope when

those side effects are part of the requested task.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.