Getting Started
Prerequisites
- Docker Desktop (with Compose V2)
- VS Code with the Dev Containers extension
- API keys (optional): Anthropic, DeepSeek, Google AI
Installation
git clone https://github.com/p31labs/p31.gitcd p31cp .env.example .env# Edit .env with your API keysjust setupjust devOpen in VS Code
- Open the
p31folder in VS Code - Click “Reopen in Container” when prompted
- Wait for the devcontainer to build
- All services start automatically
Verify
curl localhost:8031/health # Backendcurl localhost:7474 # Neo4j Browsercurl localhost:4000/health # LiteLLMServices
| Service | Port | Command |
|---|---|---|
| Frontend (Vite) | 3031 | just frontend |
| Backend (FastAPI) | 8031 | just backend |
| Neo4j | 7474 / 7687 | just dev |
| LiteLLM | 4000 | just dev (ai profile) |
| Ollama | 11434 | just dev (ai profile) |
| Docs (Astro) | 4321 | just docs |