Home / Blog / Vercel Labs Open-Sources fx: A Zig Coding Agent Designed to…
Tech News

Vercel Labs Open-Sources fx: A Zig Coding Agent Designed to Be Embedded

Vercel Labs open-sourced fx, a 6.3 MiB Zig coding agent that embeds via libfx or WebAssembly, with Ultrafast mode added in the October 4 version 0.0.13 release.

By Dillip Chowdary • Dec 04, 2026 • Source: InfoQ

Vercel Labs Open-Sources fx: A Zig Coding Agent Designed to Be Embedded
Image: InfoQ

At a glance

Product
fx (Vercel Labs)
Language
Zig
Binary size
6.3 MiB
Cold start
10 microseconds (reported by Vercel)
Version
0.0.13 (October 4, 2026)
Status
Pre-1.0, experimental

Vercel Labs open-sourced fx, an experimental coding agent written in Zig that is designed to be scripted or embedded rather than run as a full-screen terminal application. According to InfoQ's report, fx was announced in August 2026 and ships as a 6.3 MiB native binary with a reported single-digit-megabyte memory baseline and a 10-microsecond cold start.

The release targets developers building agent infrastructure rather than developers looking for a chat interface. fx writes its conversation into ordinary terminal scrollback, exposes structured output for automation, and makes the same engine available through both a CLI and an embeddable library. This article covers the binary design, provider support, known issues, and the latest pre-1.0 changes.

016.3 MiB binary with 10-microsecond cold start

Structured output is available for automation through a command such as fx ask --json "summarise the failing tests", allowing scripts and CI jobs to call a command and parse the response. Editors can attach over the Agent Client Protocol using fx acp, and libfx exposes the same engine to JavaScript, including a WebAssembly build.

02Provider support widened after launch feedback

Early Hacker News feedback questioned whether fx was truly model-agnostic: some first-run reports indicated setup appeared to route inference through Vercel AI Gateway, and commenters asked how fx differed from established agents such as OpenCode. One user noted that GLM 5.2 was available for free even on a free Vercel account.

Release 0.0.11 added named OpenAI-compatible connections for local servers and alternative gateways. The README now lists Vercel AI Gateway, ChatGPT and Grok subscriptions, plus endpoints such as Ollama and OpenRouter. Vercel also placed fx in its AI SDK harness layer alongside Claude Code, Cline, Codex, Cursor, OpenCode, and Pi, presenting it as one option behind a shared interface.

03Name collision with the existing fx JSON viewer

Advertisement

Tech Pulse Daily

Get tomorrow's pulse first

Join engineers who read Tech Pulse before stand-up. Free, weekday mornings.

A GitHub issue flagged that the name fx conflicts with the long-established terminal JSON viewer already holding the Homebrew fx formula. A contributor confirmed that packaging and command coexistence were under review. Vercel is explicit that fx is experimental and pre-1.0.

04Ultrafast mode and libfx checkpoint breaking change in 0.0.13

The 0.0.13 release on October 4 added an Ultrafast mode on supported OpenAI models with quicker launches and shell calls. The release also introduced a breaking change: newly written libfx checkpoints cannot be restored by older versions.

CLI users can upgrade with fx upgrade and should read the changelog before doing so. Embedded users are advised to consult the libfx migration guide, which documents that the earlier createFxAgent() call maps to createFxEngine() in the current documentation.

05Repository, demo, and harness position

The fx repository documents the CLI, skills, MCP, permissions, and SDK. A browser demo shows the terminal-style experience without requiring an install. Vercel Labs is the experimental group within Vercel, the company behind the Next.js framework and its deployment platform.

Vercel has positioned fx in its AI SDK harness layer next to Claude Code, Cline, Codex, Cursor, OpenCode, and Pi. The design intent is to present fx as one interchangeable option behind a shared interface rather than as a competitor to those tools. This approach means teams can evaluate fx against existing agents using the same harness without rewriting orchestration code.

The structured output capability — fx ask --json — targets developers who need coding agent output in machine-parseable form for CI pipelines, test runners, or automated review workflows. Rather than requiring a full terminal session, a script can call fx ask --json "..." and parse the response as JSON, making fx a composable component rather than a standalone tool.

Vercel states that fx is intentionally pre-1.0 and changing quickly. The 0.0.13 release on October 4 represents the latest stable point, but users should check the changelog before upgrading because breaking changes in libfx have been introduced between minor releases.

The fx upgrade command handles CLI upgrades; embedded library users must manually consult the migration guide for each release that changes the library API. The createFxAgent() to createFxEngine() rename in recent versions is a concrete example of this kind of API-level change, and the migration guide documents the full mapping for each affected call before and after the change.

Frequently asked questions

What is Vercel fx?

fx is an open-source coding agent written in Zig by Vercel Labs. It runs as a 6.3 MiB CLI binary, a script component, or an embedded library including a WebAssembly build, and writes its conversation into terminal scrollback.

What providers does fx support?

fx supports Vercel AI Gateway, ChatGPT and Grok subscriptions, Ollama, and OpenRouter. Release 0.0.11 added named OpenAI-compatible connections for local servers.

How do I upgrade fx?

Run fx upgrade and read the changelog before upgrading. Embedded library users should consult the libfx migration guide because createFxAgent() was renamed to createFxEngine() in recent versions.

Sources

Dillip Chowdary

Author

Dillip Chowdary

Writes Tech Bytes coverage of AI, engineering, and the tools that actually ship. Editor of Tech Pulse Daily.

Related on Tech Bytes

Advertisement

5-min tech signal

Weekday briefing for engineers who skip the noise.

No spam · Unsubscribe anytime

Advertisement

✈️ CareerPilot

Your AI job-search copilot

Match your resume against live Ashby, Greenhouse & Lever openings — fit scores, job-specific resume optimization and email alerts.

Find matching jobs →

Free Tools

Browse all tools →