Requirements
How to Write AI Product Requirements You Can Test
Turn a request for an AI feature into observable requirements the team can evaluate.
An AI product requirements document (PRD) should tell a designer what experience to build, an engineer what behavior to enforce, and a reviewer what evidence will count as a pass. A requirement such as “summarize support calls accurately” leaves all three people guessing. The team needs to know which parts of a call matter, how a mistake affects the next action, and what the system should do when it runs out of evidence.
Start with the decision the user needs to make
In a fictional service desk, agents read call notes before sending follow-up messages. Write down the decision they need to make and the details it depends on. They need to know what the customer asked for, what the agent promised, and whether there is a due date. A caseworker should be able to act on a summary without overlooking an unresolved question. Describe the intended user, the task, and its purpose before specifying the model or interface. GOV.UK guidance on writing user stories
Record the first release boundary. The feature drafts an internal note for the agent to verify. Sending messages and changing customer accounts sit outside the initial workflow. Specify where the original call record can be found and how an agent gets back to manual note-taking if the draft fails to load.
Write acceptance criteria that a reviewer can apply
Use concrete inputs, expected outcomes, and verification methods. Put critical values and permitted alternatives in the test record so two reviewers can assess the same draft without having to infer the target behavior.
- Required fields. For a call with a clear intent, a confirmed promise, and a stated due date, the draft must preserve each of those values. Rewording is allowed if it preserves the meaning.
- Uncertain fields. When callers mention two dates without confirming either, leave the due date blank, show the relevant excerpt, and ask the agent to verify it.
- Agent control. The case note stays editable. Saving it requires a deliberate agent action, and a failed draft leaves the existing notes intact.
- Operational limit. When service is unavailable or a request exceeds the team’s time limit, show the original record and offer manual entry in the same workflow.
Check representative calls and difficult exceptions separately
For this illustration, use 80 clear calls and 20 calls with ambiguous key details. If the scope requires it, capture quiet and noisy recordings and include different issue types. Have a second reviewer resolve any disagreements in the expected fields before testing. Freeze the example set for this decision and record the model, prompt, and product versions used. NIST recommends documenting test sets, metrics, and evaluation tools as part of measuring AI risks. NIST AI Risk Management Framework core
The team might choose a pilot gate of at least 76 of 80 clear calls preserving every required value, and all 20 ambiguous calls taking the expected review path. In a hypothetical run, 78 of 80 clear calls pass but only 18 of 20 ambiguous calls reach review. The lead decides to revise the uncertainty handling and rerun the affected tests before a pilot. The 100-call sample guides this decision. Live monitoring will cover the longer tail of failures.
Give every requirement an owner and a way to inspect it
Assign the support lead to define material errors, the engineering lead to own route and failure behavior, and reviewers to maintain the test set. Store each result with the acceptance criterion it supports. The PRD is ready when the team can point to a check for each requirement and explain how to respond when a check fails. Revisit the criteria when the intended user, data source, or authority to act changes.