#6262nd of 197 in Coding agents and AI editors

gnhf

Overnight loop that runs coding agent CLIs, one committed change per iteration

Stars
4.3k
License
MIT
Last commit
Nov 2026
Last release
Nov 2026
Language
TypeScript
Stars, last 29 weeks+3,709
21 Apr 2026: 566 stars28 Apr 2026: 1,094 stars5 May 2026: 1,408 stars12 May 2026: 1,659 stars19 May 2026: 1,697 stars26 May 2026: 1,803 stars2 Jun 2026: 1,833 stars9 Jun 2026: 1,971 stars16 Jun 2026: 2,072 stars23 Jun 2026: 2,293 stars30 Jun 2026: 2,662 stars7 Jul 2026: 3,020 stars14 Jul 2026: 3,164 stars21 Jul 2026: 3,294 stars28 Jul 2026: 3,410 stars4 Aug 2026: 3,525 stars11 Aug 2026: 3,600 stars18 Aug 2026: 3,685 stars25 Aug 2026: 3,744 stars1 Sept 2026: 3,856 stars8 Sept 2026: 3,938 stars15 Sept 2026: 3,996 stars22 Sept 2026: 4,042 stars29 Sept 2026: 4,120 stars6 Oct 2026: 4,151 stars13 Oct 2026: 4,175 stars20 Oct 2026: 4,202 stars27 Oct 2026: 4,228 stars3 Nov 2026: 4,249 stars10 Nov 2026: 4,275 stars

566 on 21 Apr 20264,275 on 10 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

gnhf is a Node CLI that repeatedly invokes a coding agent (Claude by default, plus other agent CLIs and ACP targets) against a prompt inside a Git repo. Each iteration is committed on success or rolled back with git reset --hard on failure, and a shared notes.md carries context between iterations. Runs stop on caps for iterations, tokens, run time, or a natural-language stop condition.

Who it is for: Developers running unattended coding agents on a Git repo overnight

Strengths

  • Per-iteration unsigned commits and rollback on failure make each change easy to cherry-pick or revert
  • --worktree runs several agents on one repo in isolated worktrees and branches
  • Waits out Claude usage-limit windows and resumes; caps via --max-iterations, --max-tokens, --max-run-time
  • Resumes from an existing gnhf/ branch; run metadata stays in .gnhf/runs and is ignored locally

Weaknesses

  • Requires a Git repository with a clean working tree to start
  • Supplies no model; needs a separate agent CLI and its credentials or subscription
  • README says local models report --stop-when conditions unreliably
  • Known Linux issue: no-commit worktrees can be left behind after systemd-inhibit re-exec

What it needs

  • no GPU
  • Needs Node.js, Git, a coding agent CLI (claude, codex, copilot, opencode, pi, cursor) or ACP target
  • Models: claude, codex, copilot, opencode, pi

Quick answers

Is gnhf open source?

Yes. Its code is on GitHub under the MIT license.

Also in Coding agents and AI editors

See all 197
Also in Coding agents and AI editors
RankProjectScore
1claw-codeRust CLI coding agent harness using Anthropic and OpenAI-compatible APIs194.8k stars+739 (+0.4%) in 30 daysMIT97 out of 100
2t3codeDesktop, web and mobile front end for controlling local coding agent CLIs Live demo ↗ (opens in a new tab)56.5k stars+29,061 (+106%) in 30 daysMIT94 out of 100
3codewhaleTerminal coding agent in Rust that works with 40+ model providers41.2k stars+334 (+0.8%) in 30 daysMIT94 out of 100
#4piMinimal terminal coding agent extensible with skills and packages121.4k stars+7,392 (+6.5%) in 30 daysMIT92 out of 100
#5oh-my-openagentTerminal coding agent with multi-model orchestration and git-backed memory70.8k stars+1,253 (+1.8%) in 30 dayscustom license92 out of 100