Articles

How to keep an analyst agent from drifting without losing the details

· First published on LinkedIn

Every requirement in our model starts as a source: a document, a bug report, an incident, an idea. Someone has to read it and decide what it changes in the system. That reader is an analyst, and with agents the analyst is a language model.

A single language model reading a source has a habit people share: it fills the gaps. A bug report says the payment form fails for some cards. The analysis comes back with a retry policy, a new error message and a timeout nobody asked for. Each addition sounds reasonable. Together they put into the model things the source never said, and the next coder implements them faithfully. Just as often it does the opposite and quietly drops the point that mattered, and nobody notices until the feature ships without it.

There are three common ways to guard against this:

  • trust one analyst, or
  • let a person review every analysis, or
  • have more than one analyst read the source independently, and require them to agree.

We chose the third. Analysts read the same source without seeing each other’s work, and by design on different language models, so that they do not share the same blind spots. A further pass reconciles their readings, and a checker compares the result with the source point by point. Where the readings agree, the change goes into the model. Where they do not, the disagreement escalates to the analysis coordinator, the role that owns the analysis queue. It can send the source back for another round, hand it to a different analyst, or put the question to a person. A person decides only what the agents could not settle.

To make “point by point” mechanical rather than a matter of taste, the source is numbered before anyone reads it: facts, expected behaviour and acceptance, F1, E1, A1. An analysis has to answer every number: covered, deferred or rejected, with a reason. A missing answer is refused by code, not by a language model: “no entry for point E3”. A claim that answers no number is refused too, and the refusal reads like a good editor’s note: “the rule that numbers of removed points are never reused is not in the source.”

This is an old idea. The RAND Corporation built the Delphi method on it in the 1950s: experts answer independently, see each other’s answers anonymously and answer again, and the group converges on what holds up. Research on language models debating a question points the same way: a model that has to defend its claim to another model invents less.

We learned it the hard way. At one point we simplified the analysis and removed the agreement step to save time and money. The quality of what entered the model dropped at once: requirements grew details nobody had asked for, and the coders built them. We put the agreement back.

The price is plain. Two readings cost more than one, and a disagreement costs another round. Analysis is one of the largest lines in our bill for language models. We pay it at the door, because a wrong requirement costs more later: every coder, tester and deployment after it works towards the wrong thing.

The next post steps back from our own pipeline to the whole field: a map of agent tools by what they know about the system and how far they go alone.

Two readings, one source. A source with numbered points, two independent readings by different LLMs, and the result point by point: two points agreed and enter the model, one disagreement is escalated to the coordinator, and an added retry rule is refused as not in the source.