KZF open-sources an MCP server that stops coding agents hallucinating removed Zig APIs
washegon · reddit · 2026-10-12
Reddit user washegon released KZF, an open-source Zig 0.16 toolkit with an MCP server (kzf mcp) that fixes a real pain: Zig reshuffles its std library between releases, so agents keep writing deleted APIs (getStdOut(), old GeneralPurposeAllocator) and flail against the compiler.
- kzfdoctor flags dead APIs with modern fixes; rules are versioned data driven by a zigversion arg, not pinned to one release
- kzfscaffoldproject provides starter projects that compile first try
- kzfinspecthardware probes the CPU and suggests matching -Dcpu= flags
Single binary, zero deps, MIT, prebuilt for Linux/Windows/macOS. The broader question he raises: how to handle 'rules as versioned data' for fast-moving languages.
More from coding & agent
- OpenJet claims Qwen3.8-27B coding runs 1.9x faster than llama.cpp on one RTX 3090 — JeremyCMorgan · 2026-10-23
- Building an autonomous SEO agent in Hermes with three skills: programmatic pages, Keywords Everywhere, DataForSEO — EXM7777 · 2026-10-23
- Building a sports betting AI agent with onchain execution and human approval by default: architecture and lessons — Dry-Comfortable-2678 · 2026-10-23
- Capy 0.5.0 lets Claude Pro/Max subscribers reuse their plan quota, adds OIDC cloud access — garrytan · 2026-10-23
- You.com CEO Richard Socher: legacy code is human slop, let AI clean it up — RichardSocher · 2026-10-23
- Let agents design a single-line glance component so you can track them from the sidebar — blixt · 2026-10-23