fx is a coding agent CLI written in Zig that operates as a Unix-like shell interface rather than a terminal IDE.
The tool addresses the need for AI-assisted coding by providing a lightweight native binary that works with any language model. It connects to multiple model sources including the Vercel AI Gateway, ChatGPT, Grok, or self-hosted endpoints like Ollama and OpenRouter. The agent maintains a Unix philosophy by preserving terminal scrollback with inline rendering instead of replacing screen content, and it can be invoked interactively through a shell, as a one-shot command for scripting, or embedded in larger systems through libfx and the ACP protocol.
Developers should choose this tool if they want a model-agnostic agent that integrates naturally into shell workflows without requiring a dedicated terminal UI. It suits projects where you need flexible model selection, including the ability to route requests through different providers via the Vercel AI Gateway or connect to local models. The tool is extensible through skills, MCP servers, and subagents, allowing customization beyond its base capabilities. It works well for teams already comfortable with command-line interfaces and those who want to embed agent functionality into larger systems.
The project maintains active development with regular releases and comprehensive documentation covering sessions, permissions, configuration, and embedding scenarios. The codebase is written in Zig, a compiled systems language, which keeps the binary small and self-contained. The tool is open source under the Apache-2.0 license and explicitly designed to remain model-agnostic, avoiding lock-in to any particular AI provider.