Drift is a slow decline: the agent still answers, but each week its answers get a little less accurate, a little less complete, or a little more expensive. No single week looks broken, so nobody fixes it, until users start complaining. A weekly drift check catches it early: run the same test set every week, record the same scores, and compare this week with last week and with the week the agent shipped. LangSmith evaluation supports exactly this rhythm, scoring outputs against datasets so you can benchmark versions and track quality over time. The check is cheap; the drift it catches is not.
What you need
- A fixed test set with known good outcomes, run the same way every week
- The scores from the week the agent shipped, kept as the baseline
- A threshold for action, such as a score drop of more than a few points
Step 1: Run the same test set every week
Run the fixed test set on the same schedule each week, with the same tasks, the same rubric, and the same model. A test set that changes weekly cannot show drift.
Step 2: Record the scores next to the baseline
Write each week’s scores beside the shipping baseline and beside last week’s scores, so a decline shows as a line going down, not as a single bad number.
Step 3: Act when the score crosses the threshold
When the score drops past the threshold, stop and find the cause: a changed tool, a changed prompt, or a changed model. Fix the cause, then re-run the test set to confirm the score recovers.
Worked example: synthetic drift check
The table below is a synthetic example. It shows the expected result of the drift check; no agent was run.
| Week | Score | Action |
|---|---|---|
| Shipping week | 92 | Baseline |
| Last week | 90 | Watch |
| This week | 84 | Investigate |
| Cause found and fixed | Yes | Pass |
Expected result (UNTESTED). the score drops from 92 to 84 across three weeks, the drop crosses the threshold, and the cause is found and fixed. This check was not run live; the table shows the expected result for the synthetic example.
Limits
- A small test set is noisy, so a one-week dip may be chance; look at the trend, not one point.
- Drift can come from the tools or the data, not just the agent, so check those too.
- A baseline that was never recorded cannot show drift, so record it at shipping time.
- Weekly checks only help if someone reads them; assign the check to a named person.
