An enterprise deploys a customer-support assistant after it performs well against a test dataset. Its answers are relevant, its retrieval system returns the expected documents, and its evaluation scores meet the release threshold.
A month later, support managers notice that more customers are reopening cases. The assistant's latency is normal. API error rates have not increased. The model has not changed.
The monitoring dashboard still looks healthy.
What is going wrong?
The system may be answering questions correctly in isolation while failing to resolve the customer's actual problem. It may retrieve a relevant policy but miss an exception. It may explain a process accurately but fail to complete the required action. Or the customer's issue may remain unresolved for a reason that is not visible in the assistant's response.
This exposes a measurement problem that is easy to miss: production AI systems do not always have an immediately available ground-truth answer.
An offline evaluation can compare an output with a known reference. In production, the correct result may depend on what happens after the response, what the user does next and whether a downstream business process reaches the intended state.
That is why evaluating an AI system before release and monitoring it after deployment are related, but different disciplines.
1. An evaluation score is not a production guarantee
An offline evaluation tests a model or application against a defined set of inputs and grading criteria. It helps teams compare model versions, prompts, retrieval configurations and application changes under controlled conditions.
For example, a support assistant might be tested against 500 historical customer questions. Each case could be assessed for factual correctness, relevance, policy adherence and whether the response contains the information expected by a reviewer.
This is useful because the team can inspect failures, reproduce test cases and compare candidate versions before exposing them to customers. OpenAI's evaluation best practices recommend task-specific datasets that reflect real-world distributions, logging development activity and calibrating automated graders with human feedback.
But a test dataset is still a sample of situations the team anticipated and collected. Live traffic introduces conditions that may not be represented in that sample:
- Customers describe the same problem in unfamiliar language.
- A policy document changes, but the retrieval index still contains an older version.
- A new customer segment asks questions that were rare in the test dataset.
- An upstream service changes its response format.
- Users begin asking the assistant to perform tasks beyond its original scope.
The model version can remain unchanged while the behavior of the overall application changes.
This is the distinction between a controlled evaluation and production monitoring. Evaluation asks whether a candidate system performs against defined tests. Monitoring asks whether the deployed system continues to behave acceptably as actual inputs, dependencies and usage patterns change.
Neither replaces the other. A system needs both.
2. The missing ground truth: production outcomes arrive later
Consider a customer who asks an assistant how to reverse a failed payment. The assistant retrieves the correct policy and explains the next steps. A quality evaluator may score the answer as relevant, grounded and instruction-compliant.
But did the customer's problem get resolved?
That answer may only become available later, when the customer completes the process, a payment status changes or a support agent reviews the case.
There are now three different things an enterprise could measure:
- Response quality: Did the assistant provide an accurate and relevant answer based on the information available to it?
- Workflow completion: Did the required process or action actually complete?
- Business outcome: Did the customer achieve the intended result?
These measurements are related, but they are not interchangeable.
A support ticket marked closed is not automatically proof that the assistant resolved the issue. The customer may have abandoned the conversation. An agent may have closed the ticket manually. The issue may have been transferred to another team. A customer clicking a thumbs-up button is useful feedback, but it is not a verified correctness label.
This is the difference between a proxy signal and an outcome label.
A proxy is an indirect indicator that may correlate with success. An outcome label records whether the intended result was actually achieved, according to a defined business rule or authoritative system.
Anthropic makes a related distinction in its research on evaluating AI agents: an agent saying that it booked a flight is not the same as a reservation existing in the environment's database. The final state matters, not just the agent's description of it.
For enterprise monitoring, this changes the measurement design. The application needs a way to connect an AI interaction to the later business event that establishes its outcome.
3. Connect the AI interaction to the eventual outcome
Suppose a support assistant handles a payment-related query. The interaction happens at 10:02 AM, but the payment system confirms the final status at 10:18 AM. If the monitoring system only records the assistant's response, the later payment event may never be connected to the original AI interaction.
A practical design needs a stable business identifier that survives beyond the model request.
For example:
```json
{
"interaction_id": "int-20481",
"case_id": "case-8472",
"workflow": "payment_reversal",
"assistant_version": "support-v12",
"created_at": "10:02:00"
}
```
When the payment service updates the case, the event should carry the relevant case or workflow identifier:
```json
{
"case_id": "case-8472",
"payment_status": "reversed",
"outcome_recorded_at": "10:18:00"
}
```
The monitoring process can then associate the later outcome with the interaction that contributed to the workflow.
The identifiers and fields above are illustrative. The important design choice is to distinguish the AI interaction ID from the business transaction or case ID. One customer case may involve multiple assistant interactions, human interventions and downstream operations. Treating them as the same record can incorrectly attribute an eventual success or failure to one model response.
The outcome rule also needs to be explicit. For example, a payment reversal may count as successful only when the authoritative payment system records the reversal as completed, not when the assistant submits a request or receives an HTTP success response.
This is not a request to put every business process inside the AI monitoring platform. It is a requirement to preserve enough correlation to determine what happened after the AI interaction ended.
4. Measure three layers, not one blended score
A useful production measurement design separates operational health, AI quality and business outcomes. Measurement layer , what it answers and example signals
- Operational health: Is the application running reliably; Latency, timeouts, error rates, token usage, cost.
- AI quality: Is the system producing acceptable outputs and actions?; , relevance, instruction adherence, retrieval quality, tool selection.
- Business outcomes: Is the intended task succeeding?; Verified case resolution, completed transactions, reopens, escalations.
The first layer is necessary, but it cannot establish the second or third. A service can respond quickly and successfully while producing poor answers. Likewise, a high quality score does not prove that the intended business task was completed.
For retrieval-augmented generation, teams should examine whether retrieved documents were relevant to the question and whether the answer was supported by those documents. For agents, they may need to assess tool selection, argument validity, policy adherence and whether the receiving system reached the expected state.
Business outcome metrics must be selected for the workflow. A customer-support assistant may be measured by verified resolution and repeat contact. An invoice-processing assistant may be measured by correctly processed invoices and exception rates. A coding assistant may require tests that establish whether the generated change works, rather than counting accepted suggestions.
Avoid combining all three layers into one average score. If operational reliability improves while task success declines, a blended score can conceal the deterioration. Keep the dimensions visible so teams can identify which part of the system is changing.
5. Production labels are delayed, incomplete and sometimes misleading
Even when an enterprise has outcome data, it should not assume that every recorded event is a reliable label.
Consider three support cases:
- A customer gives the assistant a positive rating, but the payment remains pending.
- A customer gives a negative rating because the answer is correct but not the answer they wanted.
- A ticket is reopened because the customer has a new question, not because the previous response was wrong.
If these events are treated as direct correctness labels, the evaluation dataset becomes contaminated by assumptions about user behavior. A more reliable approach is to define how each signal should be interpreted.
- Immediate signals can be measured soon after an interaction: response structure, policy checks, retrieval relevance, tool-call validity, latency and explicit user feedback.
- Delayed signals require time or a downstream event: payment completion, verified case resolution, human review, repeat contact or a completed transaction.
- Adjudicated labels are cases reviewed against a defined standard by an appropriately qualified reviewer. They are especially useful when the outcome is ambiguous or the consequence of an error is high.
The distinction matters because a production interaction may initially have no outcome label. It should not automatically be counted as a success or failure simply because the monitoring system needs a number.
Teams should define an outcome window appropriate to the workflow. A payment process may settle within minutes; a customer issue may take days to resolve. Reports should distinguish unresolved or not-yet-observed cases from confirmed failures.
This prevents a common measurement error: evaluating recent interactions as if every outcome were already known.
6. Use automated judges carefully
Human review is valuable, but reviewing every production interaction is often impractical. Teams therefore use automated evaluators, including LLM-as-a-judge, to assess properties such as relevance, groundedness, tone, policy adherence and task completion evidence.
These evaluators can run against selected production traces. LangChain's online evaluation documentation describes applying evaluators to filtered production runs and configuring sampling rates to control cost.
However, an automated judge is another model making an assessment. It can misunderstand the rubric, reward plausible-sounding answers or miss a subtle policy violation.
Before relying on its scores, compare its judgments with human-reviewed examples. Include both successful and failed cases, inspect disagreements and revise the rubric where necessary. Anthropic's evaluation research also recommends calibrating LLM graders against human experts and giving judges an explicit way to abstain when they do not have enough information.
Sampling needs similar care. Evaluating every interaction may be expensive, but taking a random sample alone can miss rare, high-consequence failures. A practical design can combine representative traffic sampling with targeted evaluation of negative feedback, unusual workflows, high-risk actions and new customer segments.
The purpose of sampling is to manage evaluation cost without making important failure classes invisible.
7. Turn confirmed production failures into regression tests
Production monitoring becomes more useful when it improves the next evaluation cycle.
Suppose reviewers discover that the assistant repeatedly gives outdated payment-reversal instructions because the retrieval index contains an old policy document.
The team should not simply add a generic test asking whether the assistant can explain payment reversals. It should preserve the failure condition:
- The question refers to a policy that has recently changed.
- The retrieval system contains both an old and a current document.
- The assistant must identify the current applicable policy.
- The answer must not rely on the superseded instruction.
- The test verifies the expected response and the source used to support it.
The confirmed failure becomes a new evaluation case. The team can run it against future prompt, model and retrieval changes to check whether the same problem returns.
This is how production monitoring and offline evaluation form a feedback loop. Monitoring discovers cases that the original test dataset did not adequately represent. Evaluation makes those cases reproducible before the next release.
The loop should preserve the context needed to reproduce the failure, including relevant application and model versions, retrieval configuration and the evaluation criteria. Sensitive customer information should be removed or protected before production examples are reused.
8. What technology leaders should ask
Before accepting a production AI monitoring implementation, ask engineering teams to demonstrate three things:
- Can you distinguish a good response from a successful business outcome? Show an interaction where the answer was relevant but the downstream task did not complete. Explain which system establishes the final outcome.
- Can you explain what your production quality score actually measures? Identify the evaluator, its rubric, the data it receives, how it was checked against human judgment and which traffic it evaluates.
- Can a confirmed production failure become a repeatable test? Show how a reviewed failure is converted into a sanitized evaluation case and used to test a later system version.
If a dashboard can show response quality and latency but cannot establish whether the intended workflow succeeded, it is measuring only part of production performance.
9. Conclusion
Offline evaluation and production monitoring answer different questions. Evaluation tests a candidate system against defined criteria. Monitoring observes how the deployed system behaves under real traffic and changing conditions.
But the most important measurement gap appears after deployment: the correct outcome may not be known when the AI generates its response. User feedback, workflow status and infrastructure metrics can provide useful signals, but none should automatically be treated as ground truth.
Enterprises should separate operational health, AI quality and verified business outcomes; preserve identifiers that connect interactions to downstream results; calibrate automated judges against human review; and turn confirmed production failures into regression tests.
This creates a measurement loop in which production experience improves the next evaluation, rather than leaving the test dataset frozen at the assumptions made before release.
There is also a governance question. When an AI system changes, an enterprise needs to know which version was evaluated, what evidence supported its release, who approved the change and whether the relevant review was completed. Those records do not replace runtime evaluation or monitoring. They establish the accountability and evidence around the decisions made as the system evolves.
KlaritiQ focuses on that assurance layer: connecting AI system changes, decisions, approvals and supporting evidence over time. It is not a model evaluation or runtime monitoring platform. These disciplines answer different questions, and enterprises need both to understand whether an AI system remains fit for its intended use.
10. Frequently Asked Questions
1. How can a change in an LLM provider's response format break an AI agent?
An AI agent does not directly understand every response returned by a model provider. Its application code interprets that response and decides what to do next. For example, imagine a customer-support agent asks a model to select a tool for checking an order. The application expects a response containing a tool name and its arguments:
```json
{
"tool_name": "check_order",
"arguments": {
"order_id": "ORD-8472"
}
}
```
The application reads `tool_name`, identifies the corresponding function and passes the order ID to the order-management service. Now imagine that a provider or SDK update changes how tool calls are represented. Instead of returning the structure the application expects, the response contains a different object structure or places the tool call inside a new field. The model may have selected the correct tool, but the application's parser can no longer find it. The agent may fail to execute the request, fall back to a text response or incorrectly handle the result.
Similar problems can occur with ordinary response fields. An application might expect the generated answer under `content`, but a changed response object exposes content through a different structure. It can also happen with streaming responses, where the application receives a sequence of events such as text fragments, tool-call information and a completion event. If the event structure or completion behavior changes, the application might treat an incomplete response as finished or fail to assemble the final answer. These are integration-contract failures: the provider and application no longer agree on how information is exchanged. The underlying model may still be capable of answering correctly, but the application cannot reliably interpret or use its response.
2. How can enterprises detect upstream provider changes and prevent them from breaking production agents?
Enterprises should not rely exclusively on provider announcements to discover changes. They should validate responses at the integration boundary and monitor whether the application is receiving and interpreting the expected information. For example, if an order-management agent expects every `check_order` tool call to contain an `order_id`, its application should validate that the field exists and has the expected type before invoking the order service. A missing ID, unexpected field structure or invalid value should stop the operation rather than allow an incomplete request to continue.
Teams should also maintain contract tests using representative provider responses. Suppose an application has saved examples of successful text responses, tool calls, refusals, incomplete responses and errors. When the provider, SDK, API version or integration code changes, these examples can be replayed against the updated integration to check whether the application still interprets them correctly. A provider adapter can further reduce dependency on external formats by converting provider-specific responses into one stable internal structure used by the rest of the application. In production, teams should monitor parsing failures, missing fields, unexpected tool-call structures, incomplete responses and fallback rates. They should record the provider, model identifier or snapshot, API version, SDK version and application version associated with each interaction so that a failure can be traced to the relevant dependency configuration.
If a response fails validation, the application should block any consequential tool execution, preserve the failed interaction for investigation and use a controlled fallback or human-review process. The team can then compare the previous and current response formats, update the adapter and rerun contract and regression tests before releasing the change. However, not every upstream change is structural. A provider may retain exactly the same JSON structure while a model update changes which tool it selects, how it interprets instructions or the answers it generates. Detecting this requires task-specific evaluations against representative cases, not just schema validation. Enterprises therefore need both contract testing, which checks whether the application can interpret provider responses, and quality evaluation, which checks whether the resulting agent behavior remains acceptable.
3. Why should an AI agent's claimed result be verified in the system it operates?
An AI agent can report that it completed an action even when the external system did not reach the intended state. A travel agent might tell an employee that a flight is booked, but the airline's reservation system may contain no confirmed booking. A customer-support agent might say that a refund was processed, while the payment provider still shows the transaction as pending. A shopping assistant might confirm an order cancellation even though the order-management system still shows the package awaiting dispatch. An IT agent might report that an employee's access was revoked, while an active application session or separate permission remains valid. In each case, the agent's response establishes what it communicated, not what the connected business system completed. Evaluations should therefore verify the final state using the system that owns the transaction, reservation, order or access record. This distinction is particularly important for agents that can modify business data or trigger consequential actions.
4. When should an AI agent use automated guardrails or route an action to a human approver?
Automated guardrails should run at the points where an application receives information, generates a response or attempts an action. For example, a payment agent can be configured to reject a proposed refund if the amount exceeds its authorized limit, the required transaction identifier is missing or the customer is not eligible under the applicable policy. These checks can prevent invalid or unauthorized actions without requiring a person to review every interaction. However, when an action is consequential, ambiguous or outside the agent's authorized operating limits, the application should pause execution and route the proposed action to an authorized human. Consider an insurance agent that recommends a ₹75,000 payout but identifies conflicting information in the submitted documents. Instead of calling the payment tool, the application should place the proposed payout, supporting evidence, policy checks and reason for escalation into a human approval queue. The reviewer can approve, reject or request additional information. The application should execute the approved action using the reviewed parameters, rather than asking the model to generate the action again. If approval is not received within the defined time, the action should remain blocked or follow an explicit escalation policy. A queue is useful because it preserves the pending task and its context while the human decision is awaited; it should never be treated as permission to execute automatically.
5. What is human adjudication in production AI evaluation, and how is it different from human approval?
Human approval and human adjudication happen at different stages. Approval takes place before a consequential action executes. For example, a claims manager approves an AI-recommended insurance payout before the payment system processes it. Adjudication happens when a reviewer examines an interaction or completed workflow and determines whether the AI behaved correctly. Suppose a customer-support assistant recommends a payment reversal, but the customer later reopens the case because the reversal never completed. A reviewer can inspect the conversation, policy, tool-call records and payment-system status, then label the interaction as incorrect, partially correct or inconclusive according to a defined evaluation rubric. That reviewed case becomes an adjudicated example that can be used to assess production quality and check whether automated evaluators are making reliable judgments. Enterprises can route cases for adjudication when automated judges disagree, evidence is insufficient, user feedback indicates a possible failure, a new failure pattern appears or a sampled quality audit selects the interaction. The resulting human labels should be compared with automated evaluations to identify where the judge needs recalibration. An adjudicated case does not automatically authorize or reverse a business action; it establishes a reviewed assessment of what happened. If an action still needs authorization, that must be handled through a separate approval control.