Home
Blog

How to test an AI system before it goes live

By Christian · 27 October 2026

A demo shows an AI system working on the examples somebody chose. Testing is about the ones nobody chose: the email that asks three things, the invoice photographed on a ute bonnet, the caller who wants something the system was never meant to handle.

Before anything I build goes live, it's tested on the business's own past work. Here's what that involves, and what to ask for whoever builds yours.

Decide what "good" means before anything is built

One of the most common reasons an AI system disappoints is that nobody wrote down what it was meant to achieve. "It helps with emails" can't be tested. This can: "drafts a reply to every booking change request that staff can send without editing, and never confirms a date the calendar shows as taken."

Write down three things before the build starts:

That list becomes the pass mark. If it isn't agreed up front, "good enough" ends up meaning whatever the demo happened to show.

Build a test set from real past cases

Pull real work from the last few months: enquiries, invoices, call notes, the questions staff were asked. For each one, write down the right answer before the system sees it. Then make sure the set includes:

Test the pieces, then the whole job

Test each step on its own first. Does it read the order number correctly? Does the lookup find the right customer? Then test the steps together, because a step that works alone can still pass the next one something in the wrong shape. Then run whole jobs end to end: a real case in, a finished result out, compared with what the business actually did.

Test what happens when something breaks

Every system depends on others: the accounts package, the calendar, the email server, the AI model itself. Sooner or later one of them will be slow, return an error or change the way it lays out its data. Before going live, make those things happen on purpose and watch what the system does.

The right behaviour is to stop and tell someone, not to guess or half-finish the job. And running the same step twice, after a retry, shouldn't send two emails or place two orders.

What counts as good enough?

No AI system is right every time, and neither is a busy person at the end of a long day. Measure it against how the work goes now, not against perfection. I'd call a system ready when three things are true:

  1. The everyday cases come out right.
  2. The costly mistakes on the "never" list don't happen at all.
  3. Whatever it isn't sure about goes to a person instead of being guessed.

Not every mistake is equal. A slightly stiff reply is fine. A wrong price isn't. (That's the line drawn in what AI should decide on its own, and what it shouldn't.) It also matters that the system is sure of itself only when it's right. One that's confidently wrong is harder to catch than one that says it isn't sure.

Who does the checking depends on the question. Clear-cut things, like whether an invoice number was read correctly, can be checked automatically across hundreds of cases. AI can help grade larger batches of answers, but it has blind spots of its own. Tone, common sense and whether a customer would be happy with the reply still need a person reading a sample.

“Program testing can be used to show the presence of bugs, but never to show their absence!”

— Edsger W. Dijkstra, Notes on Structured Programming (1970)

Run it alongside the current way first

Before the system handles anything on its own, let it run quietly on live work while staff carry on as normal. Nothing it does goes out. At the end of each day, compare what it would have done with what your people did. Then hand it a small share of the real work, with a person approving every result, and widen that only once it holds up.

And make sure it can be switched off. If something goes wrong, you should be able to go back to the old way within minutes, not days. (What happens next is covered in why the first live week matters more than the build.)

Keep the test set

The test set is worth keeping after go-live. Every mistake the system makes becomes a new test case. Every change to the system, and every upgrade of the AI model underneath it, is run against the whole set again before it goes live, so fixing one thing doesn't quietly break another. It belongs to you along with everything else that was built. (See who owns your AI.)

If you're comparing builders, ask each one what they'll test on, what the pass mark is and how you can switch it off. (More in questions to ask an AI builder before you sign.)

Worth watching

Play the video: Evals, error analysis, and better prompts
Evals, error analysis, and better prompts · Hamel Husain on How I AI · 55 min on YouTube. Testing an AI system against real past cases, worked through on a real product. It gets technical in places.

Want to know what a fair test would look like for your own work? The free business audit starts with a few quick questions about how your week runs, and I read every one myself.

Get your free business audit →
← Back to the blog