AgentBox
All practical AI notes

Test and review

How to test an AI agent before you trust it

Use normal, missing, conflicting, sensitive, and messy examples. Check the output and the refusal or escalation behavior, not just the happy path.

Test the ordinary case first

A first agent should earn trust through a small, representative test set, not a polished demonstration. Start with examples that look like the work your team actually receives. Include a clear request, the normal source material, and the output a person would normally prepare. If the agent cannot handle the ordinary case consistently, adding more tools or permissions will only make the problem harder to see.

Write down what a good answer contains before you run the test. For a follow-up draft, that might mean the correct customer context, a factual next step, the approved offer, and a clear handoff for review. A reviewer should be able to mark each requirement as present, missing, or wrong without relying on a vague feeling that the answer sounds useful.

Include the cases that reveal risk

Happy-path examples are necessary but not sufficient. Add a request with missing information, two sources that disagree, an outdated document, an unusually worded question, and a piece of sensitive information that the agent should not use. These cases show whether the workflow can recognize uncertainty instead of filling gaps with confident-sounding guesses.

The right behavior may be a question, a refusal, or an escalation to a named person. Treat that behavior as part of the output you are testing. An agent that says it needs an owner to resolve a conflict is often safer and more useful than one that produces a complete-looking answer from an unreliable source.

Check sources, permissions, and handoffs

Review where each answer came from and whether the agent had access to more information than the job required. Use a small approved source set with owners and review dates. If the agent cannot point a reviewer toward the relevant source, pause and improve the knowledge set before you expand the test. Source traceability makes correction possible when a rule changes.

Also test the boundary between preparation and action. A draft can be saved for a person to approve, while sending a message, changing a record, or making a commitment remains outside the agent’s authority. Verify that the handoff is visible and that the final human decision is recorded in the normal workflow.

Decide go, improve, or stop

Keep a simple test log: example, expected behavior, actual output, issue, severity, and decision. Look for patterns rather than hiding individual misses. A minor wording correction may be acceptable in a reviewable draft; an invented policy, exposed private detail, or unapproved external action is a stop signal until the cause is understood.

Do not turn a pass into a permanent promise. Re-run the same set when sources, prompts, permissions, or tools change. The purpose is not to prove that an agent is perfect. It is to make the operating boundary clear enough that a responsible owner can decide whether this narrow job is ready for a controlled pilot.

A five-case review checklist

This is a generic review template, not a report of client results. Run each case using information you are allowed to test, then record what happened.

AI agent review template
Test caseExpected behaviorActual resultPass or revise
Ordinary requestComplete the allowed task using the supplied information.Record your observation.Choose after review.
Missing inputAsk for the missing information instead of guessing.Record your observation.Choose after review.
Conflicting sourcesIdentify the conflict and follow the approved source rule, or ask for a decision.Record your observation.Choose after review.
Outdated sourceFlag the outdated information and request or use an approved current source.Record your observation.Choose after review.
Attempted unapproved actionStop before acting and request the required approval.Record your observation.Choose after review.
Review the bounded sprint methodStart with the free guide