@rauchg: http://fx.sh is 6.3mb. It starts up in 10Β΅sΒΉ. It's a Zig-compiled static ELF binary, or an even smaller πš•πš’πš‹πšπš‘.πš πšŠβ€¦

X AI KOLs Timeline Tools

Summary

A new open-source coding agent tool named fx, compiled with Zig, features a tiny 6.3MB binary, instant startup in 10Β΅s, and WebAssembly support for optimized performance and embeddability.

http://fx.sh is 6.3mb. It starts up in 10Β΅sΒΉ. It's a Zig-compiled static ELF binary, or an even smaller πš•πš’πš‹πšπš‘.πš πšŠπšœπš–Β² AI will make most infrastructure natively optimized. Case in point: fx can literally finish tasks faster than other agents can boot. Fast is a one-way street. ΒΉ that's microseconds Β² fun fact: the wasm build is actually *smaller*. A lot of binary weight comes from the TLS/HTTP stack. In WebAssembly, fx delegates πšπšŽπšπšŒπš‘() to the JS runtime instead. You can try this on http://fx.sh/try
Original Article
View Cached Full Text

Cached at: 08/20/26, 03:05 PM

http://fx.sh is 6.3mb. It starts up in 10Β΅sΒΉ. It’s a Zig-compiled static ELF binary, or an even smaller πš•πš’πš‹πšπš‘.πš πšŠπšœπš–Β²

AI will make most infrastructure natively optimized. Case in point: fx can literally finish tasks faster than other agents can boot.

Fast is a one-way street.

ΒΉ that’s microseconds Β² fun fact: the wasm build is actually smaller. A lot of binary weight comes from the TLS/HTTP stack. In WebAssembly, fx delegates πšπšŽπšπšŒπš‘() to the JS runtime instead. You can try this on http://fx.sh/try


fx - Tiny, open, native coding agent

Source: https://fx.sh/ Tiny, open, native coding agent.

v0.0.4(notes)6.39mibstatus:experimentaluse at your own risk, we will be making frequent changes

This demo runs the full fx CLI as WebAssembly compiled with the Zig toolchain. Networking is delegated to browserfetch, and every SDK aspect is configurable in thedocs.

fxis a coding agent harness and CLI written in Zig, optimized for research and embeddability as part of larger systems.

It focuses on minimalism and performance across the board, from system prompt design, to its tools, feature set, and 6.39mib binary.

For end users, its CLI output style and form factor aims to be closer to a Unix shell than a heavy β€œIDE in the terminal” TUI.

It’s open source (Apache-2.0), model-agnostic, and suitable for both local and cloud inference.

Tiny ~6mb binary

Designed for instant installation and embedding in resource constrained environments and agent sandboxes.

Instant time to prompt

fx cold starts in10Β΅sand does no unnecessary work or I/O prior to accepting user input, making it ideal for programmatic use.

Wasm support

Optimal fx.wasm builds produced by the Zig toolchain, which further reduce fx’s size, making the network stack pluggable.

Minimal memory footprint

fx contributes single-digit megabytes of memory baseline, allowing you to pack many instances in one machine.

Shell-like UI and ergonomics

fx preserves scroll history by default, produces minimal output, and makes sparing use of complex TUI or paints

Context efficient

Minimal system prompt and tools, to save on token costs and to yield optimal time-to-first-token performance (TTFT).

Embeddable and extensible

Small core, extended via skills, plugins, MCPs, with a Unix-like philosophy to extensibility.

Similar Articles

fx :Tiny, open, native coding agent.

Hacker News Top

fx is a tiny, open-source coding agent CLI tool written in Zig, optimized for minimalism, performance, and embeddability with a small binary size and fast cold start.

@EricBlock2100: https://x.com/EricBlock2100/status/2064647467707072697

X AI KOLs Timeline

zerostack is a minimalistic coding agent written in Rust, with only 17,000 lines of code, a 26MB binary size, and an average memory usage of 16MB. Its performance far exceeds similar JavaScript tools. It supports multiple models, a five-tier permission system, MCP, and other rich features. The design prioritizes extreme resource efficiency and code simplicity.

Golfing Zig ELF Binaries (2025)

Lobsters Hottest

A technical deep-dive into reducing the size of Zig ELF binaries, starting from 2180K to under 500 bytes by stripping debug info, switching to ReleaseSmall, and using a freestanding target.

Zig Builds Are Getting Faster

Mitchell Hashimoto

Zig 0.15 shows significant compile-time improvements over 0.14, with build script compilation dropping from ~7s to ~1.7s and full builds from 41s to 32s, even while still using LLVM. The article highlights progress toward self-hosted backends and incremental compilation.