Field Guide

/

Improve

Climb the hill automatically

The teams getting the most from agents hill climb. They use evals to find what holds their agents back, improve the harness, and check later sessions to confirm the scores went up. The best of them do it automatically.

Treat your eval scores as the hill. Turn each low score into a harness improvement, such as a fix to code, a skill or a doc, and keep the change only if the next sessions score higher.

The improvement loopEach pass makes the next run better
TracesWhat happened
EvalsHow good it was
FindingWhat to change
FixDoc, skill, hook
Next runsDid it hold?
↺ Then back to traces

The fix only counts once the next sessions show the friction gone.

Turn findings into fixes

Some teams already run versions of this loop. Assembled reviews past sessions on a schedule and proposes updates to its agent instructions.[1] Gorgias routes learnings from failures into a shared repository of plugins that every engineer gets.[2] Clay runs a fuzzer against agent-written code every day.[3]

These teams favor deterministic fixes. A hook runs its rule every time. Advice in a doc depends on an engineer remembering to follow it.

A harness is a set of deterministic software that sits on top of probabilistic models.

Stephen Poletto · Coding Agent Harness Effectiveness

Building the loop

Trigger on what matters

Run checks on deploy, on new issues and when a metric crosses a threshold, so you see findings while they’re fresh.

Prefer hooks to advice

If a tool can enforce a fix, let the tool enforce it. Save written guidance for judgment calls a tool can’t make.

Verify fixes in later sessions

Compare the sessions after a fix with the ones before. If the friction didn’t drop, run the loop again.

In Span

Agents can pull Span’s recommendations into their own session through MCP, so a fix can land as a pull request without anyone copying it over.

payments — zsh~/payments$ claude "fix flaky test"mcp · span.get_harness_health_recs0.4s- setTimeout(retry, 250)+ setTimeout(retry, 250 + jitter())Fix applied · PR #5104 opened~/payments$

TRUSTED BY

PUT MORE BEHIND WHAT WORKS

TRUSTED BY

PUT MORE BEHIND WHAT WORKS

TRUSTED BY

PUT MORE BEHIND WHAT WORKS