The Random Sample
Once an AI agent is working in production, a question comes up that almost nobody asks in time: how do you know it's still doing the job well? Reviewing everything wipes out the savings. Reviewing nothing is driving at night with the headlights off.
There's a middle ground that industry figured out almost a century ago and that almost nobody applies when adopting AI: sampling inspection. In a factory, nobody inspects every part that comes off the line. You pull a few at random, measure them against a fixed standard, and make the call based on that. It's boring, it's cheap, and it works.
Complaints are not a quality system
Most companies judge their agents by what shows up broken. A customer gets upset, someone reports it, the instruction gets fixed, and everyone moves on. It looks like control, but it has a huge bias: you only see the errors that make noise.
The silent errors are different. The agent that answers a lead with information that's correct but lukewarm, without proposing a next step. The summary that leaves out the one detail that mattered. The classification that sends an urgent case to the regular queue. Nobody complains, because nobody knows what was lost. The cost is still there, it just has no name and no date.
In our companies, agents answer leads, organize information, and maintain dashboards that update themselves. Over the years I've learned that the useful question isn't whether something failed, but what's happening in the cases nobody looks at.
Complaints show you the errors that scream. A random sample shows you the ones that stay quiet, and those are usually the most expensive.
How to set up the sample
- Write down what done well means. Before you look at a single case, define three to five yes-or-no questions. For an agent that answers leads, they could be these: Did it answer what the customer asked? Is the information correct? Did it propose a clear next step? Does the tone fit the brand? If a question takes a paragraph to answer, it's badly written.
- Pick at random for real. Not the cases you remember, not yesterday's, not the ones someone forwarded you. Use a mechanical rule: number every case from the week and draw from them, or take one every so many cases. If you do the picking, you pick what you already suspected.
- Set the cadence and the owner. Same day, same person, same format. Ideally someone who knows the customer, not just whoever wrote the instructions, because the author tends to read what they meant to say and not what the agent actually said. Twenty cases reviewed every week are worth more than two hundred reviewed once, on the day there was a scare.
- Log it in a simple spreadsheet. Date, cases reviewed, cases with errors, and the cause of each error. Four columns are enough. What matters isn't the snapshot of one week, it's the line that several weeks in a row trace out.
- Adjust the size based on what you find. If the sample comes back clean several weeks in a row, you can shrink it. If a pattern shows up, you expand it until you understand how big the problem really is.
Three causes, three different fixes
This is the part that turns a review into an improvement. Almost every team fixes every error the same way: they add one more line to the agent's instructions. Over time they end up with a huge document full of patches that contradict each other, and the agent gets worse at what it used to do well.
Every error you find in the sample falls into one of three families, and each family gets fixed in a different place.
Instruction error. The agent did exactly what you asked, but what you asked was incomplete or ambiguous. This one does get fixed in the instructions, and it's worth saving the real case as an example of what's expected.
Information error. The agent reasoned well from bad data. An old price, a policy that changed, a document nobody updated. Touching the instructions here does nothing. It gets fixed at the source, and along the way it gets fixed for everyone who pulls from that source.
Scope error. The case should never have reached the agent. It was an exception, a delicate conversation, something that called for human judgment. It gets fixed at the front door: in the rule that decides which cases go straight to a person.
If your spreadsheet starts showing errors moving from one family to another, you're on the right track. It means you're closing off causes, not patching over symptoms.
The signs that it's working
The first sign is that the sample finds problems before your customers do. If you're still hearing about errors through a complaint, the sample is too small, it's poorly chosen, or the questions don't measure what matters.
The second is that reviewing gets faster. At first, every case raises questions about what counts as done well. As the weeks go by, the criteria settle and the review hour becomes a calm routine.
The third is the most valuable: you start trusting the agent based on evidence, not intuition. That trust is what lets you give it more responsibility without losing sleep, and it's also what warns you in time when you shouldn't hand it over yet.
What you do on Monday
Pick a single agent, the one with the most customer contact. Write down what done well means for it, in four questions. Pull twenty cases from the last week using a mechanical rule and review them in one hour. Note how many failed and which family each error falls into. Put a fixed date on the next review, and don't let that date move.
In the first week you're going to discover something you didn't know. It might be good or it might be uncomfortable, but it will be real. An agent nobody watches isn't automated. It's abandoned.
Every week I publish three pieces: building companies, practical philosophy and applied technology.
Join the newsletter to get them.