MLX Agent overview
mlx-agent discovers, verifies, measures, wires, serves, converts, and trains local MLX-optimized models on Apple Silicon — for your coding agent. It queries the Hugging Face Hub live, matches models to your machine's memory and installed runtimes, proves behavior with deterministic runtime probes, measures real tokens-per-second on your chip, and emits confirmation-gated configuration for the agent you use.
What it is not
- It never downloads model weights. Discovery and verification read metadata and already-served models only.
- It never installs provider CLIs or model runtimes. You install them; the pack detects them.
- It never mutates configuration without a reviewed preview and an explicit
--confirm --preview-hash.
The pipeline
- Discover —
scoutranks live Hub candidates with real download sizes, license and gating, reasoning detection, and KV-cache-aware fit. - Verify —
adoptruns deterministic role probes (coding, reasoning, vision OCR, embedding, tool-use) against your local runtime before recommending. - Measure —
benchrecords TTFT and tok/s on your chip asruntime_measuredevidence. - Wire —
wireapplies configuration through a preview-confirm-receipt-rollback transaction. - Operate —
serve,doctor,fleet, andwatchrun the fleet day to day. - Produce —
convert,lora, andfusequantize, train, and fuse your own models.
Providers
First-class adapters ship for Claude Code, Codex CLI, Gemini CLI, and OpenCode, plus portable AgentSkills packages. Every provider exposes the seven capabilities: /mlx-scout, /mlx-adopt, /mlx-wire, /mlx-bench, /mlx-doctor, /mlx-watch, and /mlx-fleet ($mlx-agent: prefix on Codex).