agent active

hax

Maker: OleksandrChekhovskyi License: MIT Stars: 262 First released: 2026-04-24 Language: C
CLI

About

hax is a coding agent built as a single small C binary with minimal dependencies, aimed at developers who want agent capability without a heavyweight runtime. It supports interactive REPL, one-shot, and stdin-piped modes with session continuation and resume, and connects to OpenAI-compatible and Anthropic-compatible endpoints, OpenRouter, Codex subscriptions, and local llama.cpp or Ollama servers — with llama.cpp auto-discovery requiring no configuration. The interface respects the terminal it runs in: streaming Markdown reflows in place, tool output stays inline, and native scrollback is preserved rather than replaced. Config is plain text under XDG paths, transcripts are inspectable (Ctrl+T shows exactly what was sent and received), and capabilities extend through subprocess composition rather than a plugin system. It suits terminal-focused developers, local-model users, and environments where memory footprint and auditability matter.