Run Crush with a Local Model on Mac
Run Crush with a local model on your Mac using one command. Rapid-MLX saves a private agent profile and starts a local model when needed.
One command to launch Crush
First install Rapid-MLX and install Crush. If you used the install script, restart Terminal or run export PATH="$HOME/.local/bin:$PATH" first. Then run:
$ rapid-mlx launch crush
Tomorrow: Run rapid-mlx launch crush again. Rapid reuses the saved profile, model, loopback key and port. It does not change your existing Crush configuration. To remove only Rapid's private profile, run rapid-mlx launch crush --remove.
Choose a model by Mac RAM: For a starting model, use qwen3.5-4b-4bit on a 16 GB Mac, qwen3.5-9b-4bit on an 18–23 GB Mac, and qwen3.8-27b-4bit on 32 GB or more. On an 8–15 GB Mac, the installer suggests a small chat model, but it may struggle with multi-step coding tasks. See the RAM guide. Override the suggested model with rapid-mlx launch crush --model qwen3.5-9b-4bit when it fits your Mac.
First reply: The first reply can take longer than later turns: an uncached model must download, the server must load it, and the agent may send a long prompt that takes time to prefill. Wait for the model to become ready; there is no fixed first-reply time. A warm, cached model is usually quicker.
Quick answer
How do I use Crush with a local model on Mac? Install Rapid-MLX, then run rapid-mlx launch crush. The same command reconnects on another day; --remove removes Rapid's private profile.
The agent hub covers the other supported agents. The manual setup below is useful when you intentionally want to edit your regular agent configuration.
Quick start
Install Crush 0.98.1. Start the server and keep it running while you configure and use Crush.
$ rapid-mlx serve qwen3.5-4b-4bit $ rapid-mlx agents crush --setup $ crush run --model rapid-mlx/qwen3.5-4b-4bit "Use a tool to inspect this directory, then summarize it."
Setup writes ~/.config/crush/crush.json, or $XDG_CONFIG_HOME/crush/crush.json when that variable is set. CRUSH_GLOBAL_CONFIG takes precedence and uses its directory instead. Use --base-url http://127.0.0.1:PORT/v1 for another port, --model to specify the server alias, and --dry-run to preview the file.
Connection
The generated JSON registers the rapid-mlx provider as openai-compat, with a /v1 base URL and a model entry containing its context window. It also selects that model as Crush's large model. For a keyed server, export RAPID_MLX_API_KEY before setup and before starting Crush; the file stores an environment reference.
Crush 0.98.1 prefers the newer crushrc format. Its configuration guide still supports JSON. A project .crushrc or global crushrc can override the JSON model selection. Check the model shown by crush models if another provider is selected. Setup sets a five-minute request timeout for the large agent prompt on smaller Macs.
Check it
$ rapid-mlx agents crush --test
This runs the integration checks and a headless Crush request against the local model.