Installation
Requires macOS on Apple Silicon, Python 3.9+ (standard library only), and the coding-agent host of your choice. Optional runtimes (Ollama, LM Studio, mlx_lm, mlx-vlm, LiteLLM) are detected, never installed for you.
Claude Code
claude plugin marketplace add cavi-ai/mlx-agent
claude plugin install mlx-agent@mlx-agentRestart Claude Code, then run /mlx-scout, /mlx-adopt, /mlx-wire, /mlx-bench, /mlx-doctor, /mlx-watch, or /mlx-fleet.
Codex CLI
codex plugin marketplace add cavi-ai/mlx-agent --ref v0.5.1
codex plugin add mlx-agent@mlx-agentRestart Codex, then invoke $mlx-agent:mlx-scout and the other skills. Codex does not support custom slash commands.
Gemini CLI
git clone --depth 1 --branch v0.5.1 https://github.com/cavi-ai/mlx-agent.git
gemini extensions install ./mlx-agent/providers/geminiRestart Gemini CLI, then run /mlx-scout and the other commands.
OpenCode
git clone --depth 1 --branch v0.5.1 https://github.com/cavi-ai/mlx-agent.git
cd mlx-agent
python3 scripts/mlx-agent install opencode --scope user --dry-run --json
python3 scripts/mlx-agent install opencode --scope user --confirm --preview-hash <preview-hash> --json
python3 scripts/mlx-agent doctor opencode --scope user --jsonRestart OpenCode, press Ctrl+P, filter for mlx.
Universal installer
The same preview-then-confirm installer covers claude, codex, gemini, and opencode in user or project scope:
python3 scripts/mlx-agent providers --json
python3 scripts/mlx-agent install gemini --scope user --dry-run --json
python3 scripts/mlx-agent install gemini --scope user --confirm --preview-hash <preview-hash> --jsonThe installer changes only receipt-owned files: no model downloads, no persisted secrets, no edits to unowned configuration.