Bil0000/Hill-Climb

145 stars · Last commit 2026-11-12

Make your coding agent prove "done". Each change is kept only if a locked test or benchmark scores it better. Claude Code and Codex skill.

README preview

<div align="center">

# Hill Climb

**Your coding agent says "done". Hill Climb makes it prove it.**

Give the agent a goal and a command that scores it. The agent works in small steps.
Every step that improves the score is committed. Every other step is undone.
A step that edits the check is refused.

[![tests](https://github.com/Bil0000/Hill-Climb/actions/workflows/test.yml/badge.svg)](https://github.com/Bil0000/Hill-Climb/actions/workflows/test.yml)
![python](https://img.shields.io/badge/python-3.9%2B-blue?style=flat-square)
![deps](https://img.shields.io/badge/dependencies-0-brightgreen?style=flat-square)
![license](https://img.shields.io/badge/license-MIT-green?style=flat-square)

**[Install](#install) · [How it works](#how-it-works) · [Any goal](#any-goal-is-a-number) · [Real runs](#real-runs) · [Why not just ask the agent?](#why-not-just-ask-the-agent)**

<img src="assets/demo.svg" alt="A hill climb: the score goes 4 to 0, a step with no gain is undone, a step that breaks an old feature is caught, and an attempt to edit the test is blocked" width="860">

<sub>Output of <a href="examples/demo.sh"><code>examples/demo.sh</code></a>, with the commands shortened. Run it yourself.</sub>

View full repository on GitHub →