You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature]: add Rapid-MLX as an engine on Apple Silicon macOS #233
On Apple Silicon Macs, PAIR's engine choices are Ollama, LM Studio, llama.cpp and vLLM. Many Mac users run MLX models instead, and Rapid-MLX is an Apache-2.0 MLX inference server with an OpenAI-compatible API (/v1/chat/completions, /v1/responses, /v1/models, tool calling, streaming). Today a Rapid-MLX node can't be started, stopped, or routed to as a managed engine.
Desired outcome
Rapid-MLX appears as an engine on Apple Silicon macOS nodes, next to the existing ones, following the same command-mode engine pattern used for the most recent engine addition (#231):
detect an installed rapid-mlx CLI (Homebrew brew install rapid-mlx or curl -fsSL https://rapidmlx.com/install.sh | bash);
start/stop via rapid-mlx serve <model> --host 127.0.0.1 --port <port>;
adopt an instance the user started themselves, identified by /v1/models entries with owned_by: "rapid-mlx" (so it isn't confused with vLLM on the same port);
route cluster requests to the model it serves.
Alternatives considered
Users can point a client at Rapid-MLX directly, but then PAIR can't manage it or route other nodes' requests to it.
Compatibility and security implications
macOS on Apple Silicon only; other platforms unchanged. Binds to localhost like the other managed engines; no new dependencies in PAIR.
Validation approach
Unit tests mirroring the existing engine manifest/registry/identity tests, plus an end-to-end run on an Apple Silicon Mac against a real rapid-mlx serve instance (start, load, chat request routed through PAIR, stop).
Happy to send the PR if this fits the roadmap — would you prefer it as one PR or split (engine manager first, desktop UI second)?
Activity