Vercel Labs 开源 Zig 编码代理 fx,主打可嵌入
原标题:Vercel Labs Open-Sources fx: A Zig Coding Agent Designed to Be Embedded
AI 摘要
Vercel Labs 开源了用 Zig 编写的实验性编码代理 fx,它被设计为可脚本化、可嵌入的 CLI 与库,而非全屏终端应用,官方称其原生二进制仅 6.3 MiB、冷启动约 10 微秒。fx 支持 JSON 结构化输出、通过 Agent Client Protocol 接入编辑器,并以 libfx 向 JavaScript 和 WebAssembly 暴露引擎。后续版本扩展了 OpenAI 兼容连接与本地服务端点,Vercel 将其定位为 AI SDK 统一接口下的选项之一,但项目仍处于 pre-1.0 实验阶段,且名称与既有终端 JSON 查看器 fx 冲突。
正文节选
Vercel Labs has released fx as open source, an experimental coding agent and command-line tool written in Zig and built to be scripted or embedded rather than run as a full-screen terminal application. Announced in August 2026, fx ships as a 6.3 MiB native binary with a reported single-digit-megabyte memory baseline and a 10-microsecond cold start, figures Vercel states rather than independently verified benchmarks. Instead of taking over the terminal with a persistent interface, fx writes its c