How to set up your local development environment for GAIA.
Docker & Docker Compose
Development Tools
System Requirements
Run the Setup Script
.env.example
→ .env
).uv
.pnpm
.Configure Environment Variables
.env
files from examples, but you need to add your API keys and secrets.backend/.env
- Add your API keys (OpenAI, Google OAuth, etc.)frontend/.env
- Configure API URLs and tokensYou're Ready!
.env
files to manage these settings.
Copy Example Files
.env
files:Fill in Your Secrets
.env
files and fill in your API keys and other secrets.For a detailed explanation of all the available environment variables, see the Environment Variables Reference.Start Docker Services
backend-only
profile and running the frontend manually with pnpm dev
(see Frontend Setup below).Create Virtual Environment
Install Backend Dependencies
uv
for fast dependency management. Install the required packages:Navigate to Frontend Directory
Install Frontend Dependencies
pnpm
for managing frontend packages. Install them with:Start Development Server (Recommended)
http://localhost:3000
with optimized hot reloading.Return to Root Directory
Start Backend Services
Start Frontend Development Server
http://localhost:3000
with optimized hot reloading.Verify Setup
pnpm dev
.