메뉴
HN
Hacker News • 38일 전

fx: 초경량 오픈소스 네이티브 코딩 에이전트

IMP
6/10
핵심 요약

fx는 Zig로 작성된 초경량 오픈소스(Apache-2.0) 코딩 에이전트 CLI로, 약 6.39MiB 크기의 작은 바이너리와 10µs 콜드 스타트를 자랑합니다. 유닉스 셸에 가까운 미니멀한 UI, 낮은 메모리 사용량, WebAssembly 지원, 모델/제공자 무관 설계가 특징이며, 연구용이고 대형 시스템에 임베딩하기에 적합합니다.

번역된 본문

초경량, 오픈소스, 네이티브 코딩 에이전트.

$ curl -fsSL https://fx.sh/setup.sh | bash (복사됨) v0.0.3 · 6.39MiB · 상태: 실험적 (i) 자기 책임 하에 사용하세요. 잦은 변경이 있을 예정입니다.

이 데모는 Zig 툴체인으로 컴파일된 WebAssembly 형태의 완전한 fx CLI를 실행합니다. 네트워킹은 브라우저 fetch에 위임되며, 모든 SDK 측면은 문서에서 설정 가능합니다.

fx 𝒇 x v0.0.3 · 명령어는 /help 입력 ┃ auto · glm-5.2 (i)

이 데모는 WebAssembly JSPI를 지원하는 브라우저(Safari 27+, Chrome 등)에서 사용할 수 있습니다. 이 데모는 just-bash 기반의 브라우저 워크스페이스와 함께 fx를 WebAssembly로 실행합니다. 전체 도구 모음을 자신의 파일에 사용하려면 fx를 설치하세요.

fx는 Zig로 작성된 코딩 에이전트 하네스 및 CLI로, 연구 목적과 대형 시스템의 일부로 임베딩하는 용도에 최적화되어 있습니다. 시스템 프롬프트 설계부터 도구, 기능 세트, 6.39MiB 바이너리까지 전반적으로 미니멀리즘과 성능에 집중합니다. 최종 사용자 관점에서 CLI 출력 스타일과 형태는 무거운 '터미널 속 IDE' 방식의 TUI보다 유닉스 셸에 가깝도록 설계되었습니다. 오픈소스(Apache-2.0)이며, 모델에 무관하고(model-agnostic), 로컬 및 클라우드 추론 모두에 적합합니다.


초소형(~6MB 바이너리): 즉시 설치와 리소스가 제한된 환경 및 에이전트 샌드박스에 임베딩하기 위해 설계되었습니다.

즉각적인 프롬프트 반응: fx는 10µs 만에 콜드 스타트하며, 사용자 입력을 받기 전에 불필요한 작업이나 I/O를 수행하지 않아 프로그래밍 방식 사용에 이상적입니다.

Wasm 지원: Zig 툴체인으로 빌드된 최적화된 fx.wasm은 크기를 더욱 줄이고 네트워크 스택을 플러그형으로 만듭니다.

최소한의 메모리 사용량: fx는 한 자릿수 메가바이트 수준의 기본 메모리만 사용해, 한 대의 머신에 많은 인스턴스를 실행할 수 있습니다.

셸과 같은 UI 및 사용성: fx는 기본적으로 스크롤 히스토리를 보존하고, 최소한의 출력을 생성하며, 복잡한 TUI나 화면 그리기를 절제해서 사용합니다.

효율적인 컨텍스트: 토큰 비용을 절약하고 최상의 첫 토큰 응답 시간(TTFT) 성능을 위해 최소한의 시스템 프롬프트와 도구를 사용합니다.

임베딩 및 확장 가능: 작은 코어에 스킬, 플러그인, MCP로 확장하며, 유닉스 철학에 따른 확장성을 지향합니다.

모델 및 제공자 무관: 로컬 모델, 게이트웨이, 제공자 직접 API 접근 또는 구독 방식 모두에서 작동하도록 설계되었습니다.

원문 보기
원문 보기 (영어)
Tiny, open, native coding agent. $ curl -fsSL https://fx.sh/setup.sh | bash copied v0.0.3 · 6.39mib · status: experimental (i) use 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 browser fetch , and every SDK aspect is configurable in the docs . fx 𝒇 x v0.0.3 · Run /help for commands ┃ auto · glm-5.2 (i) This demo is available in browsers with WebAssembly JSPI support, like Safari 27+ and Chrome. This demo runs fx in WebAssembly with a browser workspace powered by just-bash . Install fx for the full tool suite on your own files. 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. Model and provider agnostic Designed to work with local models , gateways , direct provider API access or subscriptions .