LanternDOCS

Installation

Clone, start the stack, verify it's healthy — under two minutes.

In plain termsThe "stack" is everything Lantern needs to run on your laptop: a database that remembers your agents and their runs (Postgres), a fast in-memory helper for live updates (Redis), file storage for agent bundles (MinIO), the API server that does the work, and the dashboard you'll use in the browser. One command starts all of it — you don't need to know how any individual piece works to use Lantern.

Prerequisites

ToolMin versionHomebrew
Docker Desktopv4.x+brew install --cask docker
Node.jsv20+brew install node
Gov1.23+brew install go
Gitanybrew install git
Docker must be running before you start. Postgres, Redis, and MinIO run in Docker containers.

Clone the repo

git clone https://github.com/dshakes/lantern.git
cd lantern

Start the stack

One command boots everything:

lantern dev

Or run services individually for faster iteration:

# Terminal 1 — Postgres, Redis, MinIO
make dev-infra

# Terminal 2 — control-plane API on :8080
make run-api

# Terminal 3 — Next.js dashboard on :3001
make dashboard-dev
Never run go run ./cmd/server directly. It uses OS-user Postgres auth and will fail. Always use make run-api — it injects DATABASE_URL, REDIS_URL, and S3_ENDPOINT.

Verify

curl -s http://localhost:8080/healthz
# → {"status":"ok"}

make dev-doctor   # probes every service and reports status

Dev credentials

Seeded automatically on first boot. No setup required.

ServiceValue
PostgreSQLpostgres://lantern:lantern@localhost:5432/lantern?sslmode=disable
Redisredis://localhost:6379
MinIOhttp://localhost:9000 · console :9001 · creds lantern / lanternsecret
Dashboardadmin@lantern.dev / lantern at localhost:3001
JWT secretlantern-dev-jwt-secret-do-not-use-in-production
Dev tenant ID00000000-0000-0000-0000-000000000001 (slug: dev)
Dev user ID00000000-0000-0000-0000-000000000002 (role: owner)
Never use these credentials in production. Rotate all secrets before any production deployment.

Service ports

ServicePortProtocol
control-plane (HTTP):8080REST + health + SSE
control-plane (gRPC):50051gRPC
dashboard:3001Next.js / Turbopack
workflow-engine:50052gRPC
model-router:50053gRPC
runtime-manager:50054gRPC
runtime-scheduler:50055 / :8085gRPC / REST
gateway:8443HTTPS
surface-gateway:8444HTTP webhooks
PostgreSQL:5432postgres
Redis:6379redis
MinIO S3:9000S3-compatible
MinIO console:9001HTTP browser

Make targets

TargetWhat it does
make devFull docker-compose stack
make dev-infraPostgres + Redis + MinIO only (daily driver)
make dev-doctorHealth-check every service
make run-apiControl-plane on :8080
make dashboard-devNext.js dashboard on :3001
make run-whatsapp-bridgeWhatsApp bridge on :3100
make buildCompile Go + Rust + TypeScript
make testAll test suites
make lintAll linters
make ci-localLint + test + audit (same as CI)
make protoRegenerate from .proto definitions
make cleanRemove artifacts + docker volumes

Next steps