Short answer. An AI is ready to go to production when it meets the thresholds on a representative test set, does not get worse than the previous version, withstands adversarial tests and leaves its evidence stored. That decision is made at a release gate (a control gate before production): a set of measurable criteria, agreed before seeing the results, that decides whether the system ships or not.
Want to see how a release gate is set up for your assistants and agents?
What a release gate is in AI
In traditional software, quality tests have a fixed outcome: they pass or fail. In generative AI, the same question can get different answers, and behavior changes with the model, the instructions or the documents. That is why the gate cannot be an "it works in the demo": it has to measure behavior with metrics and compare it against a threshold.
A good release gate has three properties: it is measurable (each criterion is a number), set in advance (thresholds are fixed before evaluating) and repeatable (it runs the same way on every version).
The pre-production checklist: ten checks
These ten checks usually decide whether an assistant or an agent can go to production.
| # | Check | What is verified |
|---|---|---|
| 1 | Representative test set | Real cases, edge cases and cases where the source does not answer |
| 2 | Metrics per error type | Groundedness, factuality, correct abstention, handoff to a person |
| 3 | Thresholds agreed before evaluating | Signed off by the decision-maker, not adjusted after seeing the score |
| 4 | Regression against the previous version | No key metric gets worse beyond an agreed margin |
| 5 | Adversarial tests | Prompt injection, data extraction, attempts to bypass the rules |
| 6 | Agents: action claimed vs. action executed | What it says it did matches what it actually did, and stays within its scope |
| 7 | Cost and latency | Within what is expected for the anticipated volume |
| 8 | Human review of a sample | Automatic evaluator checked against people |
| 9 | Rollback and monitoring plan | How to roll back and what is measured in production |
| 10 | Evidence stored and decision recorded | Results per version and a record of who authorized the release |
Repeat the same release gate on every version of your assistant
We show you how.
How to set thresholds
A threshold is a business and risk decision, not a technical number. Four rules help:
- Per metric, not global. An overall average hides serious failures. Set a threshold for each error type.
- Stricter where errors cost more. An invented fact about a fee does not weigh the same as a tone that could be better.
- Zero tolerance for critical cases. Some failures, such as revealing another customer's data, allow no margin.
- Signed off before evaluating. If the threshold is moved so the system can ship, it stops being a control gate.
From a manual release gate to an automatic one
The first release gate is usually manual: someone runs the evaluation and reviews the results. Once it works, it is built into the delivery flow so that it runs on every change and blocks deployment if the thresholds are not met. How to build it so that it actually runs is covered in Automated LLM evaluation: building a CI/CD quality gate that actually runs.
After going live: control continues
The release gate decides whether the system goes live, but quality keeps moving afterwards: a provider updates the model, documents change or new queries appear. That is why a sample of real conversations is monitored against the same criteria, and failures are turned into new test cases. We cover this in How to monitor LLM quality in production.
An example: a release gate for a customer service assistant
Illustrative scenario, not a customer case. A bank is preparing a customer service assistant. Before evaluating, the risk team signs off the thresholds: a maximum rate of answers unsupported by the source, a minimum correct abstention rate and zero failures in the critical personal-data tests.
The first version meets the quality thresholds but fails a data extraction test. It is fixed, the full release gate is repeated and it is approved. Two weeks later, the provider changes the model: the release gate runs again and detects a drop in correct abstention. The change is not activated until it is fixed.
Self-assessment: ten questions about your release gate
- Do you have a test set with real cases and cases the source does not answer?
- Do you measure per error type and not just an overall score?
- Are the thresholds signed off before evaluating?
- Do you compare each version with the previous one?
- Do you include adversarial tests?
- For your agents, do you compare the action claimed with the action executed?
- Have you calibrated the automatic evaluator against human reviewers?
- Do you have a rollback plan in case something fails in production?
- Do you monitor a production sample against the same criteria?
- Is the release decision recorded along with its results?
How many of these ten questions can your team answer today? Review them with us.
Frequently asked questions
What is a release gate in AI?
It is the control gate an AI system must pass before going to production: measurable criteria, with thresholds agreed in advance, that decide whether it ships or not.
What should a checklist include before putting an AI into production?
A representative test set, metrics per error type, prior thresholds, comparison with the previous version, adversarial tests, human review of a sample, a rollback plan and stored evidence.
How are release gate thresholds set?
Per metric, stricter where errors cost more, with zero tolerance for critical cases, and signed off by the decision-maker before seeing the results.
What is regression testing in an LLM?
It means repeating the same evaluation on every version to check that an improvement to the model or the instructions does not make other metrics worse.
Can a release gate be automated?
Yes. It is built into the delivery flow so that it runs on every change and blocks deployment if the thresholds are not met.
What happens if the provider changes the model?
The release gate must be repeated before the change is activated, because behavior can change without the code changing.