Debugging with agents
From field data to root cause, with evidence, not stories.
The machines had been calibrated. Then, out in the field, they drifted again.
That kind of problem is the rule, not the exception. Most bugs in machines aren't in the code you're looking at. Symptoms show up in the field. Causes hide in physics, timing and the environment.
Evidence at every step
So debugging becomes a loop: observe, hypothesise, reproduce, measure, fix, verify. It starts with logs and field data, moves to the bench, and ends back in the field, where the symptom first appeared.
Patience at scale
Agents are good at exactly the boring part of debugging. They read thousands of log lines without skimming. They correlate across machines, firmware versions and time. They run experiments overnight on a test bench. And they keep a trail: every hypothesis written down, confirmed or rejected, so nobody has to remember what was already ruled out.
The drift that came back
Back to those machines. Comparing camera data from the field with measurements on the rig revealed the cause: every abrupt start gave a tiny kick, and the kicks added up. No single move was the problem. The sum was. A gentle ramp on every move fixed it, proven on the rig first and only then rolled out.
Make every hypothesis earn its place
- Hypotheses must be testable.
- Reproduce before you fix.
- One change at a time.
- Evidence in the report: plots, logs, numbers.
- A human signs off the root cause.
Beware the first plausible story
Agents jump to the first explanation that sounds right. Demand a reproduction. And watch for symptom fixes, like loosening a threshold: the alarm goes quiet, the cause stays. Keep asking why until you hit physics.
An agent doesn't get tired of the fifth hypothesis. Make it prove each one. Once a fix is proven, it still has to ship, and shipping now needs evidence of its own. That is the next part.
A well-defined job, together with your team?
One feature, driver or migration, delivered in your own repository with tests and documentation. Price after an intake.