Open-Source Tool That Lets Coding Agents Work While You Sleep
Let AI coding agents improve your codebase while you sleep. Open source gnhf automates with Git discipline.
Recently, I discovered a particularly interesting open-source project called gnhf — short for “good night, have fun”.
The name is very evocative, and it does something genuinely cool: it lets your AI coding assistant continuously improve your codebase while you sleep, all while following strict Git discipline.
Before going to bed, you simply give gnhf a goal — such as “add tests to this module,” “clean up duplicate logic,” or “reduce code complexity” — and then go to sleep peacefully.
When you wake up the next morning, you’ll find a dedicated branch filled with clean, high-quality work and detailed execution logs. It feels like having a diligent development partner silently working while you rest.
Project Overview
gnhf is an orchestrator in the style of ralph and autoresearch. It allows your coding agent to keep running while you sleep.



