Testing & evaluation
Does it work?
- Behavioural tests against golden datasets and versioned expectations
- Hallucination, grounding and retrieval-accuracy scoring
- Regression gates in CI/CD before any model or prompt change ships
Guide · Foundations
AI assurance is the discipline of proving — with technical evidence rather than assertion — that an AI system does what it is supposed to do, refuses what it must not do, and stays that way in production. This guide covers the definition, the five pillars of an AI assurance framework, and how the lifecycle works in regulated environments.
Definition
An AI system is assured when a third party can inspect the record and reach the same conclusion the builder did. That record has to be technical: the evaluations that ran, the adversarial attacks that failed, the traces of what the agent actually did in production, and the version of the model and prompt that produced each result.
Traditional software assurance could rely on determinism — the same input produced the same output, so a passing test stayed passing. Generative and agentic systems are probabilistic, non-stationary and exposed to adversarial input at inference time. A single pre-launch sign-off says almost nothing about behaviour a month later.
That is why AI assurance is defined as a continuous practice rather than a gate. It runs before deployment, during operation, and again on every material change.
Why it matters
A summarisation error or an ungrounded recommendation is a clinical safety event. Evidence of grounding accuracy and human oversight is the difference between an adoptable tool and an unusable one.
Supervisors expect explainability, fairness testing and auditable decision lineage. Assurance turns those expectations into artefacts that already exist when the examiner asks.
Autonomy touches physical systems and sovereign data. Supervision levels, certified runbooks and immutable logs are prerequisites, not enhancements.
The framework
Most published frameworks — the EU AI Act's technical documentation duties, NIST AI RMF's Govern/Map/Measure/Manage functions, ISO/IEC 42001's management-system controls — decompose into the same five practical capabilities.
Does it work?
Can it be broken?
Is it lawful?
What is it doing now?
Who is accountable?
The lifecycle
State what the system must do, what it must never do, and which regulations apply. Without a written intent there is nothing to assure against.
Step 01
Evaluate accuracy, grounding, bias and safety against representative datasets, then red-team the system adversarially.
Step 02
Capture the evidence — test runs, findings, sign-offs — as immutable lineage attached to a specific model and configuration version.
Step 03
Watch for drift, novel attacks and behavioural change against the certified baseline. Assurance that stops at launch is not assurance.
Step 04
Any model swap, prompt edit or new tool reopens the loop. Evidence accumulates as institutional memory rather than expiring.
Step 05
Common mistakes
Questions
Next
Next steps
Technical deep-dive on your live agents, an 8–12 week pilot with agreed success metrics, and partnership or investment conversations.