Run JARVIS locally — dev mode
Goal
You will bring up a full JARVIS stack locally with inbound JWT validation disabled (dev-only posture).
When to use this
- You are iterating on component behavior and want to avoid auth friction.
- You want to validate end-to-end wiring (gateway → coordinator → executors → stores) before hardening.
Prerequisites
- Docker + Docker Compose
- Python
>=3.11+pip(forarp-jarvis) - A local checkout of
JARVIS_Release - You understand this is not a production posture.
Steps
-
Fast path (recommended): run the dev-insecure bootstrap script (macOS/Linux or WSL):
cd JARVIS_Release
bash ./start_dev.sh \
--llm-api-key "<your_openai_api_key>" \
--llm-chat-model "gpt-4.1-mini"This script:
- creates
compose/.env.localfromcompose/.env.example.insecureif needed - installs the CLI from the local checkout
- pulls images and brings the stack up
- runs
arp-jarvis doctor
- creates
-
Manual path: create a local env file:
cd JARVIS_Release
cp compose/.env.example.insecure compose/.env.local -
(Optional) Verify the stack profile:
# edit compose/.env.local
# STACK_PROFILE=dev-insecure -
Install the CLI:
python3 -m pip install -e .
arp-jarvis versions -
Start the stack and verify wiring:
arp-jarvis stack pull
arp-jarvis stack up -d
arp-jarvis doctor
Verify
arp-jarvis doctorshows Run Gateway and Run Coordinator as healthy.- If you curl
/v1/health, the JSON body includesstatus: "ok"(orstatus: "degraded"if a downstream dependency is unavailable).
Troubleshooting
docker: Cannot connect to the Docker daemon→ Docker isn’t running → start Docker Desktop / the Docker daemon.- Run Gateway health shows
degradedwith arun_coordinatorcheck → Run Coordinator isn’t healthy yet →arp-jarvis stack logs -f run-coordinator. - Port already in use (
bind: address already in use) → another service is using8080or8081→ changeKEYCLOAK_HOST_PORT/RUN_GATEWAY_HOST_PORTincompose/.env.local.
Cleanup / Rollback
-
Stop the stack (keeps volumes):
arp-jarvis stack down
Docker Compose fallback (no CLI)
docker compose --env-file compose/.env.local -f compose/docker-compose.yml up -d
curl -sS http://localhost:8081/v1/health
Next steps
- Concept: Policy checkpoints
- Reference: ARP Standard: Run Gateway
- How-to: Run JARVIS locally (Keycloak dev auth)