Skip to content

H0 v0.1.1 native toolchain

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Dec 01:41
· 204 commits to main since this release
39ae46f

Try the H0 AI engineering demo. Run the original and fixed h0-md binaries, compare their HTML, and follow the H0 source change through AI review and automatic merge.

Download and extract the archive for your OS. The h0 directory contains the native seed compiler, CLI, source and runnable examples. No separate language toolchain is needed. On Linux run ./h0 run examples/calendar.h0 -- 2026. On Windows run .\h0.cmd run examples\calendar.h0 -- 2026. Verify downloads with SHA256SUMS. Both archives are tested after extraction on their target OS.

Native toolchain source refresh: 2026-12-03 r2

The r2 archives retain the native seed compiler and include the corpus JSON escaping and POSIX path fixes from PR56 and PR57. Windows x64 and Linux x64 extraction into paths containing spaces passed calendar check/run, exact TAB roundtrip, and default/explicit corpus checks with 2,116 records and matching decoded-code hashes and lengths.

h0-native-windows-x64-2026-12-03-r2.zip | h0-native-linux-x64-2026-12-03-r2.tar.gz | h0-native-r2-SHA256SUMS.txt

Source commit: 136025592b5df40ff230b6775ff55b956821168d.

Agent quickstart gives exact commands to check, build and run the bundled calendar example on Windows x64 and Linux x64.

Try the standalone H0 tools as well. Each release below includes Linux x64 and Windows x64 binaries, with its implemented behavior documented in the repository README. Sizes below describe the downloadable executable files.

Tool Linux x64 bytes Windows x64 bytes
h0-grep 19290 30720
h0-jq 44951 54272
h0-mcp 47647 49152
h0-md 148316 160256
h0-redis 44811 59392

For all six repositories, download the release catalog with asset URLs, file sizes and GitHub SHA256 digests. Binary size alone does not establish lower total agent token cost or on-device model accuracy.


Local 3B patch-selection pilot

On three patch-selection tasks, Qwen2.5-Coder-3B used about 1.8% fewer input tokens with H0. With a single-letter response, both languages selected the passing patch in 3 of 12 trials. With an explanation and a final letter, H0 scored 2 of 12 and Rust scored 3 of 12. The 48-call desktop pilot rotates all answer positions and reports the full token counts.

Download the fixtures, per-trial results, and replay scripts. The archive also includes the independent native oracle and grader.

SHA-256: 41e68b1ae35e049a72c11ca8b6322bde9afbb9998e4fc6c4e283cce64f6feb98

H0 Tape skill for coding agents

Use the H0 Tape skill to guide native H0 editing, checking and building. From your project, the Agent Skills CLI can install it for Codex and Claude Code:

npx skills add h0lang/h0 --skill h0-tape --agent codex claude-code

With Git and Codex CLI installed, run:

codex plugin marketplace add h0lang/h0 --sparse .claude-plugin --sparse skills
codex plugin add h0@h0lang
codex plugin list --marketplace h0lang

Open a new Codex session and use /skills to find H0 Tape.

For GitHub Copilot CLI, Gemini CLI, and the pinned GitHub CLI install, see the H0 Tape skill release.

Portable Agent Plugins 1.0 package: H0 Tape plugin ZIP.

ZIP SHA-256: 9ca3a19194530158bf9050388a8e9a9a56c07e1a5b678af8ed46793d621a34fb

With Git and Claude Code installed, you can install the skill through the Project H0 marketplace.

claude plugin marketplace add h0lang/h0 --sparse .claude-plugin skills
claude plugin install h0@h0lang

Open Claude Code in your project and invoke /h0:h0-tape with the file or change you want to work on.

For Claude's custom skill upload, use the H0 Tape skill ZIP. The archive contains the instructions and Apache 2.0 license.

ZIP SHA-256: 2cf8dd19987185413ef35568f4e34761dfa9cddd791762f27f5079ce5cd35885

Run the H0 compiler in Docker

If Docker is available, run the bundled calendar with the public Linux x64 compiler image:

docker run --rm --platform linux/amd64 --network none ghcr.io/h0lang/h0-compiler:0.1.1-20261203-r2 run /opt/h0/examples/calendar.h0 -- 2026

The first output line contains 2026-01. To build your own Linux x64 program from a Linux shell, mount your source directory at /work and run as your local user so the output is writable:

docker run --rm --platform linux/amd64 --network none --user "$(id -u):$(id -g)" \
  --mount "type=bind,src=$PWD,dst=/work" \
  ghcr.io/h0lang/h0-compiler:0.1.1-20261203-r2 build calendar.h0 -o calendar

Replace calendar.h0 with your source file. For a pinned pull, use ghcr.io/h0lang/h0-compiler@sha256:c763e018a2ddb7e9d59fd8aaa7b123eb623626c1c7a4e631f0e596a2e584e97e. The r2 image includes the corrected native r2 source bundle. All 486 source files were verified against its Git commit. CI and an independent anonymous digest pull checked non-root execution, corpus JSON escaping, the bundled calendar and a host-runnable build. Build and publish verification

Ecosystem update - 2026-12-02

As of 2026-12-02T08:33:21.279985+00:00, the latest h0-jq release is v0.2.0: Linux x64, 348,122 bytes and Windows x64, 345,088 bytes. Verify those downloads with its official SHA256SUMS.txt.

For all six repositories, use the dated current-release facts in JSON or Markdown. These files include the observed release tags, asset URLs, exact file sizes and checksum sources.

The original tool table and h0-release-catalog.json above remain the v0.1.1 ecosystem snapshot captured at 2026-12-02T04:43:24.495224+00:00. They are preserved as historical records. The h0 compiler release itself remains v0.1.1; the tools have independent release versions. Downloaded file sizes do not measure runtime memory, total agent token cost or small-model accuracy.

h0-jq 0.2.1 patch release

The current h0-jq release fixes piped standard input with -Rs. The Windows and Linux x64 downloads were checked against the release SHA-256 manifest and tested with piped and mixed file input. The dated tool bundle and size tables below describe their respective snapshots.

Install H0 with Scoop on Windows x64

With Scoop installed, add the Project H0 bucket and install the compiler.

scoop bucket add h0 https://github.com/h0lang/scoop-h0
scoop install h0/h0
h0 --help

The same bucket also contains h0-grep, h0-jq, h0-mcp, h0-md and h0-redis. For example, install h0-jq with scoop install h0/h0-jq. Windows CI installed all six packages from the public bucket and used the compiler to check, build and run the calendar example. Scoop verification run

Download all five standalone tools

Pin tool versions with aqua. The project-local configuration installs the five tools on Linux or Windows x64 and verifies each executable against its pinned SHA-256 digest.

Try the tool bundle with a CI report. The quickstart verifies the archive, extracts a failed job and its error line, and generates HTML on Linux x64 or Windows x64. It also links setup for the two local servers.

The r5 tool bundle includes h0-grep v0.2.0, h0-jq v0.2.3, h0-mcp v0.1.1, h0-md v0.1.2 and h0-redis v0.2.0. Extract the archive to run the tools directly. Each archive includes the upstream licenses and a manifest with the original release links and SHA-256 for every executable. Only h0-jq changed from r4. Its --version output still reports 0.2.2; the bundled executable hashes match the published v0.2.3 assets.

All five extracted tools passed functional checks on Windows x64 and Linux x64 under WSL. The h0-jq checks covered seven object/array keys cases, sorted object keys, raw stdin with LF and CRLF line endings, input without a trailing newline, 131,073-byte stdin and Unicode string length. The H0 compiler has its own downloads above.

Install the five tools with mise

With mise 2026.12.1 or later on Linux x64 or Windows x64, save the pinned configuration as mise.toml in a fresh directory. Review the configuration, then run:

mise trust mise.toml
mise install
mise exec -- h0-grep --version

The configuration installs h0-grep, h0-jq, h0-mcp, h0-md, and h0-redis from their published releases. Each download is pinned to a version and SHA-256 digest. All five tools were installed and tested on both platforms.

Install the five tools on Debian or Ubuntu x64

Download the H0 tools .deb and its SHA-256 checksum file to the same directory.

sha256sum -c h0-tools-deb-r5-SHA256SUMS.txt
sudo apt install ./h0-tools-linux-amd64-2026-12-03-r5.deb
printf '%s\n' alpha beta | h0-jq -Rsc '.'

Package version 0.1.1+20261203.5 updates only h0-jq to release v0.2.3. Its --version output still reports 0.2.2; the installed binary matches the official v0.2.3 SHA-256. The other tools retain the r4 versions: h0-grep v0.1.1, h0-mcp v0.1.1, h0-md v0.1.2 and h0-redis v0.1.1. This .deb inventory differs from the portable bundle above.

The upgrade from r4 was tested with apt on fresh Debian 13 and Ubuntu 24.04 x64 root filesystems under WSL. Both passed dpkg -V, all five tools executed inside each chroot, sorted object keys, array keys, Unicode and stdin regressions. Two package builds produced identical bytes. Remove the tools with sudo apt remove h0-tools.

Run the five tools in Docker on Linux amd64

Pull the r5 image from the public container registry. It updates h0-jq to release v0.2.3. The executable's legacy version banner still prints 0.2.2; the released checksum identifies the payload. The other image tools retain their r4 versions: h0-grep v0.1.1, h0-mcp v0.1.1, h0-md v0.1.2 and h0-redis v0.1.1. This inventory differs from the portable bundle above.

docker pull ghcr.io/h0lang/h0-tools:0.1.1-20261203-r5
printf '%s\n' alpha beta | docker run --rm -i --network none ghcr.io/h0lang/h0-tools:0.1.1-20261203-r5 h0-jq -Rsc '.'

The final command returns both input lines as one JSON string. Pin the exact image with ghcr.io/h0lang/h0-tools@sha256:35a016422a58168a883e607a9c79291fdf225b647ac7c65c92956cb178f1f35f. All five tools and seven object/array keys cases passed the publish workflow checks. An anonymous registry download independently verified the image index, configuration, layers and every native executable against the packaged inventory. The image runs as user 65532:65532.

For offline use, download the r5 Docker image archive and its SHA-256 checksum file to the same directory:

sha256sum -c h0-tools-docker-r5-SHA256SUMS.txt
docker load --input h0-tools-docker-linux-amd64-2026-12-03-r5.tar.gz
printf '%s\n' alpha beta | docker run --rm -i --pull never --network none ghcr.io/h0lang/h0-tools:0.1.1-20261203-r5 h0-jq -Rsc '.'

The archive comes from the publish workflow's actual Docker save artifact, which its publish job loaded with Docker before pushing. Its image configuration and compressed layers match the published Linux amd64 image; uncompressed layer hashes match the configuration. All five tools and their licenses are included.