# Tell HN: Stop using MLX, start telling your agent to write custom kernels

> Source: <https://news.ycombinator.com/item?id=50648334>
> Published: 2026-11-25 22:13:03+00:00

**Recommendation:** 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.
More in the playbook "Inference and self-hosting": <https://wpnews.pro/playbooks/inference-serving>

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.
