exo
A running exo cluster (exo, repo exo-explore/exo, Apache-2.0): several devices that discover each other, split one large model across them (pipeline or tensor parallel over MLX) and expose one API and dashboard per node at http://localhost:52415.
Scope: this one product: install, enable RDMA, place instances, call the API, tune, update, troubleshoot. Choosing between runtimes belongs to local-llms; multi-GPU datacenter clusters belong to multi-node-inference.
Work through the steps in order. Load a reference only when a step names it.
Discover first
Read-only, never prints secrets.
command -v exo; uv run exo --help 2>/dev/null | head -5 # from a source checkout
ls /Applications | grep -i '^exo'; brew list --cask 2>/dev/null | grep -x exo
sw_vers -productVersion; system_profiler SPHardwareDataType | grep -E 'Chip|Memory|Model Name'
lsof -nP -iTCP:52415 -sTCP:LISTEN; lsof -nP -iTCP:52414 -sTCP:LISTEN
env | cut -d= -f1 | grep -E '^EXO_' || true # names only
curl -fsS http://localhost:52415/node_id
curl -fsS http://localhost:52415/state | jq 'keys' # topology, nodes, instances
curl -fsS 'http://localhost:52415/models?status=downloaded' | jq -r '.. | .id? // empty' | head
ioreg -rc IOThunderboltPort 2>/dev/null | head -5 # Thunderbolt ports present
gh api repos/exo-explore/exo/releases/latest --jq .tag_name
Ask only what discovery cannot show: which devices, how they are cabled (Thunderbolt 5, Ethernet, Wi-Fi), the target model and quantization, macOS versions per device, whether the LAN is trusted.
Decision flow
- Nothing installed, Macs on macOS 26.2+: macOS app (
brew install --cask exo). -> references/install.md
- Older macOS, Linux, or you want to change code: source build with
uv. Linux is CPU only. -> references/install.md
- Two or more Thunderbolt 5 Macs and speed matters: enable RDMA, cable every device to every other. ->
references/parallelism-multinode.md
- Devices do not see each other: namespace, version, firewall, ports. ->
references/troubleshooting.md
- Run a model: preview placements, create an instance, await it, then call
/v1/chat/completions. -> references/api.md
- Model not in the list: add it from Hugging Face. ->
references/models-and-storage.md
- Point clients or a gateway at it: ->
references/integrations.md
- Slow or out of memory: ->
references/performance-tuning.md
- New release: ->
references/updating.md
Rules
- Ask before changing the system. The app installs a network profile and LaunchDaemon; RDMA is enabled from Recovery with
rdma_ctl enable; both need approval and an undo path (menu bar -> Advanced -> Uninstall).
- No API auth is documented. Anyone who reaches port 52415 can create and delete instances. Keep it on a trusted LAN or put an authenticating proxy in front (see
caddy, tailscale).
- Match versions. The discovery namespace defaults to the exo version, so nodes on different versions do not connect. RDMA also needs identical macOS versions, beta numbers included.
- Wait for instances.
POST /instance is asynchronous; call /instance/await before inference.
- Do not enable
trust_remote_code for custom models you have not read.
- One cluster per namespace. Set
EXO_LIBP2P_NAMESPACE or --namespace to isolate test and production clusters.
- Secrets never touch output. Hugging Face tokens stay in
0600 files or the environment.
- Verify upstream. Flags, ports and defaults come from the README,
docs/api.md, PLATFORMS.md and uv run exo --help of the installed version.
Workflows
Install and first model
Enable RDMA
Update
Troubleshoot
Reference index
| File |
Read when |
references/install.md |
macOS app, Homebrew, source on macOS and Linux, uninstall |
references/serve-config.md |
CLI flags, ports, environment variables, file locations |
references/parallelism-multinode.md |
Discovery, pipeline vs tensor, Ring vs JACCL, RDMA setup |
references/api.md |
Instance lifecycle, inference endpoints, compat APIs |
references/models-and-storage.md |
Model list, custom HF models, model directories, offline |
references/integrations.md |
OpenAI clients, Claude Messages, Ollama clients, LiteLLM |
references/performance-tuning.md |
exo_bench.py, placements, memory, fast synch, tracing |
references/updating.md |
Releases, versions, rolling all nodes, namespace |
references/troubleshooting.md |
Symptom to cause to fix |
Companion skills
Install any with npx skills add ScaleDockHQ/llm-skills --skill <name>.
mlx: the single-machine MLX stack exo builds on.
local-llms: choosing a local runtime.
nccl-rdma-networking: RDMA and NCCL on NVIDIA clusters (a different stack).
llm-gateway, litellm: put an authenticated gateway in front.
tailscale: reach the cluster remotely.
1---2name: exo3description: exo, an open-source cluster runtime that pools Macs and other devices to run models too big for one machine, with MLX, RDMA over Thunderbolt 5 and OpenAI, Claude, Responses and Ollama APIs on :52415. Use to install the app or source build, enable RDMA, create instances (pipeline or tensor), call the API, bench, update, and fix devices that do not discover each other or RDMA that stays off.4license: MIT5compatibility: Commands assume bash, curl and jq. Tier 1 is Apple Silicon macOS (RDMA needs macOS 26.2+ and Thunderbolt 5); Linux runs on CPU only. Installs, Recovery-mode RDMA enablement, network profile changes and exposure need the user's explicit approval.6metadata:7 source: https://skillmd.com/skills/scaledockhq/exo8 author: ScaleDockHQ9 version: "0.1.0"10---1112# exo1314A running exo cluster (`exo`, repo exo-explore/exo, Apache-2.0): several devices that discover each other, split one large model across them (pipeline or tensor parallel over MLX) and expose one API and dashboard per node at `http://localhost:52415`.1516**Scope:** this one product: install, enable RDMA, place instances, call the API, tune, update, troubleshoot. Choosing between runtimes belongs to `local-llms`; multi-GPU datacenter clusters belong to `multi-node-inference`.1718Work through the steps in order. Load a reference only when a step names it.1920## Discover first2122Read-only, never prints secrets.2324```bash25command -v exo; uv run exo --help 2>/dev/null | head -5 # from a source checkout26ls /Applications | grep -i '^exo'; brew list --cask 2>/dev/null | grep -x exo27sw_vers -productVersion; system_profiler SPHardwareDataType | grep -E 'Chip|Memory|Model Name'28lsof -nP -iTCP:52415 -sTCP:LISTEN; lsof -nP -iTCP:52414 -sTCP:LISTEN29env | cut -d= -f1 | grep -E '^EXO_' || true # names only30curl -fsS http://localhost:52415/node_id31curl -fsS http://localhost:52415/state | jq 'keys' # topology, nodes, instances32curl -fsS 'http://localhost:52415/models?status=downloaded' | jq -r '.. | .id? // empty' | head33ioreg -rc IOThunderboltPort 2>/dev/null | head -5 # Thunderbolt ports present34gh api repos/exo-explore/exo/releases/latest --jq .tag_name35```3637Ask only what discovery cannot show: which devices, how they are cabled (Thunderbolt 5, Ethernet, Wi-Fi), the target model and quantization, macOS versions per device, whether the LAN is trusted.3839## Decision flow40411. **Nothing installed, Macs on macOS 26.2+:** macOS app (`brew install --cask exo`). -> `references/install.md`422. **Older macOS, Linux, or you want to change code:** source build with `uv`. Linux is CPU only. -> `references/install.md`433. **Two or more Thunderbolt 5 Macs and speed matters:** enable RDMA, cable every device to every other. -> `references/parallelism-multinode.md`444. **Devices do not see each other:** namespace, version, firewall, ports. -> `references/troubleshooting.md`455. **Run a model:** preview placements, create an instance, await it, then call `/v1/chat/completions`. -> `references/api.md`466. **Model not in the list:** add it from Hugging Face. -> `references/models-and-storage.md`477. **Point clients or a gateway at it:** -> `references/integrations.md`488. **Slow or out of memory:** -> `references/performance-tuning.md`499. **New release:** -> `references/updating.md`5051## Rules5253- **Ask before changing the system.** The app installs a network profile and LaunchDaemon; RDMA is enabled from Recovery with `rdma_ctl enable`; both need approval and an undo path (menu bar -> Advanced -> Uninstall).54- **No API auth is documented.** Anyone who reaches port 52415 can create and delete instances. Keep it on a trusted LAN or put an authenticating proxy in front (see `caddy`, `tailscale`).55- **Match versions.** The discovery namespace defaults to the exo version, so nodes on different versions do not connect. RDMA also needs identical macOS versions, beta numbers included.56- **Wait for instances.** `POST /instance` is asynchronous; call `/instance/await` before inference.57- **Do not enable `trust_remote_code`** for custom models you have not read.58- **One cluster per namespace.** Set `EXO_LIBP2P_NAMESPACE` or `--namespace` to isolate test and production clusters.59- **Secrets never touch output.** Hugging Face tokens stay in `0600` files or the environment.60- **Verify upstream.** Flags, ports and defaults come from the README, `docs/api.md`, `PLATFORMS.md` and `uv run exo --help` of the installed version.6162## Workflows6364### Install and first model6566- [ ] Choose app or source -> `references/install.md`; same version on every device.67- [ ] Open `http://localhost:52415`; confirm every node in `/state`.68- [ ] `GET /instance/previews?model_id=...`, pick a placement without `error`, `POST /instance`, `GET /instance/await`.69- [ ] One streamed chat call; delete the instance when done.7071### Enable RDMA7273- [ ] Verify TB5 hardware, TB5 cables, full mesh, matching macOS versions -> `references/parallelism-multinode.md`.74- [ ] Recovery mode, `rdma_ctl enable`, reboot every device; from source run `tmp/set_rdma_network_config.sh`.75- [ ] Preview again; an `MlxJaccl` placement should appear; bench against `MlxRing`.7677### Update7879- [ ] Read releases; update every node to the same version together -> `references/updating.md`.8081### Troubleshoot8283- [ ] Match the symptom -> `references/troubleshooting.md`.8485## Reference index8687| File | Read when |88| ------------------------------------- | --------------------------------------------------------- |89| `references/install.md` | macOS app, Homebrew, source on macOS and Linux, uninstall |90| `references/serve-config.md` | CLI flags, ports, environment variables, file locations |91| `references/parallelism-multinode.md` | Discovery, pipeline vs tensor, Ring vs JACCL, RDMA setup |92| `references/api.md` | Instance lifecycle, inference endpoints, compat APIs |93| `references/models-and-storage.md` | Model list, custom HF models, model directories, offline |94| `references/integrations.md` | OpenAI clients, Claude Messages, Ollama clients, LiteLLM |95| `references/performance-tuning.md` | `exo_bench.py`, placements, memory, fast synch, tracing |96| `references/updating.md` | Releases, versions, rolling all nodes, namespace |97| `references/troubleshooting.md` | Symptom to cause to fix |9899## Companion skills100101Install any with `npx skills add ScaleDockHQ/llm-skills --skill <name>`.102103- `mlx`: the single-machine MLX stack exo builds on.104- `local-llms`: choosing a local runtime.105- `nccl-rdma-networking`: RDMA and NCCL on NVIDIA clusters (a different stack).106- `llm-gateway`, `litellm`: put an authenticated gateway in front.107- `tailscale`: reach the cluster remotely.