Another local coding agent isn’t news. The bet underneath Localcode is: port a KV-cache compression scheme to Apple Silicon and spend the memory it frees on a context window big enough to be worth using on a laptop. The agent loop — read files, edit, run tests, search code — is table stakes now. The constraint that actually decides whether a local coding agent is usable is how much context you can hold in consumer RAM, and that’s the problem this one is aimed at.
- 🎯 The real move is the KV cache, not the model: the project claims a 3.8× reduction, fitting 32K context in ~355 MiB on a 16 GB MacBook.
- ⚡ It ships a custom llama.cpp fork with TurboQuant compression (asymmetric 8-bit keys, lower-bit values), credited to a 2026 research result and patched for Apple Silicon.
- 🔍 The agent does the usual production chores — edits files, runs shell/tests/git, searches code — and refuses destructive overwrites, which is the detail that separates a toy from something you’d point at a real repo.
- 📊 Model choice scales with memory: a 12B at 16 GB up to a 35B mixture-of-experts at 64 GB and beyond — so your hardware, not your taste, picks the model.
- ⚠️ It’s alpha, Apple-Silicon-only, and the maintainer has verified exactly one machine, a 16 GB M4. Treat the figures as claims, not benchmarks.
The HN discussion splits between “finally, offline coding” and the fair question of whether a 12B local model is good enough to justify the setup — which is the right argument to be having. For enterprise work the interesting angle isn’t offline hacking on a laptop; it’s that pushing the usable-context frontier with KV-cache compression is the same lever that decides serving cost at scale. If the compression claim holds, does the model you run locally even matter, or does the memory math win?