Eight principles for building agents that work on their own, each drawn from logged runs. They apply to any agent: in a codebase, a ticket queue or a business tool.
1 · Tools
A tool’s report has to be true
A tool is the agent’s only account of what happened. It plans on that account, so a report that is wrong sends every decision after it the wrong way, however good the model.
Evidence
A hunting tool that never got out of the agents’ home reported “the sheep got away”: 208 times in 223 over two nights. The agents planned around animals that were never the problem. Fixed, with three smaller tool fixes, the team went from 2 in 6 to 7 and 8 in 10.
Fix the tools first; when fixes stop moving the rate, change the model
Most early failures were in the structure around the model: tools that refused possible actions, misreported, or were missing. Fixing those moved results further than any model change, until they stopped: past that point, what was left was the model’s own judgement.
Evidence
The same small local model went from 3 of 9 runs to 8 of 9 on tool fixes alone; four paid models from 4 of 12 to 12 of 12. Then six more fixes left three of the cheapest model at 15 of 30, and a stronger model on the same tools met the goal 20 of 20.
In practiceWhen an agent fails, look at what its tools did and what it was told first; when fixes stop moving the rate, run a short trial of a stronger model before tuning further.
A true, neutral fact can still steer agents off the goal
What an agent is shown, it acts on. A fact about a side issue becomes a side quest, however neutrally it is worded.
Evidence
Told where they had dropped things on dying, agents went back for them ten times as often at night (1.3 to 15 trips a run); most trips failed, deaths rose, and the team’s success fell from 21 of 30 to 4 of 12.
Agents organise themselves quickly and help when asked, but almost never act on a need they can see. Orders from a peer are treated as suggestions.
Evidence
31 of 35 hand-overs between teammates followed a request. Questions between agents were answered 220 times in 308; instructions were acted on at once 36 times in 201.
Keep the model out of the fast loop, and audit what stands in for it
The world moves on while the model thinks. Code carries out each decision and covers the seconds a decision takes, but code acting without the model also acts without its judgement.
Evidence
9 of 17 deaths in one run came while the model was still deciding; a reflex that steps back while it decides kept health at 20. Another reflex quietly dug out the home’s door about 4,500 times in two weeks before anyone noticed.
Fixing after every run finds the next failure, not how often the system succeeds. Only a set of runs on unchanged code gives a rate, and even ten runs is a wide estimate.
Evidence
Nine runs with a fix after each met the whole goal once, in the last. Five on one unchanged version met it 4 times; sets of ten on later versions scored 7, 8, 6, 7, 4 and 4.
A cheap model that fails often can cost more per result than an expensive one, and a better harness raises a cheap model’s ceiling, up to a point. Compare cost per success and the success rate together, after fixing the tools.
Evidence
Three of the cheapest model met the team goal at about 28¢ a success, half the time; three of a stronger one at about $1 a success, every time. The mixed team’s early wins cost $1.36 to $1.43 each.