Let’s talk
← All insightsAI quality & security

How to test an AI assistant before customers depend on it

A fluent answer can still send someone to the wrong place. Test the whole conversation, the evidence behind it and what happens when a dependency fails.

The short answer

Evaluate the assistant against real tasks with written acceptance criteria. Check factual support, missing qualifications, conversation progress, permissions and failure behaviour separately. Measure response time and total cost on the same cases. Release only the scope the evidence supports, with an owner for unresolved gaps.

Who this is for Product owners and engineering teams commissioning customer support, knowledge search or service-navigation assistants.

AI agent security engineering

1. Write down what a useful answer must accomplish

Start with the decision the reader needs to make. For a service assistant, that might be choosing the correct application, identifying the documents to prepare or finding the responsible office. “The model replied” is too weak an acceptance criterion.

Write the expected outcome before running the question. Include the location, account type, relevant date and exceptions that could change the answer. If a missing fact is essential, specify the one clarification the assistant should ask. If useful general guidance is possible, specify what it should explain before asking.

A fictional example: a visitor asks about a business filing, then says “I’m a sole proprietor.” The next answer should use that fact to narrow the route. Repeating “What kind of business do you have?” fails the task even if the prose is polished. This example is a test design, not a claim about a customer deployment.

2. Build a test set that includes uncomfortable questions

Use questions supplied by your product team, support staff and willing testers. Remove private details before retaining examples. Group them by user intent, then include short wording, typos, incomplete context and several ways of asking the same thing. Keep some cases out of prompt tuning so the final check tests more than familiarity with your examples.

On a small screen, scroll the table sideways.

Conversation cases to include in an assistant evaluation
CaseWhat earns a passA failure to catch
Straightforward taskA direct answer and a usable next stepA generic homepage instead of the relevant route
Missing contextUseful orientation and one necessary questionA questionnaire before any help
Short follow-upThe new fact advances the existing conversationThe same clarification repeats
Changed topicThe answer recognizes the new taskOld context silently determines the result
Unverified detailThe limit is explicit and the next check is usefulAn invented fee, deadline or eligibility promise
Unavailable dependencyA bounded wait and an honest recovery routeAn endless spinner or a fabricated successful result

Choose coverage by the consequences of failure. A small set of carefully examined high-risk cases can reveal more than a large list graded only for whether a response exists. It still cannot prove that every possible question will work.

3. Check what each citation actually supports

Open the source and compare it with the claim beside the citation. Is it the right authority, jurisdiction and service? Does it support the amount, date or qualification in the answer? A working link to an official website is not enough if the cited page says something different.

Separate retrieval from writing. First check whether the system found the right material. Then check whether the answer used it accurately. This makes the repair clearer: a better prompt will not fix a missing or incorrectly indexed source.

NIST’s Generative AI Profile treats confidently incorrect output, information integrity and pre-deployment testing as risk-management concerns. It is a voluntary framework, not a certification that an assistant is accurate. Our practical recommendation is to retain the source version or check date with the evaluation so a later content change can be distinguished from a model regression.

Mark unsupported material as a failure even when it sounds plausible. Also test omission: an answer can quote a correct rule while dropping the condition that makes it applicable.

4. Test authority separately from answer quality

An assistant that summarizes documents and an agent that changes records have different exposure. List what the application can read, send and modify. For each consequential action, define the identity, permission and confirmation that must be enforced outside the model’s prose.

The Canadian Cyber Centre’s AI security actions include restricting high-risk tools, validating downstream actions and limiting exposure to untrusted content. Translate those controls into observed tests: a retrieved page cannot grant permission, a user cannot request another user’s records, and a failed authorization check cannot become a successful tool call.

Use authorized, isolated fixtures with harmless test data. Check that hostile instructions inside retrieved material are treated as content, and that outputs cannot turn into executable instructions merely because they came from a model. Record the actual denied operation or output; a reassuring sentence is not proof that the backend refused it.

No finite prompt-injection test set establishes immunity. Use the permissions matrix to reduce what a failed defence could affect, and retain a way to revoke access.

5. Keep a scorecard that does not hide serious failures

Record one row per test run. Keep the exact question and follow-ups only when their collection and retention are appropriate. Use synthetic or redacted inputs for repeatable checks. The following fields form a reusable starting worksheet.

On a small screen, scroll the table sideways.

AI assistant release scorecard
FieldWhat to record
Case and releaseCase ID, intended task, app version, model and source-check date
Expected resultRequired route, facts, qualifications and next step
EvidenceActual answer, relevant sources and observed tool outcomes
Quality checksCorrect route; supported claims; retained qualifications; conversation progress
Security checksCorrect access boundary and permitted actions only
OperationsEnd-to-end time, provider/search cost, retries and fallback used
DecisionPass, repair or exclude; severity; owner; retest result

Do not average a data leak into a high overall score. Define release-blocking failures separately from writing improvements. Have a reviewer inspect high-consequence cases and disagreements. An automated judge can help triage a large sample, but it should not be the only authority for whether a source supports a sensitive claim.

6. Measure speed and cost on accepted answers

Measure the complete wait the visitor experiences, including retrieval, model calls, validation and retries. Test first requests, cached requests and several simultaneous conversations separately. Report the sample size and conditions beside any latency result; a few quick replies do not establish peak capacity.

Count failed attempts in the cost calculation. For example, cost per accepted conversation is the total measured cost of all attempts divided by the number that meet the acceptance rule. Track model and search consumption separately from hosting, engineering and support. The operating-cost worksheet covers those additional lines.

When comparing models, use the same cases, source material and grading rules. A cheaper model that triggers more retries may not make the service cheaper. A slower model may still be appropriate for a task that needs deeper analysis; the acceptable tradeoff belongs to the product’s users and owner.

7. Make the release decision explicit

Keep the tested version, known gaps, responsible owner and rollback route together. State which tasks passed, which remain excluded and which changes require another evaluation. Recheck after a model switch, retrieval change, new language, new tool permission or a material source update.

After launch, review aggregate failure patterns and voluntary feedback with appropriate privacy controls. Turn recurring problems into regression cases. Monitor helpful completion as well as availability: a service can stay online while repeatedly giving users the wrong next step.

A useful handover ends with evidence someone else can inspect. It should let a product owner answer three questions: what can this assistant reliably help with, what happens when it cannot, and who fixes it next?

Sources & notes

Primary references checked 5 November 2026. The checklist and scorecard are Active K Digital’s proposed evaluation method. Examples are fictional; no measured client results, certification or guarantee of model accuracy is claimed.

Published by Active K Digital. Our articles explain practical delivery decisions; examples are illustrative unless a named case study says otherwise. Technical sources support the attributed points. They do not establish client results or certify a project.

Put this into practice.

Tell us the task, the systems involved and what you need to decide. We’ll establish a useful scope and the evidence to assess it.

Discuss your project