</>MCP Agents Market
Agent

hax

by OleksandrChekhovskyi798CUpdated 2026-09-16

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

Single native C binary with minimal dependencies, using only a few MB of RAM
First-class local model support with auto-discovery of llama.cpp and Ollama servers
Terminal-friendly streaming Markdown output that preserves native scrollback
Built-in transcript view (Ctrl+T) showing exact model requests and responses
Supports OpenAI, Anthropic, Codex, OpenRouter, OpenCode, llama.cpp, Ollama, and custom endpoints
Interactive REPL mode and one-shot `-p` mode for scripting and automation
Session persistence and resumption per project directory
Unix-compliant design with XDG paths, plain-text configs, and clean stdout

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 more

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.

Related searches