About this catalogue
This is the catalogue of The Engineering of Confidence, a book in preparation by Vibhor Mahajan. It collects the principles and patterns for building software with AI agents: for designing the system of people, automated builders and reviewers, and rules that I call a software factory.
The catalogue is the short form. Each pattern has a page you can read in two minutes: what it says, when to reach for it, what the factory does, and how well it is supported. The book holds the reasoning, the costs and the evidence in full, and the worked cases in which a decision needs several patterns at once.
How to read a pattern
- The statement is the pattern in a sentence or two.
- Use when names the situation.
- In brief says what the factory does.
- What it costs appears only where the manuscript states a cost or a limit.
- Evidence says how far the claim is supported, and by what.
- Related patterns point sideways. Two patterns marked “in tension” pull against each other, and a case usually shows how to hold both.
How the patterns are classified
By category. Each category is a question a factory’s designer has to answer: what to count, what is wanted, who checks the work, who may decide, and so on.
By stage. Where in the work the pattern applies: framing the mission, discovering what is wanted, building, reviewing, accepting, and learning. Some apply throughout.
By kind. A principle states what holds. A pattern says what to build or do.
By evidence. This label is the one to read first.
- Established. Outside sources bear directly on the claim.
- Inferred. Sources support a mechanism or a neighbouring claim. The step to this pattern is mine.
- Proposed. My own framework or experiments. No outside source yet.
No pattern is marked Established today. Most of what the profession has proved bears on a neighbouring claim, about human testers, clinical trials or safety cases, and the step from there to a software factory is an inference. I would sooner show that than hide it. A pattern moves up when a source that tests its actual claim has been read.
By entry. A full entry is complete on its page. An abridged one gives the statement and the brief from the manuscript. A planned one is named, and its sources are still being read.
What is not done
Three entries are complete. The others are abridged from a manuscript that is still being revised, and their wording may change. Three patterns are planned and carry a statement only. Nothing here should be read as final.
Corrections
If a pattern misstates a source, claims more than its evidence, or is contradicted by your experience, I want to know. The way to send a correction will be stated here when the catalogue is announced.
How to cite
Each pattern page ends with a citation. Cite the page and the date it last changed, since entries are revised.
Rights
© 2026 Vibhor Mahajan. The terms for reuse will be stated here when the catalogue is announced.