A pilot agent can produce convincing answers and still leave people doing the work. If a support reviewer must repair the suggested routing, check the customer record and move the case manually, a passing benchmark says little about the workflow. Before giving an agent more responsibility, measure whether the task was completed, what people had to correct and whether a proposed fix holds up on other tasks.
A passing benchmark is not a completed workflow
An agent evaluation needs to distinguish four things: the quality of its answer, the sequence of actions in its trace, the resulting state of the business system and the effort a person spent getting there. These are related, but none is a substitute for the others.
Take support triage. A model may suggest a plausible queue and write a persuasive rationale. The trace may show that it retrieved the right policy. Yet the reviewer might change the queue because the case meets an exception, or the agent might fail to save the assignment. The business question is not whether the suggestion sounded right. It is whether the right queue accepted the case without avoidable rework.
LangChain distinguishes traces of what an agent did from outcomes, such as feedback or a merged pull request. Anthropic makes the same distinction with a flight-booking example: a transcript saying the flight was booked does not establish that a reservation exists. For consequential actions, inspect the system that should contain the result.
This does not make output-quality tests useless. They are useful for catching obvious failures cheaply and for testing behavior before deployment. They just cannot answer whether the workflow became easier. Compare the agent-assisted task with the current manual process: completion, elapsed work, review time, corrections and errors that reached the business system. An agent that improves a text score while increasing reviewer effort has not earned more authority.
There is a useful, limited analogy in Canva’s discussion of editable generated designs: observable edits can inform an ongoing evaluation loop. That interview concerns creative output, not measured enterprise-agent outcomes. The transferable idea is to make changes visible rather than treating the first generated answer as the final result. The harder business-workflow question is why a change happened and whether the task ended correctly.
Capture what users correct—and what happens after the agent stops
Start with one workflow and define its end state before changing the instrumentation. For support triage, write down what counts as a completed assignment, which system records it, who can override it and when the handoff is considered accepted. Document the manual baseline using the same definition. Otherwise, a pilot can appear to improve simply because its dashboard stops measuring when the agent responds.
Create a task-level outcome record that links the run or conversation to what happened next. Depending on what the workflow permits you to collect, useful fields include the proposed action, approval or rejection, substantive edit, retry, escalation, final business-system state and reviewer time. Record abandonment too: a user who leaves without rating the answer has not necessarily succeeded. Keep tool results where they help verify the end state, rather than storing every available detail by default.
Feedback should be attached to the relevant run or thread so a reviewer can reconstruct the decision. LangSmith documents create_feedback() in Python and createFeedback in TypeScript, including a presigned-token approach for browser feedback without exposing an API key. That is a mechanism for linking a signal to a run, not permission to collect the full conversation or copy customer material into a test set.
Do not label every edit as a failure. A user may express a preference, add information the agent never had, or select a different valid outcome. Conversely, an approval may conceal a mistake discovered downstream. Use categories that separate a verified correction from preference refinement, routine iteration, unresolved disagreement and unclear evidence. Ask what changed in the business system, not merely whether the user clicked thumbs-up.
Decide access and retention before recording traces or corrected outputs. Customer records, internal policies and reviewer notes may all be confidential. Specify who can inspect them, how long they remain available and whether a case may be reused for evaluation. Where raw documents cannot be available to engineers, the approach in debugging AI agents without customer data is relevant: preserve a useful failure signal without assuming the underlying customer content belongs in the engineering dataset.
Review failures before making them test cases
Production failures are excellent candidates for tests, but raw complaints are not yet ground truth. LangChain distinguishes offline evaluation on curated datasets from online evaluation of production outputs and describes feeding production failures back into offline tests. The missing step is review: decide what actually failed, what correct behavior would have been and what evidence supports that decision.

Route high-signal cases to a named domain reviewer. Give them a rubric that asks whether the agent had enough information, whether the user’s change corrected an error, what the expected end state was and whether the proposed action was permitted. Include an ‘unclear’ verdict. Forcing an answer where the evidence is incomplete produces a confident but unreliable test. Current LangSmith annotation queues can assign runs or entire threads, apply a shared rubric and add reviewed items to a dataset; automation rules can queue runs based on signals such as errors or low scores. The review policy matters more than the queue feature.
Do not build the dataset entirely from negative feedback. People tend to report conspicuous mistakes, while silent abandonment and subtle extra work may produce no complaint. Keep a representative sample of ordinary production tasks alongside a failure-focused regression set. Online evaluators can filter and sample runs, which helps control evaluation cost, but a filter for negative ratings cannot reveal the problems users never rated. Compare sampled tasks against downstream outcomes where those outcomes are available.
Turn recurring, reviewed failures into reproducible cases. Each case needs an authorized or synthetic input, the relevant state of the environment, an expected end state and a rubric for acceptable variation. Pin the tools, permissions and business rules needed to interpret it. Include successful cases, ambiguous cases that require a question or human approval, and cases where the agent should abstain. A suite made only of reported mistakes trains the release process to recognize yesterday’s most visible complaints.
Keep the capability set separate from the regression set. Capability cases ask whether a candidate can perform the intended workflow at all. Regression cases ask whether a proposed fix preserves behavior already expected to work. Both are necessary: a narrow fix can score well on the newly reviewed failures while breaking ordinary cases the team stopped inspecting.
Test fixes against outcomes, not just better-looking traces
Use different checks for different claims. Deterministic checks should verify permissions, required tool calls and consequential business-system state. Domain reviewers should judge disputed routing decisions or whether an edit was a genuine correction. A calibrated model judge can triage large volumes of traces or flag cases for review, but it cannot prove that a CRM record changed correctly or that a human saved time. Anthropic recommends combining code-based, model-based and human graders according to what each can actually verify.
Run the candidate and current version on the same task segments. Compare verified completion, correction burden, consequential errors, latency and cost. Inspect cases where one version wins and the other loses rather than hiding them in an average. Repeat cases where agent behavior varies between runs; one successful trajectory is not a stable result. Anthropic suggests starting with 20–50 tasks drawn from real failures and running multiple trials, but that range is a starting point, not a statistically sufficient release sample for every workflow.
Match the test to deployment. If production involves stale records, incomplete requests or approval boundaries, a clean prompt with an idealized tool response is a weak proxy. NIST’s AI Risk Management Framework calls for evaluation under conditions similar to deployment, production monitoring and documented limits on how far results generalize. Be explicit when the evaluation covers only suggested actions, a particular case type or a restricted set of tools.
A passing offline set is therefore one release signal. It does not excuse a rise in latency, a shift of work onto reviewers or a new class of error outside the curated cases. If a fix improves a frequently reviewed exception but worsens routine routing, do not promote it because the regression dashboard improved. Investigate the segment difference, revise the fix and test again.

Release guide: expand authority one workflow at a time
Agree on the gate before evaluating a candidate. Otherwise, a good-looking result invites the team to redefine success after seeing the scores. For each task type, make the release decision in this order:
Define the end state and baseline. Name the business-system evidence of completion, the existing manual process and the work reviewers currently perform.
Set collection boundaries. Specify which outcome signals, traces and corrections may be stored; who may review them; how long they remain; and which cases may be converted into tests.
Build two views of production. Review reported failures and a representative sample, including abandoned and apparently successful tasks. Keep ambiguous reviewer verdicts visible.
Test the candidate against the current version. Use reproducible cases, repeated trials where needed, deterministic end-state and permission checks, and human review for contested judgments. Examine performance by task type alongside cost and latency.
Set authority and fallback. Begin with human-approved actions. Permit read or write actions only for task types whose reviewed evaluations and monitored outcomes meet the thresholds agreed in advance. Keep a manual route for exceptions.
Monitor after release. Watch completion, corrections, escalations and abandonment. Send new patterns back through review before adding them to the regression set or widening the agent’s scope.
This gate should be stricter for an action that changes a customer record than for a draft a person must approve. It should also stop expansion when outcome evidence is unavailable: a polished trace cannot fill that gap. If you need help designing the task boundary, evaluation and staged rollout together, that is the appropriate scope for AI agent development services.