Repository navigation
v1.0.4
What's new in v1.0.4
Rapid-MLX 1.0.4 makes coding-agent launches work on the first try, adds MiniMax-H3-Image and FLUX 3 Klein with multi-reference edits, and lets you serve a local LoRA adapter without fusing it. Long-context cache hits also reach the first token sooner, and several API errors that returned 500 now succeed or return a clear 400.
Download: Rapid-MLX Desktop for macOS | CLI: rapid-mlx upgrade or curl -fsSL https://rapidmlx.com/install.sh | bash
Coding Agents Work on First Launch
rapid-mlx launch and rapid-mlx agents were tested end to end on a clean Mac with Codex, Claude Code, Pi, OpenCode, Hermes, Goose, Qwen Code, Crush and Aider, covering setup, a real coding task and removal.
- Agent setup no longer fails when the server is not running yet or is still loading a model. The agent is configured first, and readiness waits are bounded with a clear message (#5804).
- Claude Code launches with the model's real context window and without a billing notice. Removing the setup restores the settings you had before and keeps edits you made since (#5811, #5840).
- Hermes no longer consumes your first message as the answer to its telemetry question, and
--removereliably cleans up (#5813, #5815). - Aider runs shell commands in your own shell, so commands such as
echo -nbehave as they do in your terminal. Its isolated profile also includes model metadata, which stops the unknown-model warning (#5828, #5818). - Qwen Code starts with a valid empty settings file in its isolated home (#5812).
- The built-in agent's calculator and batch read-only helpers accept native JSON arguments instead of failing on the first call (#5800).
Image: MiniMax-H3-Image and FLUX 3 Klein
minimax-h3-image (4-bit) and minimax-h3-image-8bit add text-to-image and edits that combine up to 16 reference images (#5832). On an M3 Ultra with 256 GB (warm cache, seed 42), the measurements were:
| Quant | Load | Text-to-image, 1024² | Edit, 1 reference | Peak memory |
|---|---|---|---|---|
| 4-bit | 18–20 s | 77.1 s | 114.2 s | 47.0 GB |
| 8-bit | 20.3 s | 76.0 s | 114.2 s | 75.7 GB |
The MiniMax-H3-Image Community License excludes use in the European Union, United Kingdom, Republic of Korea and United States. It also requires separate authorization above US$1M annual revenue or for hosted third-party services. Responses carry the required attribution, and weights download from the upstream Hub only.
FLUX 3 Klein and Klein Base aliases are added, with up to ten edit references through the API and Desktop (#5790). Qwen-Image checkpoints now advertise only the number of references they can actually use. A multi-reference edit beyond that limit returns a clear 400 instead of a 500 (#5839).
Image generation and edits can apply your own LoRAs: drop .safetensors files into ~/.rapid-mlx/loras and pick them by name (#5792). The image runtime moves to mflux 0.23 with no generation behavior change (#5787).
Serve a LoRA Adapter Directly
rapid-mlx serve <model> --adapter <dir> applies an mlx_lm.lora adapter at startup, with no fuse or re-quantize step. The adapter's base model is checked whether you name the model by catalog alias, Hugging Face repo id or local cache path; adapters for a different base are rejected (#5808, #5842).
/v1/completions now returns prompt-token logprobs for echo with logprobs. Scoring and loglikelihood evaluation clients use this combination (#5809).
Faster First Token on Long Cached Prompts
A single request that hits a long prefix cache no longer pays for extra KV copies. Each chat prompt is also tokenized once per request instead of several times (#5831, #5803, #5810, #5829). The table shows warm-median TTFT on a 32k-token cache hit, measured on the server on an M5 Max over two alternating rounds (#5831):
| Model | Before | After | Change |
|---|---|---|---|
| Qwen3-1.7B 4-bit | 385 / 393 ms | 278 / 289 ms | −27% |
| Llama 3.2 1B Instruct 4-bit | 143 / 147 ms | 128 / 125 ms | −13% |
| Qwen3.6 35B-A3B 4-bit, speculation off | 581 / 596 ms | 582 / 578 ms | unchanged |
Decode speed and outputs are unchanged.
Fixes
- Qwen3-Reranker (
mlx-community/Qwen3-Reranker-0.6B-4bit) on/v1/rerankno longer returns 500 on every request. The prompt is built in the model's trained format, regardless of the checkpoint's chat template (#5843). /v1/embeddingsand/v1/rerankreturn 400 instead of 500 for input containing a lone UTF-16 surrogate, such as text extracted from some PDFs (#5801).- Desktop: conversation history is reachable from the compact sidebar rail in narrow windows (#5799). Onboarding keeps the model name visible when a recommended row has long size details (#5793).
- The project
LICENSEis now the verbatim Apache-2.0 text, so license detection tools recognize it (#5783).
All changes
- feat(installer): offer to start a first chat after install (#5846) (52642bd)
- fix(installer): keep internal rapid-mlx calls out of telemetry (#5845) (3893f09)
- chore: bump version to 1.0.4 (#5844) (d50fd75)
- fix(rerank): build the Qwen3-Reranker prompt in its trained format (#5843) (5c83061)
- fix(serve): accept --adapter when the base is served by alias or cache path (#5842) (0fa39b2)
- fix(launch): restore the user's own Claude Code settings on legacy --remove (#5840) (877e1e6)
- fix(image): cap Qwen-Image 2.1 Q4 edits at one reference image (#5839) (7be8b0c)
- chore(license): make LICENSE the verbatim Apache-2.0 text (#5783) (46e4efe)
- refactor(tests): remove test smells in tests/parsers (#5827) (a739803)
- chore(chrome): move the Chrome extension to its own repository (#5836) (c71ad69)
- feat(image): add MiniMax-H3-Image (text-to-image + multi-reference edit) (#5832) (e98ead9)
- feat(chrome): store screenshot script; handover card shows its text once (#5835) (a938308)
- feat(chrome): Rapid MLX for Chrome — chat side panel that can operate web pages (#5834) (7734953)
- perf(cache): drop redundant KV copies on singleton admission (32k cache-hit TTFT −13–27%) (#5831) (6260d37)
- fix(scheduler): keep singleton admission under the unpadded fast path (#5829) (05001e5)
- fix(agents): run aider shell commands in the user's shell (#5828) (6710cf6)
- fix(agent-e2e): answer aider add-command-output prompt (#5826) (a900aa0)
- fix(install): replace competitor comparison in installer banner (#5825) (4cdd929)
- fix(agent-e2e): answer aider's shell prompt without the skip-all option (#5822) (30aa005)
- test(agents): reap the hermes writer before mocking gateway shutdown (#5824) (3c777cb)
- fix(agent-e2e): answer Crush permission dialogs after its input guard (#5823) (6de2bfe)
- fix(agent-e2e): accept opencode bash output as file evidence (#5821) (0369dde)
- feat(serve): load a LoRA adapter at startup with --adapter (#5808) (c17f580)
- fix(agent-e2e): never type the second prompt after a failed first turn (#5820) (a6c6032)
- fix(agent-e2e): answer aider's plural shell-commands prompt (#5819) (f71cdbc)
- fix(agents): give isolated aider model metadata so it stops warning (#5818) (06a4259)
- fix(agent-e2e): answer Crush file-write permission prompts inside the project (#5817) (0ae2746)
- fix(agent-e2e): read opencode v1 replies from its session database (#5816) (c869a25)
- fix(agents): record Hermes auto-prune default in isolated profile (#5815) (5137349)
- feat(completions): return prompt token logprobs for echo + logprobs (#5809) (1685cca)
- test(agent-e2e): answer crush and aider confirmations like a real user (#5814) (0aade2c)
- fix(agents): stop Hermes eating the first message; make --remove reliable (#5813) (250fcd6)
- fix(agents): write an empty settings.json in the isolated Qwen Code home (#5812) (72a7169)
- fix(agents): real context window + no billing notice for Claude Code launch (#5811) (fcdb8e2)
- perf(scheduler): skip padded-mask and identity-filter work on unpadded admission (#5810) (8586b84)
- fix(agents): configure agents before the server is up; bound and harden readiness waits (#5804) (64355dd)
- docs: refresh user docs for 1.0.3 (#5807) (af9efee)
- perf(server): tokenize each chat prompt once per request (#5803) (9ab52fa)
- fix(mac): reach conversation history from the compact sidebar rail (#5799) (a074aef)
- fix(api): return 400, not 500, for lone surrogates in embeddings and rerank input (#5801) (019d350)
- fix(agent): accept native JSON arguments for the built-in helpers (#5800) (6f5b8f8)
- fix(mac): keep the model name visible when an onboarding row has long size details (#5793) (472e4ec)
- feat(image): load user LoRAs by name for generation and edits (#5792) (47b82fb)
- feat(image): add FLUX 3 Klein and multi-reference edits (#5790) (4889c20)
- chore(deps): upgrade image runtime to mflux 0.23 (#5787) (b590047)
Community contributors
Install: brew upgrade rapid-mlx or pip install -U rapid-mlx==1.0.4 (or just rapid-mlx upgrade).
Community: https://discord.gg/nZcXkUjY5R