Let an agent climb your metric.

Hillclimb tests one idea at a time and keeps only the gains that hold up on data the agent never sees.

The Hillclimb dashboard after the demo run: dev score 55.94 to 1.04, held-out score 49.74 to 2.35, 10 experiments in 1.9 minutes, and a step chart of the best score falling over the experiments.

Every idea is measured. Only real gains are kept.

Each attempt is scored on a clean checkout. A change ships only if it beats the best by more than the noise.

02040600123456789#1 accepted: dev 13.06, held-out 18.59#2 rejected: dev 41.79#3 accepted: dev 9.04, held-out 12.55#4 rejected: dev 12.54#5 accepted: dev 6.29, held-out 10.16#7 rejected: dev 5.82, held-out 12.60#7 blocked#6 accepted: dev 1.42, held-out 2.49#8 rejected: dev 6.11#9 accepted: dev 1.04, held-out 2.35dev 1.04held-out 2.35dev 55.94held-out 49.7402040600369#1 accepted: dev 13.06, held-out 18.59#2 rejected: dev 41.79#3 accepted: dev 9.04, held-out 12.55#4 rejected: dev 12.54#5 accepted: dev 6.29, held-out 10.16#7 rejected: dev 5.82, held-out 12.60#6 accepted: dev 1.42, held-out 2.49#8 rejected: dev 6.11#9 accepted: dev 1.04, held-out 2.35dev 1.04held-out 2.35dev 55.94held-out 49.74
Best dev score Held-out score of that best Rejected

A journal the next idea learns from.

Every hypothesis, score and reason for rejection goes into the next prompt. No idea is tried twice.

#HypothesisDevOutcome
  1. 1Replace the 7-day mean/stdev rumination z-score with a 14-day median/MAD baseline that…13.06Kept
  2. 2Subtract the herd-wide median rumination deviation from its own 7-day baseline today from…41.79Conflicted with a newer win
  3. 3Add 0.6 times yesterday's multi-signal score (computed from history before yesterday) to…9.04Kept
  4. 4Veto the risk score (return -1) on any day when activity is above the animal's own 14-day…12.54Not better than the best
  5. 5Compute each animal's median/MAD baseline from days 3–16 back, skipping the most recent 2…6.29Kept
  6. 6Subtract the herd-wide median of today's per-animal multi-signal score from each animal's…1.42Kept
  7. 7Add 0.35 times the multi-signal score from two days ago to the existing today +…5.82Blocked by held-out
  8. 8Weight activity surges (activity above the animal's baseline, a sign of oestrus) at 2.0…6.11Not better than the best
  9. 9Widen each animal's median/MAD baseline window from 14 to 21 days (still skipping the…1.04Kept
  10. 10Divide each animal's herd-median-adjusted score by the herd's robust day-wide spread of…–Agent reverted its own edit

It catches wins that don’t generalize.

Experiment 7 improved the score the agent could see. On a farm it never saw, it made things worse, so Hillclimb blocked it.

Experiment 7Add 0.35 times the multi-signal score from two days ago to the existing today + 0.6×yesterday sum

Dev set visible to the agent

6.29 → 5.82

Better

Held-out set a second farm, never shown

10.16 → 12.60

Worse, blocked

What the agent was told next: not kept after validation (details withheld)

−95%

Held-out false alarms, 49.74 → 2.35, in a synthetic herd-alert demo.

10

Experiments by Claude Sonnet in that demo. 5 were kept.

1.9 min

Wall-clock time for the whole demo run, with two workers.

Bring a command that prints a score.

Hillclimb uses your logged-in Claude Code, so you don’t need an API key. Full quickstart

$ uv sync
$ uv run hillclimb init --metric "python3 eval.py"
$ uv run hillclimb run