Agentic AI
Vercel Labs Open-Sources fx: A Lean Coding Agent Built for Embedding
The experimental Zig-based agent tool prioritizes scriptability and library integration over a full-screen interface, arriving as a 6.3 MB binary.
InfoQ
Vercel Labs has published fx as open source, an experimental coding agent and CLI utility written in Zig that trades a persistent terminal UI for scriptability and composability. Unlike traditional chat-based agents, fx writes interactions to terminal scrollback and can be invoked programmatically, making it more suitable for automation pipelines and embedded use cases than as a standalone developer interface.
The Design Approach#
Rather than occupying the full terminal like conventional agent applications, fx operates as a lightweight, callable tool. Its core engine is exposed through three entry points: a command-line interface, a JavaScript library interface (including WebAssembly support), and integration with the Agent Client Protocol for editor attachment. Users can invoke the agent through commands like fx ask --json "summarise the failing tests" and parse structured output for automation workflows.
The tool ships as a single 6.3 MiB native binary with a reported single-digit-megabyte memory baseline and 10-microsecond cold start, according to Vercel's figures (not independently verified). The minimalist footprint reflects a design philosophy oriented toward infrastructure rather than end-user experience.
Provider Flexibility and Integration#
Initially, early adopters noted that setup appeared to route inference through Vercel's AI Gateway. Since launch, the project has broadened its model support: release 0.0.11 introduced named OpenAI-compatible connections for local servers and alternative gateways. The README now lists Vercel AI Gateway, ChatGPT and Grok subscriptions, alongside open endpoints like Ollama and OpenRouter.
Vercel has also positioned fx within its larger AI SDK ecosystem, integrating it as one option alongside Claude Code, Cline, Codex, Cursor, OpenCode and Pi through a shared harness layer.
Rapid Development and Breaking Changes#
The project remains pre-1.0 and evolving quickly. Version 0.0.13, released in early October, introduced Ultrafast mode on supported OpenAI models, promising quicker initialization and shell execution. However, the update came with a migration path: older versions cannot restore checkpoints created by the new build, and embedded library users need to adjust calls from createFxAgent() to .

