# macOS / Linux
curl https://mise.run | sh
# or
brew install mise
# Windows
winget install jdx.misemise install # Install toolchains (Go, Node, Bun, pnpm, sqlc)
./docker/toolkit/install.sh # Install toolkit used by the nested workspace runtime
mise run setup # Install deps and prepare local tooling
mise run dev # Start full containerized dev environmentThat's it. dev launches everything in Docker containers:
- PostgreSQL + Qdrant (infrastructure)
- Database migrations (auto-run on startup)
- Go server with containerd (hot-reload via
go run) - Agent Gateway (Bun, hot-reload)
- Web frontend (Vite, hot-reload)
The dev stack uses devenv/app.dev.toml directly and no longer overwrites the repo root config.toml.
Default host ports are shifted away from the production compose stack: Web 18082, API 18080, Agent 18081, Postgres 15432, Qdrant 16333/16334, Sparse 18085.
mise run dev # Start all services
mise run dev:down # Stop all services
mise run dev:logs # View logs
mise run dev:restart -- server # Restart a specific service| Command | Description |
|---|---|
mise run dev |
Start containerized dev environment |
mise run dev:down |
Stop dev environment |
mise run dev:logs |
View dev logs |
mise run dev:restart |
Restart a service (e.g. -- server) |
mise run setup |
Install deps and prepare local tooling |
mise run db-up |
Run database migrations |
mise run db-down |
Roll back database migrations |
mise run swagger-generate |
Generate Swagger documentation |
mise run sdk-generate |
Generate TypeScript SDK |
mise run sqlc-generate |
Generate SQL code |
conf/ — Configuration templates (app.example.toml, app.docker.toml)
devenv/ — Dev environment (docker-compose, dev Dockerfiles, app.dev.toml, bridge-build.sh)
docker/ — Production Docker build & runtime (Dockerfiles, entrypoints)
cmd/ — Go application entry points
internal/ — Go backend core code
apps/ — Application services (Agent Gateway, etc.)
agent/ — Agent Gateway (Bun/Elysia)
packages/ — Frontend monorepo (web, ui, sdk, cli, config)
db/ — Database migrations and queries
scripts/ — Utility scripts