hax
A minimalist, terminal-native coding agent written in C.
MCP Agents Market is an independent directory. We are not affiliated with OleksandrChekhovskyi or hax, and we do not host or distribute it. All links point to the official GitHub repository.
hax is a lightweight, terminal-native AI coding agent written in C that runs entirely from the command line. Designed for developers who prefer minimal tooling, it starts instantly, uses minimal memory, and treats local models as first-class citizens through seamless integration with llama.cpp and other providers. The agent respects Unix conventions, preserves terminal scrollback, provides inspectable transcripts, and works in both interactive REPL and one-shot modes. It supports OpenAI, Anthropic, OpenRouter, Codex, and custom endpoints alongside local inference servers.
Key Features
Use Cases
- 01Running AI coding assistance on resource-constrained systems or alongside large local models
- 02Terminal-based code generation and refactoring for developers who work in SSH or tmux
- 03Auditing AI agent behavior through inspectable transcripts and wire protocol traces
- 04Scripting AI tasks in shell pipelines using one-shot mode with stdin/stdout
- 05Working with local LLMs via llama.cpp or Ollama without cloud API dependencies
- 06Packaging AI tools for Linux distributions with minimal dependency footprints
Related Agents
View morehermes-agent
The agent that grows with you
agency-agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy injectors to reality checkers. Each agent is a specialized expert with personality, processes, and proven deliverables.
openinterpreter
A coding agent for open models like Kimi K3
cline
Autonomous coding agent as an SDK, IDE extension, or CLI assistant.
hax — FAQ
What is hax?+
hax is a terminal-native AI coding agent written in C that provides conversational coding assistance through multiple LLM providers. Unlike MCP servers or IDE plugins, hax is a standalone agent you run directly from the command line in both interactive and scripting modes.
How do I install hax?+
On macOS or Linux, install via Homebrew with `brew install oleksandrchekhovskyi/hax/hax`. On Arch Linux, install the `hax` package from the AUR. Alternatively, download prebuilt static binaries for x86_64 or aarch64 from the GitHub releases page, or build from source on any Unix-like system including FreeBSD and OpenBSD.
What AI providers does hax support?+
hax supports OpenAI, Anthropic, Codex (via ChatGPT subscription), OpenRouter, OpenCode Zen/Go, llama.cpp, Ollama, and custom compatible endpoints. For local models, simply start llama-server or ollama serve and hax auto-discovers the running instance without configuration.
Do I need API keys to use hax?+
API keys are required only for cloud providers: set OPENAI_API_KEY, ANTHROPIC_API_KEY, OPENROUTER_API_KEY, or OPENCODE_API_KEY depending on your provider. For local models via llama.cpp or Ollama, no API keys are needed—just run the inference server.
Is hax free and open source?+
Yes, hax is released under the MIT license and is completely free to use. Cloud provider costs depend on the API you choose, but local model inference with llama.cpp or Ollama incurs no per-use charges.
Does hax work on Windows?+
hax runs natively on Linux, macOS, FreeBSD, and OpenBSD. On Windows, use hax through Windows Subsystem for Linux (WSL).
How do I install hax?+
Open the source repository on GitHub and follow its README. hax is a agent — MCP Agents Market links you directly to the official repo.
Is hax free?+
hax is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.