fx :Tiny, open, native coding agent.
TL;DR Highlight
Vercel Labs released fx, a 6.66MiB single-binary coding agent written in Zig.
Who Should Read
Backend or DevOps developers who want to embed a lightweight coding agent into CI or sandboxes
Core Mechanics
- 6.66MiB Zig binary
- fx is a coding agent harness (the wrapper that lets a model run tools) and CLI written in Zig.
- One binary installs into your terminal, CI, or agent sandbox.
- Shell-like output, not an IDE
- It preserves scroll history and keeps tool activity inside the conversation.
- Open the full transcript when you need more detail.
- Designed to save context
- Tool schemas are concise.
- Skill instructions and MCP tool schemas load only when needed.
- Embeddable and WebAssembly-ready
- libfx lets you embed the core, add tools, and connect skills or MCP servers.
- It runs in the browser too, with your app controlling storage, tools, and network.
- Provider-agnostic by design
- It is meant to work with local models, gateways, direct API access, or subscriptions.
- It is Apache-2.0 open source, and v0.0.14 is marked experimental with frequent changes.
Community Reactions
- Doubts about the binary size
- One commenter argued an agent loop should fit in 200-300KB, so 6MB seems large.
- Another built the repo with zig build on 0.16 and got a 144MB binary, 44MB after stripping.
- Trouble connecting non-Vercel providers
- One user spent 5 minutes and could not find a way to sign in with their own subscription or API key.
- Several others could not find a generic OpenAI-compatible endpoint option.
- Pushback that only Zig is new
- One commenter said the harness is largely the same, just Vercel-flavored.
- They had built a Go harness that is just as portable and deploys to Vercel's sandbox.
- Hands-on reactions and alternatives
- One user ran GLM 5.2 free on a free Vercel account and found it cool though not very polished.
- Alternatives mentioned: a ~40KB C binary, Rust-based Maki, and Nim-based 3code.
How to Apply
- Install fx in a sandbox
- Run the official setup script in an isolated environment and send one request with fx ask.
- It is experimental, so use a test directory rather than a real project.
- Compare startup time and memory
- Run fx and your current agent CLI on the same task and measure startup time and memory.
- Use the numbers if you need to launch many agents in CI or containers.
- Check provider connectivity first
- Confirm in the docs that your model provider or local endpoint can be connected.
- Commenters reported trouble, so test direct API key login first.
Try It
# Run in a Linux/macOS terminal (isolated sandbox recommended)
curl -fsSL https://fx.sh/setup.sh | bash
# Check help after install
fx --help
# Run a single request (fx ask from the article)
fx ask "{{question}}"Terminology
Related Papers
Frostbite: A new CPU architecture discovered, designed and verified by AI
AI agents designed a CPU from scratch, claiming 4.59x perf/W over a traditional core
Restricting AI agents in mobile operating systems platforms from capturing data
Signal now blocks OS-level AI agents from reading its screen on iOS 27 and Android
Actions Speak Louder than Words: Stateful Privacy Sniffing of LLM Agents via Behavioral Covert Channels in Web Interactions
Agents' link choices alone let attackers rebuild user queries at F1 0.89; SOR cuts it to 0.39.
Tracking and Limiting Unsupported Claim Propagation in Multi-Agent LLM Systems: A Provenance-Aware Framework
Passing claims with source, evidence and history kept equivalence at 5 agent stages at 96% versus 31%.
LLM assisted reverse engineering
Pointing an agent at binaries with skills and MD notes made years-long hacks feasible
Metrics-in-the-Loop: Complexity Feedback Reshapes Agent-Written Code
Injecting per-turn complexity reports into coding agents cut code erosion without changing correctness
Why is Gemini 4 Carbon taking so long?
Carbon took nearly an hour on bug fixes that Astra and Opus finished in minutes, mostly from extra unrequested work.
Weight-Space Programming builds neural networks like a 1990s researcher
LLM hand-wrote MNIST weights to 91.3%, using 1990s-style techniques