Agent Wranglers

AIF-30Recommended

Watch quality in production

Track at least one quality signal per AI feature in production. Alert when it drops by more than a set amount, such as 10 points in a week.

How to do it

Choose signals that follow from what users do. Examples are the share of drafts sent without edits, thumbs-down rate, hand-offs to a person, retries and validation failures. Chart them per prompt version and model version, so a drop points to its cause. Alert the feature's owner, not the on-call engineer, unless the feature is down. Alert setup is in the operations playbook. Treat them as indicators of what users feel with targets and alerts.

Examples

SQL example

SELECT prompt_version, avg(CASE WHEN feedback = 'down' THEN 1.0 ELSE 0 END) AS thumbs_down_rate, count(*)
FROM ai_outputs WHERE feature = 'return-assistant' AND created_at > now() - interval '7 days'
GROUP BY prompt_version;

How to check

The dashboard shows a quality signal per AI feature, split by prompt version. An alert rule exists for each and fires in a test with a simulated drop.

Sources

For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/ai-features/evals-and-quality/production-quality-metrics">Agent Wranglers AI features playbook</a>. In code you write, add a comment next to it with the same link.