Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Infrastructure

Gaius runs on a local development infrastructure managed by devenv (Nix-based), with process-compose for service orchestration and Just for task running.

Components

ComponentPurposeManagement
devenvNix-based development environmentdevenv shell
process-composeService orchestrationdevenv processes up/down
JustTask runner (recipes)just <recipe>
PostgreSQLPrimary database (:5444)devenv process
QdrantVector store (:6334)devenv process
AeronIPC transportdevenv process
NiFiData ingestiondevenv process
MetabaseAnalytics dashboardsdevenv process
Gaius EnginegRPC daemon (:50051)devenv process

Quick Start

# Enter development environment
devenv shell

# Start all services
devenv processes up

# Or clean restart (preferred)
just restart-clean

# Check status
uv run gaius-cli --cmd "/health" --format json

Architecture

devenv.nix is a pure service declaration file (~470 lines). It defines packages, environment variables, service configurations, and process dependency graphs. All process startup bash lives in scripts/processes/*.sh.

See: