AI NewsDev toolsAnnouncement

Vercel Labs released fx, a 7.8 MiB coding agent written in Zig

Vercel Labs open-sourced fx, a compact coding agent harness written in Zig that is distributed as a 7.8 MiB binary and is designed to be embedded inside other software.

AI News

Editorial2 min read

LinkedInX
The GitHub repository card for vercel-labs slash fx

Image: GitHub

Why it mattersA tiny embeddable agent binary lets a product include a coding agent without also including a Node.js runtime and dozens of packages alongside.

Vercel Labs has open-sourced fx, a coding agent it describes as "Unix like" and built as a single small native binary. The repository was created on 11 August, and in the twenty-one days since has gained 2,664 stars and 306 forks on GitHub.

The project is Apache-2.0 licensed, written in Zig, and the compiled binary is 7.8 MiB on disk. The README warns readers that fx is experimental and states that it is not yet ready for production use.

What is new about it

Most terminal coding agents are distributed as a Node.js CLI. To install one, a user installs a runtime and dozens of packages first. fx compiles to a static native binary that runs on its own, and it can be embedded inside other software the same way a scripting language interpreter can. Vercel's own framing calls fx a "harness" that other tools can call in-process, which is the embeddable use it is built for.

Version 0.0.7, released on 29 August, made the Model Context Protocol a top-level command and added a Ctrl+Enter shortcut to give new directions during an active turn while the agent is still working. Earlier releases added workspace skills discovered from a .fx/skills directory and macOS binary signing.

What it works with

fx is model-agnostic and works with the Vercel AI Gateway, OpenAI through a ChatGPT subscription or Codex OAuth, and xAI through a Grok subscription. Because MCP is built in, fx can call any tool server a team has already exposed to Claude Code or Codex without a new integration.

The project's stated goal is minimalism, with a Unix shell aesthetic in place of the busy terminal user interfaces most coding agents come with. That is a design position more than a feature list. It decides who fx is likely to fit: a team that wants to script the agent or embed it inside another program.

The interesting part here is the form of the binary. Anyone building a developer tool who wanted an AI agent inside it has, until now, had to bundle a Node runtime and a large set of npm packages, or make an HTTP call to a hosted service. A 7.8 MiB static binary that supports MCP is a much smaller thing to embed, and Zig gives the same binary on Linux, macOS, and Windows from one build.

For daily interactive use fx is behind Codex and Claude Code today, and the experimental warning is honest about that. The audience for now is the team thinking about how to give their own product an agent, where licence, size, and embeddability matter more than the current feature list.

Source

This item was written by an AI system from the linked source. Reveneau is responsible for what it publishes.

Share
LinkedInX
Start a project