← all repositories
h5i-dev/h5i

A worktree, a paper trail, and a referee for your AI agents

h5i sandboxes each coding agent in its own Git worktree, records everything it did, and lets multiple agents review each other before anything merges.

★887 stars Rust Coding AssistantsAgents
h5i
Velocity · 7d
+12
★ / day
Trend
↗accelerating
star history

What it does

h5i gives every AI coding agent (Claude Code, Codex) an isolated, sandboxed Git worktree, then versions the prompts, commands, and context steps behind every change as Git objects. You review the diff before it lands on your branch, and the whole audit trail travels with your repo under refs/h5i/* — no SaaS involved. It also compresses noisy tool output (pytest failures only, raw logs recoverable), claiming up to 95% token reduction.

The interesting bit

The multi-agent orchestration is ordinary async code, not YAML soup: hire two agents, have them implement the same task in parallel, cross-review each other, verify in a neutral sandbox, and let a judge pick the smallest passing diff. The audit tooling is unusually honest for this space — h5i audit maturity will tell you your prompts are mediocre, with per-dimension scores.

Key highlights

  • Per-agent sandboxed worktrees: no file, branch, or port clashes; agents run with permissions off inside the box
  • Prompt and context versioning as Git objects, shareable across a team via h5i share
  • PR summaries covering prompt quality, AI/human commit ratio, secret leaks, and prompt injection
  • Orchestration SDK in Rust and Python with parallelism, loops, and conditionals
  • Token-reduction filters derived from rtk and headroom (both Apache-2.0, credited properly)

Caveats

  • The repo description talks up red-teaming and Lean 4 formal verification; the README covers none of that. If those are the features you came for, the docs don’t currently show them.
  • The 95% token-reduction figure is a stated claim, not a benchmark you can inspect from the README.
  • PR posting depends on the gh CLI being present.

Verdict

Worth a look if you’re running fleets of coding agents and need defensible review trails. If you’re a solo dev with one agent and a strong stomach, it’s probably more ceremony than you need.

Frequently asked

What is h5i-dev/h5i?
h5i sandboxes each coding agent in its own Git worktree, records everything it did, and lets multiple agents review each other before anything merges.
Is h5i open source?
Yes — h5i-dev/h5i is open source, released under the Apache-2.0 license.
What language is h5i written in?
h5i-dev/h5i is primarily written in Rust.
How popular is h5i?
h5i-dev/h5i has 887 stars on GitHub and is currently accelerating.
Where can I find h5i?
h5i-dev/h5i is on GitHub at https://github.com/h5i-dev/h5i.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.