Codex + MLX-LM-LoRA MCP: auto-pretrain a tiny LLM on Apple Silicon with a 5-step setup

alexcovo_eth · x · 2026-10-24

ActuallyIsaak shows a reproducible workflow where Codex autonomously pre-trains and iterates on a tiny LLM on Apple Silicon via MLX-LM-LoRA's MCP server and skill. Setup: pip install "mlx-lm-lora[mcp]", add the skill via npx skills add, locate the MCP binary with which mlx-lm-lora-mcp, register it with codex mcp add, then just chat the task. The demo prompt constrains the agent to that stack only, using tiny-random/qwen3, the mlx-community/recyclingtheweb-1k dataset, 100 pre-training steps and global batch size 8 — turning small-model training into an executable agent skill chain.

Original post →

More from coding & agent

coding & agent channel →