AI
hax
hax

Written in C, hax is a streamlined coding agent designed to work natively in the terminal.

Key features:

  • Lightweight by design — A single native C binary with a small dependency set. Starts instantly, and uses very small amount of memory (just a few MBs) - so more RAM is left for your local LLMs.

  • Local models are first-class — Start llama-server -m [model].gguf, then hax --provider llama.cpp, and hax auto-discovers the model and runtime capabilities. No custom provider config block needed for the default setup.

  • Respects your terminal — Streaming Markdown and live tool output, reflowed for display in the terminal. Only redraws the current streaming line or the input area, native scrollback is preserved. Does not take over or mess with your terminal.

  • Inspectable — See exactly what was sent to the model and what it replied in a usable transcript view (Ctrl+T). Optionally collect a detailed wire protocol trace.

  • Use any provider/model — Supports OpenAI (+compatible), Anthropic (+compatible), Codex (via ChatGPT subscription), OpenRouter, llama.cpp, etc.

  • Well-behaved Unix tool — XDG paths, clean stdout in -p one-shot mode with resume hints on stderr, plain-text config and session files, composition via subprocesses instead of plugins.

Watch Ad & Unlock