Kief Studio

AI Quality Control: Quality Gates That Stop Bad AI Output Before a Customer Sees It

Automate

  • Published
  • Updated
  • 12 min read
A person reviewing AI output on a monitor sorted into pass, hold and block columns, showing AI quality control in practice

TL;DR: AI quality control starts with a quality gate, an automatic check that every AI output has to pass before it reaches a customer, a ledger or a website. Good gates check format, facts against a source, tone, banned claims and personal data, send uncertain cases to a person, and get measured every week so you know your real error rate.

AI quality control is the unglamorous part of AI that decides whether the glamorous part survives. The model writes a reply in seconds. The question every owner should ask is simpler: what checks that output before a customer reads it?

If the honest answer is "whoever happens to glance at it," you have a quality problem waiting. The fix is not to stop using AI. It is AI quality control: a gate in front of it, the way you would never let a new hire send their first hundred emails unread.

What is an AI quality gate?

A quality gate is the automated checkpoint at the center of AI quality control, sitting between the AI and the outside world. The output arrives, the gate scores it against rules you wrote down ahead of time, and only output that passes moves on. Anything that fails is held, fixed or sent to a person. Our knowledge base page on AI quality gates puts it plainly: it is a hard block, not a suggestion.

OWASP's 2025 list of the top risks for AI applications includes "Improper Output Handling," which it defines as "insufficient validation, sanitization, and handling of the outputs generated by large language models before they are passed downstream to other components and systems." (OWASP, LLM05:2025)

The model is a fast writer with no idea which of its sentences are true. AI quality control is the editor. NIST's Generative AI Profile names the main failure it catches calls it confabulation: "the production of confidently stated but erroneous or false content (known colloquially as 'hallucinations' or 'fabrications') by which users may be misled or deceived." (NIST AI 600-1, July 2024) Qurtoo, our free prompt engineering resource, keeps a plain glossary entry on hallucination (opens in a new tab) to share with your team.

What happens when AI output goes out unchecked?

Three well documented cases share a pattern: a confident answer and no AI quality control checking it.

The airline chatbot. In February 2024, British Columbia's Civil Resolution Tribunal ruled against Air Canada after its website chatbot told a grieving customer he could claim a bereavement fare after he traveled. The airline's actual policy said otherwise, and the tribunal rejected the argument that the chatbot was responsible for its own words: "It should be obvious to Air Canada that it is responsible for all the information on its website. It makes no difference whether the information comes from a static page or a chatbot." (Moffatt v. Air Canada, 2024 BCCRT 149)

The award was C$650.88 in damages, plus C$36.14 in interest and C$125 in fees. (The Guardian, February 2024) The tribunal member's key line was simple: "I find Air Canada did not take reasonable care to ensure its chatbot was accurate." (CBC News, February 2024)

A small sum, and a clear lesson for AI quality control: your chatbot speaks for your business.

The legal brief. In June 2023, a federal judge in Manhattan fined two lawyers and their firm $5,000 after a brief cited six court cases that ChatGPT had invented. The judge wrote that "there is nothing inherently improper about using a reliable artificial intelligence tool for assistance," but that "existing rules impose a gatekeeping role on attorneys to ensure the accuracy of their filings." (Associated Press, June 2023)

A gatekeeping role is exactly what AI quality control gives you.

The newspaper insert. In May 2025, the Chicago Sun-Times ran a licensed summer section that included an AI-made reading list. The paper's parent company said the list "recommended books that do not exist." (NBC News, May 2025) It came from an outside syndicator, so apply AI quality control to what vendors hand you too. (NPR, May 2025)

What should an AI quality control gate check?

Five AI quality control checks cover most of what a small business sends out. You do not need all five on day one, but know which ones you are skipping.

A clipboard checklist with five empty boxes next to a laptop, the five checks of an AI quality control gate
Five AI quality control checks cover most of what a small business sends out.
  1. Format. Is the output the shape it should be? A reply under 150 words, a product description with a price field, an invoice summary with a total that matches the line items. These are cheap, fast checks a script can do with no AI at all.
  2. Facts against a source. Every claim about your prices, hours, policies or products gets compared with one written source of truth, a single document you control. If the output says "returns within 60 days" and your policy says 30, the gate holds it. Air Canada's chatbot is exactly the case this check exists for.
  3. Tone and voice. Does it sound like you, or like a brochure? A tone check scores the text against your voice rules and flags the stock phrases that make readers stop trusting a page.
  4. Banned claims. A short list of words and promises the output may never contain: a medical outcome, a legal conclusion, a discount you do not offer, a competitor's name. A plain list match catches the exact wording, and a person reviews the close calls.
  5. Personal data. The gate looks for things that should never leave the building: Social Security numbers, account numbers, a customer's details showing up in another customer's reply. NIST lists data privacy, including "leakage and unauthorized use, disclosure, or de-anonymization" of personal information, among the risks that generative AI creates or makes worse. (NIST AI 600-1)

The fact check matters most in AI quality control, because people assume a smarter model will make it unnecessary. A peer-reviewed Stanford study of AI legal research tools, products built specifically to answer from real sources, found they "each hallucinate between 17% and 33% of the time." (Magesh et al., Journal of Empirical Legal Studies, 2025) Those tools were tested in 2024 and may do better now. Grounding helps, and you still check.

OWASP's misinformation guidance agrees, recommending tools "to automatically validate key outputs, especially output from high-stakes environments." (OWASP, LLM09:2025)

How do confidence thresholds decide what a person sees?

Every output should land in one of three lanes:

Glass cubes sorting into three lanes, a metaphor for pass, hold and block thresholds in AI quality control
AI quality control puts every output in one of three lanes: pass, hold for a person, or block.
  • Pass. Every check came back clean. It goes out, and it gets logged.
  • Hold. Something is uncertain: a claim the fact check could not match, a tone score near the line, a question the system has not seen before. It waits for a person.
  • Block. A hard rule broke: personal data, a banned claim, a malformed record. It never goes out, and the reason is recorded.

In AI quality control, the threshold is the line between pass and hold, and you set it on purpose. Confidence should come from the checks, not from the model's opinion of itself. A model describes a made-up refund policy in the same calm voice as a real one, which is what NIST means by "confidently stated but erroneous." Confident means every claim matched the source and every rule passed.

Set AI quality control strict at first. A dental office in Shrewsbury using AI to draft appointment reminders might begin by holding anything that mentions insurance, pricing or a clinical instruction, and passing only plain date and time reminders. After a month, if the held items are almost always fine, loosen one rule at a time.

The hold lane needs an owner. One named person, a time of day they check it, and a rule for what happens if they are out. A review queue nobody reads is a gate left open.

How many AI outputs should a person spot-check?

AI quality control gates only catch what you thought to check for. Sampling the output that passed finds the rest. NIST's generative AI profile describes the technique: "sub-sampling a fraction of traffic and manually annotating" it. (NIST AI 600-1)

How big a sample? Medical statistics has a handy rule of three: if you check a number of outputs and find zero errors, the true error rate is, with 95% confidence, below about three divided by the number checked, for samples over 30. (Eypasch et al., BMJ, 1995) The rule goes back to a 1983 paper in JAMA. (Hanley and Lippman-Hand, JAMA, 1983)

In plain numbers:

  • 100 clean checks: your error rate is likely under 3%.
  • 300 clean checks: likely under 1%.
  • 1,000 clean checks: likely under 0.3%.

So if your system sends 500 customer replies a month, reading 75 a week, about 15 a working day, gets you to 300 checked replies in a month. Pick them at random, not the ones that look interesting, or the math stops working.

Zero errors in a sample puts a ceiling on how often they happen, not a promise they never do. For AI quality control on anything touching money or health, check more or hold more.

How do you measure AI quality control and error rates over time?

NIST's AI Risk Management Framework is free and voluntary. Its Measure function covers tools to "analyze, assess, benchmark, and monitor AI risk," and says "AI systems should be tested before their deployment and regularly while in operation." (NIST AI RMF 1.0, January 2023)

For a small business, regularly while in operation can be one page, reviewed weekly. Track five AI quality control numbers:

  1. Pass rate. The share of outputs that cleared every check.
  2. Hold rate. The share sent to a person. If it climbs, something upstream changed.
  3. Overturn rate. How often the reviewer changes or rejects a held item. Near zero for months means the gate may be holding too much.
  4. Sample error rate. Errors found in the random spot-checks of passed output. This is your real quality number.
  5. Escaped errors. Mistakes someone found after the fact, each with a note on why the gate missed it.

In AI quality control, watch the trend, not one week. A model update or a policy change can move these numbers overnight. NIST's profile suggests you "review and verify sources and citations in GAI system outputs during pre-deployment risk measurement and ongoing monitoring activities." (NIST AI 600-1)

My wife Amelia, Kief Studio's co-founder and CEO, wrote a good companion to this on how to audit what AI is actually doing in your business (opens in a new tab).

What should happen when an AI quality gate fails?

A gate either holds something, which is the system working, or lets something bad past, which is the system teaching you. Plan for both.

When a gate holds output, the customer gets a normal "a team member will follow up" message, the item lands in one queue with the reason attached, and the system never retries its way past a broken rule.

When something gets past the gate:

  1. Contain it. Correct the record, contact the customer, and if the same mistake could repeat, pause that one workflow.
  2. Find the gap. Was the source of truth out of date, or was there no check for that kind of claim?
  3. Add the check. Every escaped error should become a new rule or a better source document, so it cannot slip through the same way twice.
  4. Write it down. Date, what went out, who fixed it, what changed. Five lines is enough.

NIST's framework says the same thing more formally: have mechanisms, with responsibilities "assigned and understood, to supersede, disengage, or deactivate AI systems that demonstrate performance or outcomes inconsistent with intended use." (NIST AI RMF 1.0) In plain terms: know who can turn it off, and make that one switch.

If your AI runs as several steps in a row, a researcher, a writer, a checker, put a gate between each step, not only at the end. Our page on multi-agent orchestration explains why: bad output caught at step two does not quietly spoil steps three through ten. I wrote about the 12-step content pipeline we built (opens in a new tab), where automated gates replaced a rubber-stamp review.

What does AI quality control look like for a Central Massachusetts business?

A 12-person HVAC company in Sutton has no "AI quality lead," so AI quality control has to be light enough for one person to own.

HVAC office in a converted brick mill with a tablet of service tickets, AI quality control in Central Massachusetts
For a 12 person HVAC company, AI quality control has to be light enough for one person to own.

Massachusetts gives you a clear starting point for the personal data check. State law defines personal information as a resident's name combined with a Social Security number, a driver's license or state ID number, or a financial account or card number. (Massachusetts General Laws, chapter 93H, section 1) Numbers like these follow fixed patterns, which makes them well suited to an automatic check, and they should be on the block list from day one.

A one-week AI quality control setup that fits a small team:

  1. Monday: pick one AI workflow, the one that reaches customers most often.
  2. Tuesday: write the source of truth, one document with your real prices, hours and policies, and the banned list.
  3. Wednesday: turn on the format, banned claim and personal data checks. These are the cheapest.
  4. Thursday: name the person who owns the hold queue and when they check it.
  5. Friday: start the random sample, 15 a day, and the one-page weekly numbers.

Some work should skip AI entirely. Our note on automating the boring stuff and keeping the human stuff human is a good filter before you start.

Frequently asked questions

What is an AI quality gate?

An automatic checkpoint, the core of AI quality control, that scores every AI output against rules you set before it goes anywhere. Output that fails is held for a person or blocked.

Can a better model replace AI quality control?

No. A peer-reviewed Stanford study found AI legal research tools built to answer from real sources still hallucinated between 17% and 33% of the time. Better models help, and you still check the output.

Is my business responsible for what its AI chatbot says?

In Moffatt v. Air Canada (2024), a Canadian tribunal held the airline responsible for its chatbot's wrong answer. For your own situation, ask your attorney.

How many AI outputs should I spot-check?

Use the rule of three: 300 random outputs with no errors puts the true error rate likely under 1%. About 15 checks a working day gets there in a month.

Who should review the outputs the gate holds?

One named person who knows the work, with a set time each day to clear the queue and a backup for days off.

What should happen when bad AI output gets through?

Correct it, tell the customer, pause the workflow if it can repeat, then add a check or fix the source document.

This article is general information, not legal advice. Kief Studio is not a law firm, and reading it does not create an attorney-client relationship. Laws and regulations change, so check the current text and talk with a licensed Massachusetts attorney about your situation.

Where we fit

Kief Studio is in Shrewsbury, and we build AI automation for businesses in Worcester, Shrewsbury, Westborough, Grafton and across Central Massachusetts. Every output passes quality gates before it goes anywhere: checks for accuracy, format and tone, with a person reviewing what fails. We wrote DeSlop, so we take this part seriously.

In our AI implementation work, we pick the workflow, define what good output looks like and measure how it runs today. We build the automation with retries, error handling and quality gates on every output, keep a human path for anything the model is unsure about, and run it for you on LTFI (opens in a new tab), reporting what it handled and what it sent to a person. Nothing is installed on your side.

What we do not build: demo-only chatbots, or projects meant to replace staff with AI. See how we approach automation, multi-agent workflows with checks between steps, and our work for Worcester businesses.

First conversation is free. No commitment.

Tell us what is stuck