hax

Из публичных источников

Минималистичный терминальный агент для программирования, написанный на C.

Машинный перевод · Показать оригинал

A minimalist, terminal-native coding agent written in C.

AI-инструментКатегория: AI-инструментыOpen sourceданные проверены 16 окт. 2026 г.

Обзор

  • ai-agent
  • anthropic
  • c
  • cli
  • coding-agent
  • coding-assistant
  • llama-cpp
  • llm
  • local-llm
  • openai
  • openrouter
  • repl

Установка

Команды только показываются, маркетплейс их не выполняет. Сверяйтесь с официальной документацией.
  • Официальный сайтИз публичных источниковиз метаданных каталога
    usehax.dev/ ↗
  • Файлы официального релизаИз публичных источниковиз последнего официального релиза
    github.com/OleksandrChekhovskyi/hax/releases/tag/v0.6.1 ↗
  • Сборка из исходниковИз публичных источниковиз метаданных каталога

    Сборка из исходников: проверенного рецепта сборки нет — следуйте инструкциям репозитория.

    github.com/OleksandrChekhovskyi/hax ↗

Совместимость

«Неизвестно» значит, что доказательств не найдено, а не что продукт несовместим.
ПлатформаСтатусАрхитектураДоказательствоУверенность
WindowsНеизвестно———
macOSСовместимоarm64официальная сборка в релизе v0.6.1: hax-0.6.1-macos-arm64.tar.gz0.70
LinuxСовместимоarm64официальная сборка в релизе v0.6.1: hax-0.6.1-linux-aarch64.tar.gz0.70
Совместимоx86_64официальная сборка в релизе v0.6.1: hax-0.6.1-linux-x86_64.tar.gz0.70
Web browserНеизвестно———
Server / self-hostedНеизвестно———
Container (OCI)Неизвестно———

Релизы

проверено 30 окт. 2026 г.
v0.6.1Последний15 окт. 2026 г.Официальный источник ↗

Файлы версии 0.6.1

Маркетплейс не хранит эти файлы: загрузка идёт из официального источника. Мы их не сканировали.
ФайлПлатформаРазмерSHA-256Скачать из официального источника
hax-0.6.1-linux-aarch64.tar.gzlinux · arm64 · tarball972,1 KB77e116bba4c9…Официальный источник ↗
hax-0.6.1-linux-x86_64.tar.gzlinux · x86_64 · tarball942,6 KBd648c6542014…Официальный источник ↗
hax-0.6.1-macos-arm64.tar.gzmacos · arm64 · tarball309,9 KBe8e317abe4ed…Официальный источник ↗
hax-0.6.1.tar.xzНеизвестно886,1 KBb46c13187770…Официальный источник ↗
SHA256SUMSконтрольные суммы371 B2bbf4423f678…Официальный источник ↗

История релизов

Профиль качества

алгоритм quality-v1.0 · оценено 16 окт. 2026 г.
Оценка качества92
Оценка риска0
Уверенность 1.00
Оценка качества и оценка риска — разные показатели. Высокое качество не гарантирует безопасность.

Составляющие оценки

Поддержка · 2020
last activity 0 days ago
Документация · 1515
README 6124 chars, description present
Готовность к использованию · 1515
install instructions: yes; releases: yes
Метаданные · 1010
4/4 of description, homepage, license, topics
Релизы · 1010
7 release(s), latest 0 days ago
Точность категории · 105
classifier confidence 0.5
Популярность · 107
915 stars (log-dampened, 10k = max)
Ясность лицензии · 55
SPDX MIT
Сообщество · 55
issues enabled, 60 forks

Лицензия

MIT
Лицензия известнапо данным хостинга репозитория

Это статус политики каталога, а не юридическое заключение.

Источники

github.com/OleksandrChekhovskyi/haxОсновной★ 915 звёздактивность 15 окт. 2026 г.Основной репозиторий · Уверенность 1.00

Отзывы

Войдите, чтобы написать отзыв

Отзывов пока нет.

Альтернативы

oh-my-piПохожий
⌥ Агент для программирования с встроенной IDE. Разработан Stencil Labs.MIT · AI-инструменты
zeroПохожий
Агент для программирования, который подчиняется вам: ваша модель, ваша машина, ваши правила.MIT · AI-инструменты
ANUSПохожий
Бесплатный программный агент для написания кода в вашем терминале. Работает на самой умной из доступных сегодня бесплатных моделей.MIT · AI-инструменты
agenttyПохожий
Парное программирование с ИИ в вашем терминале — один статический бинарный файл, запуск за доли миллисекунды, любая модельMIT · AI-инструменты
jcodeПохожий
Высокопроизводительная среда для агентов-программистов, написанная на RustMIT · AI-инструменты
dao-codeПохожий
Терминальный агент для программирования с открытым исходным кодом на TypeScript для DeepSeek-V4 — использует выгодное соотношение цены и качества DeepSeek и сверхдешёвую ценообразование кэша; за счёт стабильных по байтам префиксов и форков, повторно использующих кэш, сквозная память между сессиями и непрерывный слой самокоррекции почти не увеличивают расход токенов; контекст 1M, SkMIT · AI-инструменты

README

Из OleksandrChekhovskyi/hax · лицензия MIT · загружено 30 окт. 2026 г.

hax

A minimalist, terminal-native coding agent written in C.

Key features

  • Lightweight by design — A single native C binary with a small dependency set. Starts instantly and uses only a few MB of memory, leaving more RAM for local models.
  • Local models are first-class — Start llama-server -m [model].gguf, then hax --provider llama.cpp, and hax auto-discovers the model and runtime capabilities. No custom provider config block is needed for the default setup.
  • Respects your terminal — Streaming Markdown and live tool output, reflowed for display in the terminal. Only redraws the current streaming line or the input area, native scrollback is preserved. Does not take over or mess with your terminal.
  • Inspectable — See exactly what was sent to the model and what it replied in a usable transcript view (Ctrl+T). Optionally collect a detailed wire protocol trace.
  • Broad provider support — OpenAI (+compatible), Anthropic (+compatible), Codex (via a ChatGPT subscription), OpenRouter, OpenCode Zen/Go, DeepSeek, llama.cpp, Ollama, and custom endpoints.
  • Well-behaved Unix tool — XDG paths, clean stdout in -p one-shot mode with resume hints on stderr, plain-text config and session files, composition via subprocesses instead of plugins.

Target audience

Developers who live in the terminal, run local models, audit what their tools do, package software for distros, or run agents where resources are scarce. If you want MCP marketplaces, a plugin runtime, IDE panels, or per-command permission prompts, other agents build exactly that — hax deliberately doesn't, and docs/philosophy.md explains each omission and the pattern that covers the need.

If "fancy new AI tech in an old-school minimalist package" sounds like your vibe, you might like this.

Install

hax runs on Linux, macOS, FreeBSD, and OpenBSD; on Windows, use it under WSL. The BSDs build from source only.

With Homebrew (macOS or Linux):

brew install oleksandrchekhovskyi/hax/hax

On Arch Linux, hax is in the AUR as hax.

Alternatively, prebuilt binaries for Linux (x86_64 and aarch64) and macOS (Apple Silicon) are available from the latest release: unpack the hax binary into any directory on your PATH. The Linux binaries are fully static, and the macOS one needs only libraries that ship with macOS. If macOS refuses to run a binary downloaded through a browser, clear its quarantine flag with xattr -d com.apple.quarantine hax.

From source

Building from source gives a binary linked against your system's shared libraries instead of the libraries the prebuilt binaries bundle:

git clone https://github.com/OleksandrChekhovskyi/hax.git
cd hax
scripts/install_deps.sh   # Debian/Ubuntu, Fedora, Arch, openSUSE, Alpine, macOS, FreeBSD, OpenBSD
make                      # the binary is now at ./build/hax
make install              # optional; may prompt for sudo

scripts/install_deps.sh installs the build dependencies — a C compiler, libcurl, jansson, meson, ninja, and pkg-config — plus fzf, which hax uses for @file completion when available. On other platforms, install those packages by hand and run make.

For hacking on hax, make symlink links the freshly built binary into ~/.local/bin so it stays on PATH across rebuilds. make tests additionally needs tmux, which drives the interactive scenarios (scripts/install_deps.sh tests installs it), and make lint needs clang-format and clang-tidy (scripts/install_deps.sh lint installs them).

The examples below use hax as if it is on PATH; after a plain build, use ./build/hax.

Connect a provider

The easiest first run is interactive: start hax, then use /provider to see available providers and choose a model. hax remembers interactive provider, model, and effort selections.

ProviderSetup
codexRun /login inside hax.
openaiSet OPENAI_API_KEY.
anthropicSet ANTHROPIC_API_KEY.
openrouterSet OPENROUTER_API_KEY.
opencode-zen / opencode-goSet OPENCODE_API_KEY.
deepseekSet DEEPSEEK_API_KEY.
llama.cppRun llama-server.
ollamaRun ollama serve.
Compatible or custom endpointSee docs/providers.md.

Quick start

Run hax from the project directory you want it to work in:

hax                         # interactive REPL
hax -p "list TODOs"         # run one prompt and print the final answer
printf "explain x" | hax -p # read the prompt from stdin
hax -c                      # continue the latest session for this directory
hax --resume                # pick a past session for this directory
hax --resume=ID -p "next"   # resume a specific session in one-shot mode

Run hax --help for CLI usage. In the REPL, type /help for slash commands and shortcuts. See docs/usage.md for more detailed usage documentation.

Configuration

Configuration is optional. Interactive selections are remembered separately from your config file; CLI flags apply only to the current run, and environment variables are useful for shells and scripts. Resumed conversations restore their own provider, model, effort, and preset unless a CLI selection flag overrides them.

See docs/configuration.md for the file format, resolution order, presets, and the setting reference.

Extras

Optional companions that live outside the core binary, each a small Python CLI with a skill that tells hax when to use it:

  • hax-web — web search and readable page fetching.
  • hax-mcp — tools of MCP servers, with definitions entering the model's context only as a task needs them.

More docs

License

MIT.

Открыть репозиторий ↗