Skip to content

Install

AutoGPT is a Docker-based platform. Requires Docker 20.10+, Docker Compose 2.0+, Node.js 16+, and Git. Minimum 8 GB RAM.

Warning: Do not follow third-party tutorials. They go out of date quickly. Use only the official self-hosting guide at https://agpt.co/docs/platform/self-hosting/getting-started.

macOS / Linux:

bash
curl -fsSL https://setup.agpt.co/install.sh -o install.sh && bash install.sh

Windows (PowerShell):

powershell
powershell -c "iwr https://setup.agpt.co/install.bat -o install.bat; ./install.bat"

The script handles cloning, environment setup, and Docker Compose startup automatically.

Option 2: Manual setup

bash
# Clone the repo
git clone https://github.com/Significant-Gravitas/AutoGPT.git

# Enter the platform directory
cd AutoGPT/autogpt_platform

# Copy default environment file and add your API keys
cp .env.default .env

# Build and start all services in the background
docker compose up -d --build

Edit .env to supply your model provider API key (OpenAI, Anthropic, etc.) before starting.

Cloud (no install)

Sign up at https://agpt.co for the managed hosted platform. Pro and Max plans include model usage; no Docker or infrastructure required.