hax is designed with minimal dependencies, allowing system resources to be prioritized for local LLMs. In its default configuration, it automatically detects the capabilities of the model and runtime, eliminating the need for custom provider configuration blocks.
Product LaunchesOleksandr Chekhovskyi
Lightweight C-based Coding Agent hax Released, Operating with Only a Few MB of Memory
This article is a translation. Read the Japanese original
Regarding the interface, it supports streaming Markdown and live tool output within the terminal. It renders only the current streaming line and the input area, preserving native scrollback. A key feature is that it does not occupy or interfere with the entire terminal.
By pressing Ctrl+T, users can access a transcript view that records the content sent to the model and the subsequent responses. If necessary, detailed wire protocol traces can also be collected.
Configuration and session files are managed in plain text format. The design emphasizes combining tools via subprocesses rather than plugins and complies with XDG paths.
Supported operating systems include Linux, macOS, FreeBSD, and OpenBSD. On Windows, it can be used via WSL. BSD systems are supported only through building from source.
Installation is available via Homebrew for macOS and Linux, and through the AUR for Arch Linux. For other Linux distributions, pre-built static binaries for x86_64 or aarch64 can be downloaded and placed in the PATH.
Building from source generates a binary linked with system shared libraries. The build process requires a C compiler, libcurl, jansson, meson, ninja, and pkg-config. It uses fzf for @file completion if available.
Execution is performed by typing "hax" within the working directory. Multiple startup methods are provided, including an interactive REPL, one-shot mode, prompt loading from stdin, and continuation of the previous session. Upon the first execution, users can check available providers and select a model using the "/provider" command.
Source: Hax – a minimalist, terminal-native coding agent written in C (HN 121pt, 36 comments) (HN Search (backfill), 2026-08-12)