Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

rapid-mlx

Latest version: v1.1.1

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
PyPI package Publisher: raullenchai
4,178 Stars
446 Forks
19 Versions
7.7K Downloads
Python Repo language

Scan summary

rapid-mlx was last scanned on 23 Nov 2026 at version 1.1.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 19 versions; the latest 4 were published within 7 days (17–23 Nov 2026).
  • Findings: No rules fired in version 1.1.1.
  • Downloads: 7,671 downloads.

Versions

19 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.1.1 LATEST 23 Nov 2026 No rules fired
1.1.0 21 Nov 2026 No rules fired
1.0.5 20 Nov 2026 No rules fired
1.0.4 17 Nov 2026 Not shown
1.0.3 12 Nov 2026 Not shown

No rules fired in 1.1.1

Findings

Findings for v1.1.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 1.1.1; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

1. Install — the guided installer handles Python and picks a model for your Mac:

curl -fsSL https://rapidmlx.com/install.sh | bash

Restart your terminal or run export PATH="$HOME/.local/bin:$PATH". Prefer pip (Python 3.12+) or Homebrew (brew install rapid-mlx)? Both install the same CLI.

2. Launch your coding agent — install your chosen agent, then run one of:

Using an SDK instead? Jump to the Python quickstart.

rapid-mlx launch claude-code
rapid-mlx launch opencode
rapid-mlx launch codex

rapid-mlx launch <agent> creates a private profile, starts the server, and launches the agent. Run the same command tomorrow; rapid-mlx launch claude-code --remove removes Rapid's private profile without changing your existing Claude Code settings. One-command guides for each agent. A first reply can take longer while a model downloads, loads, or processes the agent's opening prompt.

For other tools, use rapid-mlx agents <tool> --setup, for example rapid-mlx agents cline --setup.

Faster decode than oMLX and LM Studio on Qwen3.5-9B, Qwen3.8-27B, and Qwen3.6-35B

Measured speed on a Mac Studio M5 Max (36 GB) — Rapid-MLX 0.16.1 vs oMLX 0.7.0 and LM Studio, using the same base 4-bit weights for each model.

Model Metric Rapid-MLX oMLX LM Studio
Qwen3.5-9B Decode (tok/s) 115.5 77.9 81.0
Qwen3.5-9B 4 streams (tok/s) 248.2 224.6 230.0
Qwen3.8-27B Decode (tok/s) 37.9 25.3 26.0
Qwen3.8-27B 4 streams (tok/s) 82.8 75.3 69.7
Qwen3.6-35B Decode (tok/s) 173.4 145.8 124.5
Qwen3.6-35B 4 streams (tok/s) 293.9 281.9 265.6
Qwen3.6-35B 2K-prompt first token (s, lower is better) 0.55 1.14 1.49

Single run per engine; default serving modes with Rapid's MTP text mode, oMLX's SSD cache, and LM Studio's configured context and four parallel slots. Full results and raw data.

Or use the OpenAI / Anthropic SDK

Start a local server, then run the Python examples below from a separate terminal:

rapid-mlx serve qwen3.5-4b-4bit --port 8000

On first run, this command downloads a ~3 GB 4B model if it is not already cached. Without --port, the server picks the first free port in 8000–8009; these examples pin 8000. Install your SDK with pip install openai or pip install anthropic.

OpenAI Python — base URL includes /v1:

from openai import OpenAI
client = OpenAI(base_url="http://localhost:8000/v1", api_key="not-needed")
print(client.chat.completions.create(
    model="default", messages=[{"role": "user", "content": "Say hello"}],
).choices[0].message.content)

Anthropic Python — base URL is the host; the SDK calls /v1/messages:

from anthropic import Anthropic
client = Anthropic(base_url="http://localhost:8000", api_key="not-needed")
msg = client.messages.create(
    model="default", max_tokens=256,
    messages=[{"role": "user", "content": "Say hello"}],
)
print("".join(b.text for b in msg.content if b.type == "text"))

How it compares

Feature facts only, taken mostly from each project's own documentation as of 2026-09-26 (sources below). For speed, see the measured results above.

Rapid-MLX oMLX Ollama LM Studio mlx-lm (mlx_lm.server)
License Apache-2.0 Apache-2.0 MIT Closed-source app; its MLX engine and lms CLI are MIT MIT
Inference engine on a Mac MLX MLX GGML/GGUF engine, plus an MLX engine for safetensors models llama.cpp (GGUF) and MLX engines MLX
Local API OpenAI (/v1/chat/completions, /v1/responses) and Anthropic Messages (/v1/messages) OpenAI and Anthropic Messages Ollama API, OpenAI-compatible, Anthropic-compatible (subset) OpenAI-compatible, Anthropic-compatible, LM Studio REST API OpenAI-style chat API
GUI Rapid-MLX Desktop (macOS app) macOS menu-bar app and web admin panel Desktop app (macOS, Windows) Desktop app None (CLI / Python)
Concurrent requests Continuous batching Continuous batching (mlx-lm BatchGenerator) Parallel requests per model (OLLAMA_NUM_PARALLEL, default 1) Continuous batching (llama.cpp engine; MLX engine since 0.4.2) Continuous batching (BatchGenerator); one request at a time with a quantized KV cache
Prompt / KV cache Radix prefix cache in memory (with state snapshots for hybrid models), saved to disk on shutdown and restored at startup; quantized KV cache Tiered KV cache: in-memory hot tier plus SSD cold tier, reused across restarts Reuses the previous request's prompt KV cache; KV cache quantization (OLLAMA_KV_CACHE_TYPE) — In-memory prompt cache; quantized KV cache (--kv-bits)
Tool-call parsing 27 parser modules, including an auto-detect fallback (rapid_mlx/tool_parsers) mlx-lm formats plus the auto-detected families listed in its README Tool calling Tool use via the OpenAI-compatible API Tool calls for models whose tokenizer declares tool-calling support

Sources: oMLX README · Ollama OpenAI and Anthropic compatibility, FAQ, MLX engine · LM Studio Anthropic compatibility, parallel requests, 0.4.2 changelog, app terms, mlx-engine · mlx-lm server docs and server.py. Ollama prompt-cache reuse is from our benchmark notes. — = not verified for this table. Spot an error? Please open an issue.

vs Apple's mlx-lm: per-task results and raw data at https://rapidmlx.com/compare/mlx-lm.


Works with your AI stack

Use Rapid-MLX as a local backend for agents, apps, or your own code. If a client accepts an OpenAI- or Anthropic-compatible endpoint, it can usually use Rapid-MLX without an adapter.

For Claude Desktop, set up its in-app Gateway.

Five Tier-1 agents are exercised end-to-end on real weights before release. See the tested compatibility matrix for exact API coverage and setup status.


Install

Desktop — macOS (Apple Silicon)

The easiest way to chat locally, manage models, and use vision, files, voice, and image generation from one app.

In Settings → Performance, inspect system memory, engine Metal allocations, prefix-cache usage, running and waiting requests, and a recent memory trend. Engine allocations overlap system totals; do not add them together. Missing measurements appear as a dash.

After a chat reply, expand Generation details for saved execution facts and timing. Model recommendations, rapid-mlx models, and rapid-mlx doctor show measured speed references when a matching chip, RAM, and configuration are available. These references describe measured workloads, not guaranteed speed.

CLI and server — macOS (Apple Silicon)
# Homebrew — prebuilt bottle from homebrew-core
brew install rapid-mlx

# Or the guided installer — detects RAM and offers to start a chat (RAPID_INSTALL_NO_CHAT=1 skips)
curl -fsSL https://rapidmlx.com/install.sh | bash

Both install the same rapid-mlx CLI. Prefer uv or pip, or want to verify the installer before running it? See alternative install methods and install security.

The guided installer prefers a runnable model already cached on this Mac when it fits the RAM tier. Otherwise its quick first-chat download is lfm2.5-2.6b-4bit at 8 GB or above, with lfm2.5-1b-4bit for smaller or unknown RAM. Larger quality picks remain available through rapid-mlx recipe and the model picker.


Submit a Community Benchmark

Help other Mac users choose a model by sharing a standardized result from your own Apple Silicon Mac. Runs stay local until you explicitly choose to publish; you do not need a GitHub account or a benchmark JSON pull request.

  • Desktop: Open the Benchmark tab in the sidebar, choose a model, run it, review the result in My Results, and select Publish if you want to share it.
  • CLI: Run rapid-mlx benchmark catalog, then rapid-mlx benchmark run <model>. Review the saved result and publish it with rapid-mlx benchmark share <run-id> only if you choose to.

Explore the Community Benchmark leaderboard or read the protocol and privacy details.


Quick Start (60 seconds)

1. Chat with a model right now:

rapid-mlx chat

With no model named, rapid-mlx chat uses a chat model already on this Mac — the lfm2.5-2.6b-4bit starter if present, otherwise the best fit for this Mac's memory — without another download. If none is downloaded yet, it downloads the lfm2.5-2.6b-4bit starter (~1.6 GB) before opening the REPL. Type /help for slash commands, /exit to quit.

2. Or serve it for use from other apps:

rapid-mlx serve qwen3.5-4b-4bit

Starts an OpenAI-compatible HTTP server on the first free port in 8000–8009 when --port is omitted. An explicit --port never falls back. The examples below assume port 8000 was selected. Point any client that supports a local custom endpoint (Aider, LangChain, OpenCode, PydanticAI, your own scripts) at http://localhost:8000/v1; Claude Code / Anthropic SDK uses http://localhost:8000 (the Anthropic messages route lives at /v1/messages under the same host).

curl http://localhost:8000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model":"default","messages":[{"role":"user","content":"Say hello"}]}'
from openai import OpenAI
client = OpenAI(base_url="http://localhost:8000/v1", api_key="not-needed")
print(client.chat.completions.create(
    model="default",
    messages=[{"role": "user", "content": "Say hello"}],
).choices[0].message.content)

3. Or wire up your coding agent — one command:

rapid-mlx launch claude-code

This saves a private Claude Code profile, starts a local server if needed, and launches Claude Code without editing ~/.claude/settings.json. The same command works after a restart. Swap in codex, opencode, pi, hermes, crush, or goose. For the original config-writing behavior, use --legacy-config; cline and continue-dev keep their existing setup flow.

Agent setup details.

Cursor: Cursor currently routes BYOK requests through its own servers, so its servers cannot reach a Rapid-MLX endpoint on localhost. Rapid-MLX therefore does not generate a Cursor localhost config. If you intentionally expose the server through a public HTTPS tunnel, set RAPID_MLX_API_KEY=your-secret for both rapid-mlx serve ... and rapid-mlx launch cursor --server-url https://your-public-host. This is no longer a fully local connection; never expose an unauthenticated server. Rapid-MLX rejects explicit local/private addresses but cannot verify reachability from Cursor's network, whose DNS view may differ from your Mac.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases rapid-mlx

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229