Skip to main content
ToolPotion
AI Advisor
Submit a Tool (Free)

hax

AI AppsAI Coding AssistantsExplaining code#188Open source · Linux, macOS, FreeBSD, OpenBSD, WSL (Windows)

hax is a minimalist, terminal-native coding agent designed for developers who prefer working in the command line. It operates as a single native C binary, consuming minimal RAM, and prioritizes local model support while also integrating with major AI providers. This tool respects terminal behavior, offers inspectable interactions, and runs efficiently across various Unix-like operating systems.

Visit Website
Share
hax screenshot
hax screenshot

hax is a minimalist, terminal-native coding agent engineered for developers who operate primarily within the command line environment. It distinguishes itself by being a single native C binary, ensuring a small footprint with minimal dependencies. This design allows hax to start instantly and use only a few megabytes of memory, thereby preserving more RAM for local AI models.

Read More

The agent offers first-class support for local models, automatically discovering model and runtime capabilities without requiring custom provider configuration for default setups. Beyond local models, hax provides broad compatibility with various AI providers, including OpenAI and compatible services, Anthropic and compatible services, Codex (via ChatGPT subscription), OpenRouter, OpenCode Zen/Go, and llama.cpp, among others.

hax is designed to respect the terminal environment, featuring streaming Markdown and live tool output that reflows for optimal display. It only redraws the current streaming line or the input area, preserving native scrollback and avoiding interference with the terminal's normal operation. Users can inspect interactions with models through a usable transcript view (Ctrl+T) and optionally collect detailed wire protocol traces.

As a well-behaved Unix tool, hax adheres to XDG paths, provides clean stdout in one-shot mode with resume hints on stderr, and uses plain-text config and session files. It supports composition via subprocesses instead of plugins, aligning with a philosophy of minimalism and auditability. The target audience includes developers who live in the terminal, run local models, audit their tools' actions, package software for distributions, or deploy agents in resource-constrained environments.

hax runs on Linux, macOS, FreeBSD, and OpenBSD, and can be used on Windows under WSL. It can be installed via Homebrew on macOS and Linux, or from the AUR on Arch Linux. Prebuilt binaries are also available for Linux (x86_64 and aarch64) and macOS (Apple Silicon), or users can build it from source. The tool comes with comprehensive man pages covering options, slash commands, keys, sessions, project instructions, provider setup, configuration, and session files.

  • CategoryAI Coding Assistants
  • Pricing ModelOpen source
  • DeploymentLocal
  • PlatformsLinux, macOS, FreeBSD, OpenBSD, WSL (Windows)

  • Minimalist native C binary

  • Low memory usage (few MB of RAM)

  • Instant startup

  • First-class local model support

  • Auto-discovers model and runtime capabilities

  • Broad AI provider support (OpenAI, Anthropic, Codex, OpenRouter, OpenCode Zen/Go, llama.cpp)

  • Streaming Markdown output in terminal

  • Live tool output reflowed for terminal display

  • Preserves native terminal scrollback

  • Inspectable transcript view (Ctrl+T)

  • Optional wire protocol trace collection

  • Adheres to XDG paths for configuration

  • Clean stdout in one-shot mode

  • Plain-text config and session files

  • Composition via subprocesses instead of plugins

  1. Install hax: Install via Homebrew on macOS/Linux, AUR on Arch Linux, prebuilt binaries, or build from source.

  2. Run hax: Navigate to your project directory and execute `hax` in the terminal.

  3. Choose a provider and model: In interactive mode, use `/provider` to view available options and select a model.

  4. Interact with the agent: Begin coding tasks or queries, leveraging its terminal-native interface.

  5. Inspect interactions: Use Ctrl+T to view the transcript of model communications and replies.

  • Terminal-Native Coding
  • Local Model Experimentation
  • Code Generation & Refactoring
  • Resource-Constrained Agent Deployment
  • Auditing AI Tool Interactions
  • Software Packaging for Distros

hax Reviews

Loading...

Popular AI Tools Like hax

Open Interpreter is an open-source coding agent that runs in the terminal, forked from OpenAI's Codex and tuned to get strong performance out of low-cost and open-weight models.…

AI Coding Assistants

Ranked #27 in Automation & Agents

View Tool

Open-source coding agent that runs in the terminal, forked from OpenAI's Codex and tuned to get strong performance out of low-cost and open-weight models.…Open Interpreter is an open-source coding agent that runs in the terminal, forked from OpenAI's Codex and tuned to get strong performance out of low-cost and open-weight models.…

AI Coding Assistants
Ranked #27 in Automation & Agents

Goose is an open-source AI agent that operates on your machine, offering a desktop app, CLI, and API. It's designed for tasks like coding, research, writing, and automation,…

AI Coding Assistants
View Tool

Open-source AI agent that operates on your machine, offering a desktop app, CLI, and API. It's designed for tasks like coding, research, writing, and automation,…Goose is an open-source AI agent that operates on your machine, offering a desktop app, CLI, and API. It's designed for tasks like coding, research, writing, and automation,…

AI Coding Assistants
See the Top 250 AI Apps

Goose is a native open source AI agent that operates as a desktop app, CLI, and API. It supports various tasks including coding, research, and automation, making it versatile for…

AI Coding Assistants

Ranked #46 for Analyzing data

View Tool

Native open source AI agent that operates as a desktop app, CLI, and API. It supports various tasks including coding, research, and automation, making it versatile for…Goose is a native open source AI agent that operates as a desktop app, CLI, and API. It supports various tasks including coding, research, and automation, making it versatile for…

AI Coding Assistants
Ranked #46 for Analyzing data

Farol

AI Apps

Farol is a free, open-source macOS terminal app designed for AI coding agents. It allows users to run Claude Code and Codex in parallel, each within its own git worktree,…

AI Coding Assistants
View Tool

AI Apps

Free, open-source macOS terminal app designed for AI coding agents. It allows users to run Claude Code and Codex in parallel, each within its own git worktree,…Farol is a free, open-source macOS terminal app designed for AI coding agents. It allows users to run Claude Code and Codex in parallel, each within its own git worktree,…

AI Coding Assistants
See the Top 250 AI Apps

Radian

AI Apps

Radian is a fast and efficient coding agent encapsulated in a single Rust binary. It journals every step and outputs each as a JSON line, providing a clear exit code for process…

AI Coding Assistants
View Tool

AI Apps

Fast and efficient coding agent encapsulated in a single Rust binary. It journals every step and outputs each as a JSON line, providing a clear exit code for process…Radian is a fast and efficient coding agent encapsulated in a single Rust binary. It journals every step and outputs each as a JSON line, providing a clear exit code for process…

AI Coding Assistants
See the Top 250 AI Apps

Nuclr Commander is a versatile AI coding tool that allows users to run multiple AI agents like Claude Code, Codex, Pi, and OpenCode simultaneously. It integrates seamlessly with…

AI Coding Assistants

Ranked #220 for Explaining code

View Tool

Versatile AI coding tool that allows users to run multiple AI agents like Claude Code, Codex, Pi, and OpenCode simultaneously. It integrates seamlessly with…Nuclr Commander is a versatile AI coding tool that allows users to run multiple AI agents like Claude Code, Codex, Pi, and OpenCode simultaneously. It integrates seamlessly with…

AI Coding Assistants
Ranked #220 for Explaining code

Wavefunction is a fast, open-source coding agent for macOS designed for parallel workflows. It allows users to run local models, use their own API keys, or sign in with ChatGPT.…

AI Coding Assistants
View Tool

Fast, open-source coding agent for macOS designed for parallel workflows. It allows users to run local models, use their own API keys, or sign in with ChatGPT.…Wavefunction is a fast, open-source coding agent for macOS designed for parallel workflows. It allows users to run local models, use their own API keys, or sign in with ChatGPT.…

AI Coding Assistants
See the Top 250 AI Apps

Symvibe

AI Apps

Symvibe is a native macOS application designed for developers and teams to manage multiple AI coding agents like Claude Code, Codex, and Gemini CLI on a single visual board. It…

AI Coding Assistants

Ranked #234 for Explaining code

View Tool

AI Apps

Native macOS application designed for developers and teams to manage multiple AI coding agents like Claude Code, Codex, and Gemini CLI on a single visual board. It…Symvibe is a native macOS application designed for developers and teams to manage multiple AI coding agents like Claude Code, Codex, and Gemini CLI on a single visual board. It…

AI Coding Assistants
Ranked #234 for Explaining code
1 of 8