#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
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| Rank | Project | Score |
|---|---|---|
| 1 | claw-codeRust CLI coding agent harness using Anthropic and OpenAI-compatible APIs | 97 out of 100 |
| 2 | t3codeDesktop, web and mobile front end for controlling local coding agent CLIs | 94 out of 100 |
| 3 | codewhaleTerminal coding agent in Rust that works with 40+ model providers | 94 out of 100 |
| #4 | piMinimal terminal coding agent extensible with skills and packages | 92 out of 100 |
| #5 | oh-my-openagentTerminal coding agent with multi-model orchestration and git-backed memory | 92 out of 100 |