AI CLIs & agents · OleksandrChekhovskyi · ↗ Trending on GitHub

Hax changelog

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

Latest tracked Hax version: v0.7.0, released Nov 12, 2026. Read the release notes · Official source ↗

Browse AI Coding Agents & CLIs or compare plans and pricing. Independently tracked; not affiliated with OleksandrChekhovskyi.

First released
Aug 7, 2026 4 mo ago
Latest version
v0.7.0
Last shipped
18d ago
GitHub stars
1.0k +15/wk
Avg. release gap
13.8 days
Weekly activity · since Aug 2026 · 17 weeks2 updates · 16w ago1 update · 15w ago1 update · 14w ago0 updates · 13w ago1 update · 12w ago0 updates · 11w ago0 updates · 10w ago0 updates · 9w ago0 updates · 8w ago1 update · 7w ago1 update · 6w ago0 updates · 5w ago0 updates · 4w ago0 updates · 3w ago1 update · 2w ago0 updates · 1w ago0 updates · this week

Release history

Recent updates

All 8 versions →

Thursday, November 12Nov 12, 2026

Release v0.7.0 source ↗

Hax v0.7.0

Added Man pages for offline reference: man hax for usage, plus hax-config(5), hax-sessions(5), and hax-providers(7). Packages and source builds install them; the prebuilt binaries do not. Changed A persistent, live-updating area below the conversation keeps…

Read full notes
Added
  • Man pages for offline reference: man hax for usage, plus hax-config(5), hax-sessions(5), and hax-providers(7). Packages and source builds install them; the prebuilt binaries do not.
Changed
  • A persistent, live-updating area below the conversation keeps the spinner, elapsed time, and status visible while hax works, even as answers stream and tools run. Pause requests show up immediately, and activity labels change without flickering.
  • Compaction can now recover conversations that already exceed the context limit. Both /compact and automatic compaction can summarize a shortened copy, sacrificing older detail first when the full conversation will not fit. With automatic compaction enabled, hax tries to recover from context-overflow errors and continue, even when the server's context size is unknown.
  • Automatic compaction accounts for new tool output and your next message, and leaves room for the summary on small context windows. It runs only when the conversation continues, avoiding unnecessary summaries after a finished reply. Repeated failures suspend automatic compaction instead of retrying indefinitely; one-shot runs now report failures on stderr.
  • Esc lets a compaction whose summary has started finish before pausing; a second Esc cancels it. If compaction ran for a message you just sent, pausing returns that message to the prompt unsent. In one-shot mode, SIGUSR1 likewise lets compaction finish, or pauses immediately if the model has not started answering.
  • Prompt polish: slash-command hints wait until you pause typing, pasted or edited prompts no longer leave empty rows from surrounding whitespace, and quitting removes the empty prompt. Prompt indentation is preserved; whitespace-only input is treated as empty.
  • /provider and its completion offer openai-compatible and anthropic-compatible only once their base URL is configured.
  • Subagent guidance now always explains --preset <name>, so the model need not discover how to use a preset you request by name, even when none of your presets has a description.
  • The llama.cpp provider now defaults to port 9931, matching llama-server since v0.7.0. For an older server, set HAX_LLAMACPP_PORT=8080 or providers.llamacpp.port.

Thursday, October 15Oct 15, 2026

Release v0.6.1 source ↗

Hax v0.6.1

Added Releases now include a prebuilt macOS binary for Apple Silicon. It needs only libraries that ship with macOS, so it runs without Homebrew. Changed The prebuilt Linux binaries are a quarter of their former size, about 2 MB, by bundling a libcurl built…

Read full notes
Added
  • Releases now include a prebuilt macOS binary for Apple Silicon. It needs only libraries that ship with macOS, so it runs without Homebrew.
Changed
  • The prebuilt Linux binaries are a quarter of their former size, about 2 MB, by bundling a libcurl built with only what hax needs.
Fixed
  • OpenAI and Codex models no longer have to fill in every optional tool parameter. GPT-6 models could hang or run unrequested commands, and had to set a bash timeout on every call, often far above the two-minute default after which long commands move to the background.
  • The prebuilt Linux binaries connect over HTTPS on openSUSE and other distributions that keep their CA bundle somewhere other than /etc/ssl/certs/ca-certificates.crt, instead of failing every request with "Problem with the SSL CA cert".

Friday, October 9Oct 9, 2026

Release v0.6.0 source ↗

Hax v0.6.0

Added DeepSeek provider (deepseek): set DEEPSEEK_API_KEY; /usage shows the account balance. See docs/providers.md for pricing and privacy caveats. Shell-like Tab completion for / commands and their arguments, including model ids and config keys and values.…

Read full notes
Added
  • DeepSeek provider (deepseek): set DEEPSEEK_API_KEY; /usage shows the account balance. See docs/providers.md for pricing and privacy caveats.
  • Shell-like Tab completion for / commands and their arguments, including model ids and config keys and values. Press Tab again to list matches; a dim hint shows the next argument.
  • /provider <id>, /model <id>, and /effort <level> switch directly without a picker. /model <id> also works when the provider cannot list models; /provider <id> uses its default model, or leaves it unset until you choose one.
  • Preset shorthand: hax review means hax --preset review; it also works with -p.
  • Built-in pickers support Ctrl-J/Ctrl-K to move the selection and Ctrl-W or Alt-Backspace to delete a query word, matching fzf.
  • reasoning_required provider setting for Chat Completions proxies that require a reasoning field even when empty; auto follows the model catalog.
Changed
  • One-shot runs are now unlimited by default, rather than stopping after 100 model round-trips. max_turns defaults to 0 in both modes; auto is no longer accepted. Set a positive number to keep a limit.
  • Custom providers must now set catalog_id explicitly (for example "catalog_id": "groq") to retain models.dev pricing and context metadata. Local servers and proxies without one never trigger a catalog download. See docs/providers.md.
  • HAX_REASONING_ROUNDTRIP is renamed HAX_OPENAI_REASONING_ROUNDTRIP for consistency with the other openai-compatible environment variables; the old name is no longer read.
  • /session totals survive resume and include undone user turns and retried requests. The report shows tokens per model, undone turns, and inherited fork context separately from the fork's own usage. Resume also restores the last user turn's stats line.
  • Session files are append-only: /undo records the cut instead of truncating the file. Scripts reading sessions should handle the new records described in docs/sessions.md.
  • Prompt history (Up, Ctrl-R) is now scoped to the working directory, beside its session files. The old global ~/.local/state/hax/history is no longer read; prompts from other projects no longer appear in recall.
  • Chat Completions providers replay reasoning by default in the field the server streamed, preserving thinking models' earlier reasoning on custom and local servers, including Ollama. reasoning_roundtrip accepts auto, off, or a field name; on now means auto, not always reasoning_content.
  • /model and /effort briefly wait for catalog refreshes to show pricing and context metadata on a cold cache. Model listings and catalog downloads now use compression.
  • The "enter to continue" hint appears inside the prompt after a pause or interruption; continuing no longer leaves an empty prompt row.
  • Tool headers wrap long arguments instead of dropping them. Collapsed rows preserve suffixes such as line ranges and identify task_wait targets on resume.
  • Collapsed bash previews cover read-only git commands (log, show, diff, status, blame) and tolerate separators such as echo --- between searches.
  • Model guidance favors native tools for ordinary file operations and reserves backgrounding for useful concurrent work rather than an immediate wait.
Fixed
  • DeepSeek models on OpenCode Go and Zen no longer fail mid-task with missing reasoning_content. Models whose catalog entry names a reasoning field now receive it even when empty.
  • Multi-line YAML skill descriptions, including > and | block scalars, are read in full instead of being dropped or cut off.
  • Background task completion notes distinguish "output pending" from "nothing to collect"; task_wait on a collected task returns its final status instead of no such task.
  • Quitting or switching conversations no longer adds a shutdown delay for each running background task. Fast turns no longer wait half a second for the keep-awake helper, and bash commands cancelled just after launch respond to SIGTERM without waiting for SIGKILL.
  • Credential updates preserve auth.json symlinks and no longer lose concurrent changes made through different links to the same file.
  • Theme colors are more legible, especially quiet text in light and the rose tint in dark.

Friday, September 4Sep 4, 2026

Release v0.5.0 source ↗

Hax v0.5.0

Added hax --json (implies -p) streams new conversation records as JSONL, followed by a result record with the outcome, final text, cost, and session id. Plain -p output is unchanged, and the session-file schema is now a supported read surface. See…

Read full notes
Added
  • hax --json (implies -p) streams new conversation records as JSONL, followed by a result record with the outcome, final text, cost, and session id. Plain -p output is unchanged, and the session-file schema is now a supported read surface. See docs/sessions.md.
  • A resumed one-shot run no longer requires a prompt: hax --resume=ID -p (or --json) continues from where the conversation stopped.
  • Codex /login now offers a local-browser OAuth flow for organizations that block device login; the device flow remains available for ssh sessions. See docs/providers.md.
  • Provider blocks accept metadata_api to select the /models protocol independently of the request protocol. All user-facing providers now also honor per-provider sort_models and catalog_id settings. See docs/providers.md.
  • extra_headers can override or remove provider defaults and interpolate the stable {session_id} for gateways that route or cache by conversation. See docs/providers.md.
Changed
  • Anthropic-protocol models on OpenCode Zen/Go and anthropic-compatible endpoints now use prompt caching and choose adaptive or budget thinking from model metadata, as first-party Anthropic now does. thinking_mode adds auto (the default) and prefer-adaptive.
  • One-shot runs stop cleanly on signals: SIGINT or SIGTERM interrupts the run with status 130, while SIGUSR1 pauses at the next turn boundary. Completed work remains resumable, --json emits a final result when possible, and a second signal still kills immediately. See docs/usage.md.
  • max_turns now bounds one-shot runs as well as interactive turns. Its default is auto: unlimited interactively and 100 in one-shot mode.
  • Token counts and their k/m config suffixes now use decimal units; byte sizes remain 1024-based. For example, context_limit: "272k" means 272000 tokens.
  • catalog.models overrides now take precedence over live provider metadata and may be scoped by runtime provider id. This allows codex context overrides without changing OpenAI metadata; the model picker shows both the served window and its reported ceiling. See docs/providers.md.
  • Skill discovery now searches .agents/skills from the current directory to the repository root, then ~/.config/hax/skills and ~/.agents/skills; the nearest same-named skill wins. See docs/usage.md.
  • Provider routing and prompt-cache keys now remain stable for a conversation across restarts. OpenRouter sends this id as x-session-id, and /new starts with a fresh id.
  • The first-party openai, anthropic, and openrouter providers pin their protocol along with their endpoint: providers.<id>.api now warns instead of switching the wire. Use model_apis for per-model protocols, or a custom provider.
  • The providers.openrouter.title and providers.openrouter.referer settings and their HAX_OPENROUTER_* aliases are gone; override or remove the attribution headers through providers.openrouter.extra_headers. See docs/providers.md.
Fixed
  • OpenCode Zen and Go now send the required x-opencode-session header; requests without it may fail starting 2026-09-06.
  • Chat Completions streams now retry upstream failures signaled through error or network_error finish reasons and report an error after retries, instead of returning an empty success.
  • Interactively resumed interrupted conversations now show the resume hint and accept empty Enter to continue.
  • OpenCode Go usage-window limits now surface immediately instead of triggering futile retries.
  • The retry indicator shows the active attempt after backoff instead of remaining at "retrying in 1s" while the request is in flight.

Saturday, August 22Aug 22, 2026

Release v0.4.0 source ↗

Hax v0.4.0

Added OpenCode Zen and Go providers (opencode-zen, opencode-go): set OPENCODE_API_KEY, choose a model, and hax selects the API it needs. /usage shows OpenCode Go's subscription limits. See docs/providers.md. /login signs in to ChatGPT for the codex provider…

Read full notes
Added
  • OpenCode Zen and Go providers (opencode-zen, opencode-go): set OPENCODE_API_KEY, choose a model, and hax selects the API it needs. /usage shows OpenCode Go's subscription limits. See docs/providers.md.
  • /login signs in to ChatGPT for the codex provider and keeps the token refreshed, so the codex CLI is no longer required. Existing codex CLI credentials remain a read-only fallback. See docs/providers.md.
  • llama.cpp multi-model router support: /model shows the server catalog and load state, selecting an idle model warms it in the background, and hax never loads a model you did not select.
  • Custom gateways can route different models through their required APIs. Provider blocks also accept extra_body and extra_headers for documented gateway features such as routing rules, service tiers, and additional credentials. See docs/providers.md.
  • The transcript records the provider, model, and reasoning effort used for each turn, plus a different model or OpenRouter endpoint reported by the response.
  • FreeBSD and OpenBSD can now build from source, and Arch Linux users can install the hax AUR package. Stable releases update both the AUR package and Homebrew tap automatically.
Changed
  • Breaking: provider settings now belong to providers.<id> blocks and no longer leak between endpoints. Several keys and environment variables changed scope; users with advanced provider configuration should revisit docs/providers.md and docs/configuration.md. llama.cpp settings now live under the dot-free providers.llamacpp config block; the user-facing llama.cpp selection remains accepted. Auto-selection tries the built-in providers before compatible and custom providers.
  • /model now uses a version-aware order by default: model families stay together and newer versions appear first. Set sort_models to off to preserve server order.
  • Only presets with a description are offered to the model as subagent roles. Favorite-only presets remain user shortcuts instead of inviting unrequested delegation based on a name alone.
  • /provider shows human-readable display names while keeping the selectable id visible. Unknown or inapplicable provider settings now warn instead of being silently ignored, and /config keeps provider settings out of its general picker.
  • Reasoning effort now applies to Anthropic-compatible models on custom gateways unless an explicit thinking_mode overrides it.
  • Config updates made by hax preserve JSON numbers and booleans instead of rewriting them as strings.
Fixed
  • Interrupted and failed responses no longer carry unfinished reasoning into the next request. An interrupt before any answer text or tool call leaves the conversation unchanged, while a stream that ends unexpectedly is retried automatically from a clean attempt.
  • Reasoning now continues correctly across turns for affected Kimi, GLM, DeepSeek, and MiniMax models on OpenCode, and OpenAI, Gemini, Kimi, and MiniMax models on OpenRouter.
  • Completed tool calls whose arguments arrive all at once, including Grok on OpenCode Go, no longer run with empty arguments.
  • Markdown headings, multi-part reasoning summaries, wrapped styling, and consecutive reasoning blocks render consistently in both the live and history views.
  • Transcript, history, editor, and file-picker views preserve non-ASCII text and no longer expose terminal escape sequences when used with a plain pager or without a configured locale.
  • HTTP traces redact credentials found in request and error bodies, including values loaded from environment variables for provider headers.
  • Keyless custom providers with a configured URL are selectable even when they do not expose a model-list endpoint.
  • Custom prompt caching defaults to the same 1h TTL as built-in providers; invalid cache_ttl values now warn and fall back safely.
  • Release-tarball builds no longer pick up the version of an unrelated enclosing Git repository.

Wednesday, August 12Aug 12, 2026

Release v0.3.0 source ↗

Hax v0.3.0

Added Installable via the oleksandrchekhovskyi/hax Homebrew tap. Each stable release points the formula at the published source tarball automatically. make install and make symlink complete the from-source flow. scripts/install_deps.sh now defaults to the full…

Read full notes
Added
  • Installable via the oleksandrchekhovskyi/hax Homebrew tap. Each stable release points the formula at the published source tarball automatically.
  • make install and make symlink complete the from-source flow. scripts/install_deps.sh now defaults to the full desktop set (build deps plus fzf), takes ci for the bare set, and supports Fedora/RHEL and openSUSE.
  • /session shows the resolved context window before any request has reported usage (? / 256k), so the limit is visible up front.
Changed
  • The task_kill tool is merged into task_wait: a kill argument stops the background task and returns its final output in the same call — immediately, or after timeout_seconds to give the task a last window to finish on its own. Stopping a task and collecting its output no longer takes two model round trips.
  • Compiled-in default model names are gone. Defaults now come only from live state (llama.cpp server discovery, or the model Codex mirrors from ~/.codex/config.toml), so shipped binaries no longer park first-time users on a stale or expensive tier. Without a default, pick one with /model or --model.
  • An unset $VISUAL/$EDITOR falls back to the first of editor/nano/vim/vi on PATH, and an unset $PAGER to less -R or more, instead of assuming vi and less. A configured value that does not resolve is reported as an error rather than failing at spawn.
  • --help wraps at the terminal width the same way /help does, so it no longer overflows narrow terminals.
Fixed
  • /new and /resume now stop running background tasks and record each task's final state in the conversation being left, as quitting always did. Completed work no longer announces itself into a conversation that never started it, and task ids restart at t1 with each fresh conversation.
  • The parked "working..." spinner no longer blinks off and on around every silent tool call (reads, quiet bash). Erase, cluster text, and repark now land as one frame.

Saturday, August 8Aug 8, 2026

Release v0.2.0 source ↗

Hax v0.2.0

Added Releases now include fully static Linux binaries for x86_64 and aarch64 with a SHA256SUMS file. Each tarball contains the binary as hax, ready to extract into PATH; it runs on any distribution with no dependencies. The system TLS certificate store is…

Read full notes
Added
  • Releases now include fully static Linux binaries for x86_64 and aarch64 with a SHA256SUMS file. Each tarball contains the binary as hax, ready to extract into PATH; it runs on any distribution with no dependencies.
  • The system TLS certificate store is located automatically (override with the standard CURL_CA_BUNDLE, SSL_CERT_FILE, or SSL_CERT_DIR environment variable), so HTTPS works even when the binary was built for a different distribution. Certificate errors on systems with no CA store now say how to fix them.
Changed
  • Unified diffs for write/edit results are computed by an in-tree diff implementation instead of shelling out to diff, so diffutils is no longer a runtime dependency and the write and edit tools work on minimal systems where diff is absent.

Friday, August 7Aug 7, 2026

Release v0.1.0 source ↗

Hax v0.1.0

Initial public release.

Read full notes

Initial public release.