fx:轻量、开源的原生编码智能体。
fx :Tiny, open, native coding agent.

原始链接: https://fx.sh

**fx** 是一款由 Zig 编写的轻量级、高性能编码代理(coding agent),专为研究、可嵌入性及资源受限环境而设计。其二进制文件仅 6MB,冷启动时间近乎瞬时(10微秒),针对速度和最小系统占用进行了优化。 与笨重的“终端 IDE”工具不同,fx 提供了极简的类 Unix 界面,优先考虑类 Shell 的操作逻辑和滚动历史记录。它是模型无关的、开源的(Apache-2.0),并支持本地及云端推理。核心特性包括: * **高性能:** 针对低内存占用和高效的 Token 消耗进行了优化。 * **高度可嵌入:** 具备出色的 WebAssembly 支持,非常适合集成到大型系统或代理沙箱中。 * **可扩展:** 采用模块化的“技能”和插件架构,包括对 MCP 的支持,允许用户在不臃肿核心的前提下定制功能。 无论是通过 CLI 使用,还是作为便携式工具通过 Wasm 集成,fx 都是为那些需要快速、无干扰且易于编程的编码助手的开发者而打造。

**fx** 是一款全新的开源编程智能体,专为极简主义、高性能和易嵌入性而设计。它使用 Zig 语言编写,二进制文件仅 6.39 MiB,冷启动时间低至 10 微秒,内存占用极小,非常适合资源受限的环境及程序化调用。 与那些臃肿的“终端 IDE”类工具不同,*fx* 追求的是类 Unix 的命令行体验。它采用模型无关设计,支持本地模型、云端 API 以及网关;其模块化理念允许通过插件和 MCP(模型上下文协议)来扩展其核心功能。通过精简系统提示词和工具集,*fx* 在降低 Token 成本的同时,实现了极快的首字响应速度。 尽管一些用户质疑是否需要更多的编程智能体,并对其作为实验性项目的长期维护性表示担忧,但 *fx* 凭借其轻量化架构和适用于高密度、多实例部署的特性,在众多工具中脱颖而出。
相关文章

原文

Tiny, open, native coding agent.

v0.0.36.39mibstatus: experimental use at your own risk, we will be making frequent changes

This demo is available in browsers with WebAssembly JSPI support, like Safari 27+ and Chrome.

fx is 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 in 10µs and 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.

联系我们 contact @ memedata.com