fx: Vercel's tiny open-source Zig coding agent in a 6.87 MiB binary
evilrabbit_ · x · 2026-12-05
Along with behind-the-scenes notes on Vercel Racing, this retweet links to fx — a lightweight open-source coding agent written in Zig.
Key facts about fx:
- Single 6.87 MiB binary, Apache-2.0, experimental v0.0.18
- An embeddable agent harness with minimalist system-prompt and tool design
- Compiles to WebAssembly (libfx) so storage, tools and networking are controlled by the host app
- Shell-like UX: preserves scroll history, keeps tool activity in the conversation
- Context-efficient: concise tool schemas, skills and MCP schemas load on demand
- Model/provider agnostic: local models, gateways, or direct API access
A browser demo runs the full CLI via WASM JSPI (Safari 27+/Chrome) with a just-bash workspace, defaulting to gpt-6-luna.
More from coding & agent
- DSPy: the ultimate guide to letting AI write and optimize your prompts for you — danshipper · 2026-12-05
- All models still struggle badly with comedy, says dev training something new to fix it — ivan_bezdomny · 2026-12-05
- DB bill ballooned from $20 to $200/month; he had his agent optimize reads back down — MartinGTobias · 2026-12-05
- The future of TDD with coding agents is end-to-end integration tests, not unit tests — philhchen · 2026-12-05
- The hardest part of writing prompts and skills: agents pad them with superfluous info — dbreunig · 2026-12-05
- Dev uses agents as critics and beta testers before showing work to humans — RachelVT42 · 2026-12-05