Skip to content

Getting Started

Prerequisites

  • Docker Desktop (with Compose V2)
  • VS Code with the Dev Containers extension
  • API keys (optional): Anthropic, DeepSeek, Google AI

Installation

Terminal window
git clone https://github.com/p31labs/p31.git
cd p31
cp .env.example .env
# Edit .env with your API keys
just setup
just dev

Open in VS Code

  1. Open the p31 folder in VS Code
  2. Click “Reopen in Container” when prompted
  3. Wait for the devcontainer to build
  4. All services start automatically

Verify

Terminal window
curl localhost:8031/health # Backend
curl localhost:7474 # Neo4j Browser
curl localhost:4000/health # LiteLLM

Services

ServicePortCommand
Frontend (Vite)3031just frontend
Backend (FastAPI)8031just backend
Neo4j7474 / 7687just dev
LiteLLM4000just dev (ai profile)
Ollama11434just dev (ai profile)
Docs (Astro)4321just docs