{"slug": "tell-hn-stop-using-mlx-start-telling-your-agent-to-write-custom-kernels", "title": "Tell HN: Stop using MLX, start telling your agent to write custom kernels", "summary": "A Hacker News poster who clusters Macs for local AI reported that asking Claude to write a custom kernel raised throughput across four Macs to 96 tok/sec at low context on Baidu ERNIE 5.5 flash preview, and nearly 50 tok/sec at high context in the hermes agent with a fifteen-second wait for a response, up from roughly 10 tok/sec after a 15-minute wait. The poster urged others to stop using MLX and have their agents write custom kernels, arguing macOS barriers can be overcome as throttled NVIDIA 3090 setups have been.", "body_md": "I am one of the many people who started clustering Macs for local AI. At first, it seemed amazing, but that was before the huge agentic revolution. No one could put up with 10 tok/sec after a 15 minute wait, in hermes agent. I asked claude to build a kernel, and boy it did deliver. Across four Macs, Baidu ERNIE 5.5 flash preview was running 96 tok/sec at low context. In hermes, running nearly 50 tok/sec at high context, only a fifteen second wait for a response. Any critics, try it yourself. We have all seen the posts where the NVIDIA 3090 was throttled, and we can start to overcome barriers on MacOS as well.", "url": "https://wpnews.pro/news/tell-hn-stop-using-mlx-start-telling-your-agent-to-write-custom-kernels", "canonical_source": "https://news.ycombinator.com/item?id=50648334", "published_at": "2026-11-25 22:13:03+00:00", "updated_at": "2026-11-25 22:42:17.543989+00:00", "lang": "en", "topics": ["ai-infrastructure", "large-language-models", "ai-agents", "ai-tools"], "entities": ["MLX", "Claude", "Baidu", "ERNIE 5.5 flash preview", "hermes", "NVIDIA 3090", "Mac", "Hacker News"], "also_reported_by": [], "takeaway": "Having an agent write a custom kernel instead of relying on MLX took four clustered Macs to 96 tok/sec at low context on ERNIE 5.5 flash preview and nearly 50 tok/sec at high context in the hermes agent, versus about 10 tok/sec after a 15-minute wait.", "recommendation": {"advice": "If MLX throughput stalls your local Mac inference, have a coding agent write a custom kernel for your model; the poster measured 96 tok/sec at low context across four Macs versus about 10 tok/sec before.", "playbook": "inference-serving", "playbook_url": "https://wpnews.pro/playbooks/inference-serving"}, "alternates": {"html": "https://wpnews.pro/news/tell-hn-stop-using-mlx-start-telling-your-agent-to-write-custom-kernels", "markdown": "https://wpnews.pro/news/tell-hn-stop-using-mlx-start-telling-your-agent-to-write-custom-kernels.md", "text": "https://wpnews.pro/news/tell-hn-stop-using-mlx-start-telling-your-agent-to-write-custom-kernels.txt", "jsonld": "https://wpnews.pro/news/tell-hn-stop-using-mlx-start-telling-your-agent-to-write-custom-kernels.jsonld"}}