Quickstart
Prerequisites
# Homebrew basicsbrew install python@3.12 node ffmpeg
# Verifypython3 --version # 3.12 required (core-x/corex-cli-v2 declare >=3.10, # but corex-disk-study requires >=3.12 — use 3.12 everywhere)node --version # >= 18ffmpeg -version # required for audio/video pipelinesFirst-Run Checklist
Before launching anything for the first time:
- Brew deps —
brew install python@3.12 node ffmpeg(see versions above) - Node deps —
cd core-x/ui && npm install - Ports free — Verify nothing is squatting on 5200, 5201, 8085, 8090–8096 (
lsof -i :8090) - Disk budget — MLX models can be 4–20 GB each; ensure ~50 GB free for standard tier
- Models downloaded — Models are fetched on first service start; initial launch will be slow
A) Minimal — Gateway Only
cd ~/core-x-kbllr_0cd mlx-services && ./start-all.sh --only gatewayVerify:
curl http://localhost:8090/health# Expected: {"status":"ok"} or similar JSONB) Core Tier (gateway + llm + rag)
cd ~/core-x-kbllr_0/mlx-services./start-all.sh --profile minimalVerify:
curl http://localhost:8090/health # gatewaycurl http://localhost:8091/health # mlx-llmcurl http://localhost:8092/health # mlx-ragC) Standard Tier (core + audio + embed + mflux)
cd ~/core-x-kbllr_0/mlx-services./start-all.sh --profile standardVerify:
curl http://localhost:8093/health # mlx-audiocurl http://localhost:8095/health # mlx-embedcurl http://localhost:8083/health # mfluxD) Full Tier (all services)
Use the main launcher, which orchestrates everything including event bus and UI:
cd ~/core-x-kbllr_0./launch-core-x.sh # Standard + voice/avatar./launch-core-x.sh --with-image-lane # Full tier (adds mflux + vision)./launch-core-x.sh --no-mlx # Skip MLX services (if already running)./launch-core-x.sh --stop # Stop all services./launch-core-x.sh --status # Show service statusLauncher contract — actual output of
./launch-core-x.sh --help:Usage: ./launch-core-x.sh [OPTIONS]Options:--no-mlx Skip starting MLX services (if already running)--with-image-lane Also start mflux + mlx-vision for image workflows--stop Stop all services--status Show service status--help Show this help
The launcher sequence:
- Starts MLX services via
mlx-services/start-all.sh - Starts Event Bus on
:8085 - Starts Observability API on
:5201 - Starts UI dev server on
:5200 - Health-checks each service with retries (up to 90s for MLX, 15s for UI)
Verify full stack:
for port in 8090 8091 8092 8085 8093 8096; do echo -n "Port $port: " curl -s http://localhost:$port/health | head -c 60 echodone