What Worked Yesterday
The most dangerous change you can make to an AI agent is the one that fixes something. It corrects the case that was bugging you and, without anyone noticing, breaks three that already worked.
Improving blind
Here's how it goes. An agent has been answering leads for weeks without a problem. One day someone spots a clumsy reply, opens the instructions, adds a line, and tests it with that same message. Now it answers well and everyone's happy. What nobody checks is whether the agent still asks for the phone number before booking, whether it still doesn't invent prices, whether it still hands the conversation to a person when the customer is upset.
In traditional software, teams learned long ago to protect themselves from this with automated tests. With agents, many companies still tweak instructions the way you'd fix a recipe by tasting a single spoonful. It isn't a lack of talent. It's that an agent doesn't fail with a red error on the screen. It fails with a friendly, well-written, wrong answer.
Running eight companies with agents makes one thing clear: every new instruction lives alongside all the ones before it, and sometimes competes with them. On top of that, models change. The provider releases a new version and the behavior shifts even though you didn't touch anything.
What a fixed test is
A fixed test is a list of real cases with the right answer already decided. It isn't a demo or a test conversation someone improvises. It's the messages that actually come in, including the weird ones, and for each one a written definition of what counts as a pass.
The key word is fixed. The test doesn't change every time you change the agent. It's the yardstick you measure everything against: a new prompt, a new model, a new tool, a different provider. If the agent passes before and after, the change is safe. If the score drops, you know exactly which case and why.
If you can't prove the agent still does yesterday's work right, you didn't improve it. You just changed it.
How to build it in a week
You don't need a data team. You need the person who knows the process best and a few hours spread across the week.
- Gather thirty to fifty real cases. Pull them from the agent's history or from the inbox of the team that used to do that job. Nothing made up: made-up cases are always easier than real ones.
- Mix the common with the hard. Roughly half and half. The hard ones are the upset customer, the off-topic question, the message in another language, the one asking for a discount, the one trying to get information they shouldn't receive. The common cases confirm the agent works. The hard ones confirm it doesn't break.
- Define what counts as a pass. Not a model answer to compare word for word, because the right thing can be said many ways. Write down what has to happen: "asks for name and phone number," "doesn't mention prices," "offers to talk to a person." Three or four conditions anyone can check just by reading.
- Mark the red lines. Some conditions weigh more than all the others combined: inventing a price, promising a result, sharing another customer's data. If the agent crosses a red line in a single case, the whole test fails, even if everything else comes out perfect.
- Run the test today, before you change anything. That's your baseline score. Without it, the next score tells nobody anything.
To grade it, at first it's enough to read each answer with the list of conditions next to it. As the test grows, another model can check the simple conditions and leave only the borderline cases to a person. What you never delegate is deciding what counts as a pass.
The rules that keep it alive
A test nobody updates becomes decoration. Three rules keep it useful.
Every mistake that reaches a customer becomes a case. When the agent gets something wrong in production, that message goes into the test with its pass conditions. That way the same mistake can't come back without you seeing it. Over time, the test becomes the memory of everything the company has already learned.
No change goes in without running the test. It doesn't matter if it's a comma in the instructions or a new model. Since the test runs in minutes, it doesn't slow anyone down; it just keeps the change from going out blind. If the score drops, you first understand why and then move on. This includes the provider's updates, which are changes too, even if you didn't ask for them.
The test has an owner. One person answers for it, makes sure the cases still look like what's coming in today, and retires the ones that no longer apply. Customers change, offers change, and an old test may be measuring a business that no longer exists.
What you do on Monday
Pick a single agent, the one that talks to customers the most. Ask whoever knows that process best to gather the cases this week and write the pass conditions. On Friday you run the test and write down the score. From that day on there's just one rule: anyone who wants to change the agent first shows the before score and the after score.
What you gain isn't just a more stable agent. It's the freedom to improve it without fear. Teams without a test end up leaving their agents alone, because every change feels like a gamble. Teams with one can try a new model in an afternoon and know before dinner whether it's worth it.
Trust in an agent doesn't come from it working well today. It comes from being able to prove, every time you touch it, that it still does everything it already knew how to do.
Every week I publish three pieces: building companies, practical philosophy and applied technology.
Join the newsletter to get them.