Quickstart
Five minutes from install to a verified, wired local model.
1. Discover
Ask your agent, or run the core directly:
python3 scripts/mlx-agent discover --role coding --limit 3You get candidates bucketed by role with real download sizes, license and gating, reasoning detection, and whether weights fit your RAM. Add --context 32768 to tighten fit to weights plus KV cache at that context.
2. Verify
Run the resumable adoption workflow:
python3 scripts/mlx-agent adopt start --state ./adopt.json --role coding
python3 scripts/mlx-agent adopt resume --state ./adopt.jsonAdopt shortlists, probes each candidate against your local runtime (deterministic coding/reasoning/vision/embedding/tool-use probes), and recommends with evidence. Add --measure to bench verified candidates before ranking.
3. Measure
python3 scripts/mlx-agent bench run --repo <repo> --runtime mlx_lmReports TTFT, decode/prefill tok/s, and run spread for a model already served locally. Never starts servers, never downloads.
4. Wire
python3 scripts/mlx-agent wire render <repo> --target mlx_lm --path ./provider.json
python3 scripts/mlx-agent wire apply <repo> --target mlx_lm --path ./provider.json
# inspect the diff, then:
python3 scripts/mlx-agent wire apply <repo> --target mlx_lm --path ./provider.json --confirm --preview-hash <hash>Every mutation is a reviewed transaction with a receipt and byte-exact rollback:
python3 scripts/mlx-agent wire rollback <receipt>