Articles

Agents drift. A methodology gives them footholds

· First published on LinkedIn

The previous post stopped at the door: everything that arrives becomes a source, and analysts read it. Behind the door they turn sources into requirements, each with an address, a check and a description of the system as it is now. A fair question is what all those requirements add up to. A thousand well-formed files can still be a pile.

Most memory for agents today is built the other way round. Facts are extracted from conversations and stored as they come, and the structure appears only when someone asks a question: whatever looks most similar to the question comes back. Data engineers have a name for this, schema on read. It is flexible and needs no setup. It also means that nobody can say what the memory does not contain. A similarity search returns the nearest facts, never the missing ones. And agents make it worse, because they drift: each step follows whatever looks closest to the last one, and a few steps later the agent is answering a question nobody asked.

We went the other way, schema on write. Before the first requirement is written, the project has a methodology: a short file that says which topics the system is described in, which kinds of elements each topic holds, and how they may be linked. Modules and their components. User scenarios and their steps. Screens. Data entities. Non-functional requirements. Metrics. Every element lands in a topic and in a place in the tree at the moment it is written. Those places are footholds: wherever an agent is in the model, it knows where it stands and where to look next.

Four effects follow, and they matter even more for agents than for people.

  • Search by place, not by resemblance. An agent that needs the payment rules goes to the payment module and its neighbours. It does not hope that the nearest match is the right one.
  • Gaps become visible. If a module has no screens described, the system knows that it does not know. An analyst gets a question, instead of an agent inventing an answer.
  • Checks become possible. A link the methodology does not allow, an element in the wrong topic, a requirement without a check: a validator finds them, because “right” is written down.
  • Knowledge travels. Two projects with the same methodology read the same way, for a new person and for a new agent. The methodology we ship is translated into five languages, so the model can speak the language of the team.

The price is the one every classification pays. Someone has to choose the topics before the first fact arrives, and a bad choice is expensive to undo. Memory that infers its structure never has this problem, and never has the four effects either.

In scientific terms, a methodology describes the ontology of the project’s domain: which kinds of things exist in it and how they may relate to each other. Agents get that ontology before the first fact arrives, not after.

That sounds abstract, so the next post will show what it changes for four very different teams.

A pile, or shelves. On the left, similar cards lie in a pile and a question about payment retries finds three similar answers, none right. On the right, the same facts sit on labelled shelves, the answer is found by place, and an empty Metrics shelf shows a gap.