Short answer: A convincing demo does not prove production readiness. Readiness requires representative normal and failure cases, permission tests, observable outcomes, human takeover, and a documented decision to proceed or stop.
Define acceptance before the model
Write the business outcome, system of record, permitted tools, forbidden actions, escalation owner, and evidence required for a correct result. Define the unit of success: a confirmed update, a correctly routed case, or a reviewer-approved draft—not a generated sentence or attempted API call.
Build a test set from real patterns after removing personal and confidential data. Include incomplete requests, conflicting records, stale documents, ambiguous names, mixed language, prompt injection attempts, denied access, provider timeout, duplicate events, and a user who asks for a human.
Test layers
Functional and data tests
Check extraction, classification, retrieval, tool inputs, and output formatting. Confirm that source citations point to the approved record and that missing evidence produces uncertainty rather than invention.
Safety and authorization tests
Attempt actions outside the role, access another user's record, reuse an expired credential, and ask the agent to bypass approval. Verify denial at the tool or system boundary and capture an audit event.
Operational tests
Measure timeout behavior, retry limits, idempotency, queue recovery, rate limits, cost controls, and manual fallback. Test a successful external write whose response is lost; the system must check state before retrying.
Adversarial and change tests
Use untrusted retrieved text, conflicting instructions, malformed files, and changed policy versions. Re-run the suite after changing the model, prompt, source, tool schema, or permission. Keep the results versioned.
A decision gate that procurement can audit
| Gate | Pass evidence | Stop or narrow when |
|---|---|---|
| Scope | Owner-approved task contract | The task has no accountable owner |
| Quality | Representative cases meet the agreed threshold | High-impact errors remain unexplained |
| Safety | Denial, escalation, and least-privilege tests pass | A prompt is the only control |
| Operations | Monitoring, rollback, and human fallback work | No recovery path exists |
| Value | Baseline and measurement plan are documented | A benefit is claimed without evidence |
Report failures by severity and type. Do not hide an unsafe high-impact error inside an average score. The owner should be able to approve a limited scope, request correction, or reject the pilot with a written reason.
Shadow, reviewed, then limited execution
Start in shadow mode, where the agent does not affect external systems. Next allow reviewed recommendations with the source and proposed action visible. Only then consider limited execution for reversible steps. Set a stop condition, sample size, review owner, and rollback path for each transition.
For healthcare, banking, collections, or employment workflows, add the relevant professional reviewers. Technical test results do not establish legal, medical, or regulatory compliance.
Frequently asked questions
How many test cases are enough?
There is no universal number. The set should cover the process variation, high-impact failures, and changes likely in the target environment. Document coverage and uncertainty instead of presenting an arbitrary count as proof.
Can a vendor's benchmark replace our tests?
No. External benchmarks may inform a decision, but your data, permissions, workflow, and escalation policy need local acceptance evidence.
What happens when a test fails?
Classify the failure, narrow or disable the affected action, assign an owner, fix the source or control, and re-run the relevant suite. Do not raise autonomy simply to make a demo pass.
How can Faltara help?
Faltara can discuss a bounded feasibility or implementation scope through AI agent development. Confirm deliverables, tests, controls, and operating ownership before treating a discussion as a capability guarantee.
Boundary: Examples are illustrative. This guide does not guarantee performance, compliance, or production readiness.
Turn requirements into observable cases
For every requirement, write an input fixture, expected safe behavior, evidence to display, and pass/fail owner. “Answers accurately” is too vague; “returns the approved policy section, cites its version, and asks for clarification when the employee number is missing” can be tested. Include a counterexample where the desired result is a refusal or human handoff.
Separate test data from production data and keep a record of its provenance. Include realistic length, formatting, language mix, missing fields, duplicate events, and conflicting records. Do not remove difficult cases because they make a dashboard look worse. They show where the workflow needs a narrower scope or a stronger control.
Test the operational envelope
Load tests should measure queue behavior, provider timeouts, rate limits, and cost reservations without sending actions to real customers. A retry test should prove that a timed-out write is checked before another write is attempted. A recovery test should prove that an operator can pause the tool, drain or replay a queue safely, and return to a manual process.
Observe traces at the level of task, agent, retrieval, tool, approval, and confirmed business result. A high answer score with missing tool traces is not production evidence. Review latency and cost by workflow state, but do not interpret them as ROI without a business baseline.
Make the release decision explicit
Create a short acceptance record with scope, sample, passed cases, failed high-impact cases, open evidence gaps, owners, and expiry date. The decision can be go for shadow mode, go for reviewed suggestions, no-go for execution, or stop-and-remediate. Revisit it when the model, prompt, data source, tool, or permission changes. This prevents a pilot approval from silently becoming a production authorization.
Sensitive workflows need specialist review. A healthcare reviewer should check clinical boundaries, a banking or finance owner should check transaction controls, and a privacy or legal owner should check jurisdiction-specific claims. Technical QA can identify a risk; it cannot approve the organization’s professional obligations.
Questions to ask a supplier
Ask for the actual test matrix, failure examples, trace fields, model and prompt versioning, rollback demonstration, and support ownership. Ask how the supplier handles a test that passes in a demo but fails on your records. Require a plan for exporting evidence and ending the engagement. These questions reveal operational maturity better than a single benchmark score.
A minimum preproduction test matrix
Organize cases by the consequence of an error. For read-only answers, test stale documents, conflicting sources, ambiguous identity, and an answer that should be “I do not have enough evidence.” For proposed writes, add unauthorized users, duplicate events, partial downstream failure, and a human rejection. For external messages, test the wrong recipient, missing consent, sensitive content, and a timeout after the message provider accepted the request.
For each case, record the expected safe behavior, the evidence available to the agent, the tools it attempted, the policy decision, the reviewer outcome, and the confirmed system result. A passing test means more than a plausible sentence: it means the workflow stopped, escalated, or completed exactly as the contract specifies. Keep a small regression set for every defect and run it after model, prompt, retrieval, connector, or permission changes.
Do not let a supplier select only its best examples. Provide representative records with the organization’s edge cases, remove unnecessary personal data, and agree in advance how failures are reported and corrected. This makes the acceptance decision portable when the team changes models or vendors.
