hax

Minimalist terminal coding agent written in C

Image 1 of 2: hax site with a session playing in a terminal window, showing edits to banner.c

One native C binary on libcurl and jansson, streaming Markdown and live tool output into native scrollback. Local models come first: point it at llama-server and it discovers the model and its capabilities. hax -p and --json make it scriptable from outside.

  • ~2 MBPrebuilt Linux binary

Trade-offs

  • No MCP in the core. A capability is a CLI tool with a SKILL.md, usable outside hax too, but MCP-only services need the separate hax-mcp.
  • No plugin ABI or scripting runtime. Extension lives in config, markdown and subprocesses, which leaves interception inside a turn out of reach.
  • No per-command approval gate. It would interrupt routine work and is no security boundary, so isolation falls to a container or VM.

Q&A4

hax --json emits a JSONL stream of the same records the session file holds: turns, tool calls and cost.

Reviews

Loading reviews

    More in AI agents

    See all 99 →
    • HashCortxLocal-first desktop workspace for chat, coding agents and agent teams
    • ZeroboxDeny-by-default process sandbox with per-host secret injection
    • DeftSelf-hosted workspace shared by people and AI agents
    • EntrolyLocal context layer that picks what coding agents send to the model
    • Active GraphEvent-sourced graph runtime for long-running, auditable agents
    • AgenvoySelf-hosted agent harness in one Go binary, running around the clock

    More in C

    See all 15 →
    • SNKVEmbedded key-value store built directly on SQLite's B-tree
    • LordOSDebian-based Linux distribution with its own desktop stack
    • XSProgramming language with its whole toolchain in one static binary
    • pg-statusSidecar that reports PostgreSQL master, replicas and replication lag
    • qwen3-ttsPure C inference engine for Qwen3-TTS text-to-speech
    • pktstat-bpfPer-flow traffic monitor for Linux with four eBPF capture modes

    More in CLI tools

    See all 74 →
    • blitcpFile copier that reads in disk order, dedupes and streams over raw SSH
    • jc-rsjc rewritten as one static binary that turns command output into JSON
    • pistachioDeclarative PostgreSQL schema management with a plan and apply workflow
    • quiverDump, load, copy and stream MySQL, MariaDB and TiDB from one consistent snapshot
    • roam-codeLocal code index and checks that coding agents can query
    • VexorSemantic search engine for files and code, for people and agents