AI Feature Spec
A PRD variant tailored for AI features — model choice, evals, fallbacks, latency, cost, human-in-the-loop, and rollout.
How this works
An AI feature spec is a product requirements doc with the extra questions AI raises: which model, how you'll judge its output, what happens when it fails and what it may cost. Writing it down before building makes those trade-offs clear and open to review.
An AI feature spec is a product requirements doc with the extra questions AI raises: which model, how you'll judge its output, what happens when it fails and what it may cost. Writing it down before building makes those trade-offs clear and open to review.
When to use it
- Before building any feature that calls an LLM or other model.
- When a prototype works in a demo and the team must agree what “good enough for production” means.
How to run it
- Start with Feature name and Problem & user goal: the user's job, described without mentioning AI.
- Fill in Model choice & justification, and Eval criteria with a measurable pass bar, e.g. accuracy ≥ 0.85 on a named test set.
- Set the limits: Latency budget (ms p95), Cost budget per request and per month, and Hallucination tolerance for each kind of output.
- Decide the Fallback if model fails and the Human-in-the-loop checkpoints, such as a reviewer approving low-confidence actions.
- Write the Rollout plan (e.g. 1% canary, then 10%, then 100%) and the Success metric, then export the spec and review it with the team.
Tips
- Write the fallback first. If the feature is useless without the model, say so and plan for outages.
- Tolerance differs by output: zero for facts and money, looser for tone or wording suggestions.
- The page holds one spec and saves as you type, so export it before starting the next feature. Track the eval bar in the LLM Eval Tracker.