Effective LLM monitoring in production rests on five practices: track service health, workflow behavior, answer quality and business outcomes together; log the full agent trajectory; use several independent metrics instead of one score; set thresholds that trigger named human action; and retain evidence that can be audited. This guide covers each practice for organizations that run LLM applications and conversational AI agents in front of customers.
TL;DR
- Monitor four layers: service health, workflow behavior, answer and action quality, and user and business outcomes. Uptime alone misses most customer-facing failures.
- Record the agent’s trajectory (tool calls, state changes, handoffs), not only its final text.
- Use a portfolio of metrics: groundedness, safety, p95 latency, and cost per successful task, rather than a single quality number.
- Where the EU AI Act applies to a high-risk system, deployers must monitor operation, assign human oversight and keep logs for at least six months.
- Internal monitoring shows what the vendor instruments. Independent testing shows what a customer experiences.
Table of Contents
- What LLM monitoring covers in production
- Practice 1: Trace the whole trajectory
- Practice 2: Measure several dimensions, not one score
- Practice 3: Set thresholds, alerts and drift checks that lead to action
- Practice 4: Monitor escalation and disclosure as first-class behaviors
- Practice 5: Plan for EU AI Act monitoring duties
- Practice 6: Investigate failures without exposing customer data
- Why internal monitoring needs an independent check
- Turning monitoring into a repeatable program
- How Lexic supports independent monitoring
- FAQ
- Sources
What LLM monitoring covers in production
LLM monitoring is the continuous measurement of how a language model application behaves once real users reach it. For a customer service agent, that goes beyond whether the API responds. One practitioner guide on post-launch agent behavior splits a monitoring plan into four areas: service health (availability, latency, errors, timeouts, dependency health), workflow behavior (steps, tool calls, retries, routing, stop conditions), answer and action quality (source support, correct tool use, policy compliance, human review), and outcomes (resolution, repeat contact, customer feedback, staff effort, cost).
The four layers fail differently. A service can be fast and available while the agent quotes a policy that does not exist. A workflow can complete every step and still route a distressed customer away from a human. Each layer needs its own signals and its own owner.
| Layer | What to watch | Typical owner |
|---|---|---|
| Service health | Availability, p50 and p95 latency, error and timeout rates, dependency status | Engineering, IT |
| Workflow behavior | Tool-call success, retries, routing decisions, loops, stop conditions, escalations | Engineering, QA |
| Answer and action quality | Groundedness, correctness, policy adherence, tone, safety events | QA, compliance |
| Outcomes | Resolution, repeat contact, satisfaction, cost per successful task | CX, operations |
Practice 1: Trace the whole trajectory
Agents are non-deterministic and can take real actions, so checking the final answer is not enough. Singapore’s IMDA, in its Starter Kit for Testing Agentic Systems, points to deeper observability into the agent’s process, including tool interactions, trajectories and human approvals. It also recommends logging that records actions, tool calls, interactions, state changes and outcomes, so that behavior can be reconstructed and assessed afterward.
In practice, a useful trace for each conversation includes:
- The user input and any retrieved context passed to the model.
- The model and prompt or policy version in force.
- Each tool call, with parameters, result and any retry.
- Each routing decision, including escalations to a human and handoff outcome.
- The final response and the outcome of the interaction.
Tool use is where agent risk concentrates. A runtime pattern and production checklist for agent tool calling is a good companion when deciding which calls to log and which failures to surface.
Practice 2: Measure several dimensions, not one score
A single quality number hides trade-offs. Production evaluation guidance converges on a portfolio. One framework from Hiro Solutions recommends quality, safety, reliability and cost dimensions, combining hard checks (no prohibited content, response under a time budget, successful tool call) with soft checks (completeness, relevance, tone, factual grounding). It also favors outcome-based cost, such as cost per successful task, and tail-latency breach rates over averages.
A workable starter set:
- Groundedness and hallucination rate. Share of responses containing claims unsupported by the provided context or approved sources.
- Task success. Whether the customer’s underlying job was completed, not just whether a reply was produced.
- Policy adherence. Compliance with disclosure, refund, privacy and escalation rules.
- Safety events. Guardrail triggers, prompt-injection attempts, toxicity flags, personal data leakage and unexpected changes in refusal rate, including over-refusal.
- Latency. p50 and p95, plus the share of responses exceeding the time budget.
- Cost per successful task. More informative than cost per call, because failed attempts still cost money.
Human review remains necessary for nuance. GrowthBook’s guidance on measuring AI output quality states that human review is the only method that reliably evaluates dimensions such as tone, nuanced usefulness and safety. Automated scoring is best used to find the conversations that deserve a reviewer’s time.
For a broader view of how these dimensions behave in infrastructure, this overview of LLM performance tuning in production covers monitoring from the deployment side.
Practice 3: Set thresholds, alerts and drift checks that lead to action
A dashboard nobody acts on is not monitoring. Each metric needs a threshold, an owner and a defined response.
- Zero-tolerance events. Personal data leakage and confirmed safety violations should alert immediately and open an incident.
- Rate-change alerts. Alert on movement rather than only on absolute values: a rise in prompt-injection detections, a shift in refusal rate, or a spike in escalation failures.
- Drift checks. Compare current input topics, retrieval quality and score distributions against a baseline after every model, prompt or knowledge-base change.
- Release gates. Re-run the evaluation set before changes reach production, and sample live conversations afterward.
- Sampling for review. Route low-scoring, high-risk or high-value conversations to human reviewers on a fixed cadence.
The pattern for turning findings into fixes is consistent across tools: use monitors to surface patterns, apply human judgment to find root cause, then route specific recommendations to the people who can change the knowledge article, procedure or rule responsible. Findings that name a fixable source get closed. Findings that say “quality is down” do not.
Practice 4: Monitor escalation and disclosure as first-class behaviors

Most monitoring programs track accuracy and latency. Two customer-facing behaviors are often left out: whether the agent hands off to a human when it should, and whether it discloses that the customer is talking to an AI.
Lexic’s own audits point to why this matters. Across the agents assessed, 85% failed to escalate issues to a human representative appropriately. That figure comes from Lexic’s audit work, not from a published industry benchmark, and it shows how a technically healthy agent can still fail the customer at the moment it matters most.
Monitor these explicitly:
- Escalation triggers: explicit requests for a human, repeated failed attempts, complaints, vulnerable-customer signals and out-of-scope requests.
- Handoff quality: whether context transfers, whether the customer waits, and whether the human can resolve the issue.
- Disclosure: whether the agent identifies itself as AI when required, and does so consistently across channels.
Practice 5: Plan for EU AI Act monitoring duties
Companies that deploy AI agents to customers in the EU, including US companies entering the market, should map their systems against Regulation (EU) 2024/1689. Whether a given agent is high-risk depends on its use case, so classification comes first. For high-risk systems, the consolidated regulation text on EUR-Lex sets out the following:
- Transparency (Article 13). Instructions for use must let deployers interpret the system’s outputs appropriately.
- Human oversight (Article 14). Natural persons must be able to oversee the system effectively during use, through suitable human-machine interface tools.
- Post-market monitoring (Article 72). Providers must establish and document an active monitoring system, based on a monitoring plan within the technical documentation, to evaluate continuous compliance over the system’s lifetime.
Deployer duties are summarized in Article 26 on the Better Regulation service: follow the instructions for use, assign human oversight to competent, trained and authorized people, monitor operation, inform providers and market surveillance authorities of risks, suspend use where necessary and report serious incidents immediately. Law firm guidance on Article 26 confirms the log-keeping duty: logs automatically generated by the system and under the deployer’s control must be kept for at least six months, unless other law provides otherwise.
The practical consequence is that monitoring evidence doubles as compliance evidence. Logs, review records and remediation notes should be organized so that a regulator, auditor or vendor can follow them.
Practice 6: Investigate failures without exposing customer data
When an agent fails, the investigation needs the full conversation, which often contains personal data. Two controls keep that manageable.
First, limit and protect the data. Redact personal identifiers from stored traces where the investigation does not need them, restrict access to reviewers with a defined need, and keep the retention period consistent with applicable law, including the six-month minimum noted above where the AI Act applies. Where the investigation requires identifiable data, document who accessed it and why.
Second, preserve evidence that holds up. Record the model, prompt and policy versions, timestamps, the exact conversation and the remediation taken. Evidence that cannot be shown to be unaltered is weak in a vendor dispute or a regulatory review. Lexic’s approach uses third-party cryptographic hashing to verify evidence integrity and support traceability.
A simple incident record includes:
- What happened, with the conversation reference.
- Which layer failed: service, workflow, quality or outcome.
- Root cause, such as a stale knowledge article, a missing escalation rule or a tool error.
- The fix and who owns it.
- The re-test result confirming the fix.
Why internal monitoring needs an independent check
Vendor dashboards and in-house observability measure what they were built to instrument. They report on traces the system generates. They do not necessarily reveal what a customer experiences from outside: an agent that never offers a human, discloses nothing, or can be talked out of its instructions can look healthy on every internal metric.
An independent assessment interacts with the agent the way a real user would, across customer experience, security, technical reliability and regulatory compliance. It also gives organizations evidence to hold vendors accountable when the agent is built and hosted by a third party.
Perspective
We built Lexic around one observation: monitoring the agent from the inside and judging it from the outside are different jobs, and organizations need both.
Internal tooling answers whether the system ran. It cannot easily answer whether the conversation served the customer, whether the agent escalated when it should have, or whether it complied with the rules that apply to the market. Our audits, which found that 85% of assessed agents failed to escalate appropriately, show the gap clearly.
That is why Lexic Compass assesses agents from any vendor through real interactions and produces evidence that teams can act on, with cryptographic hashing to support its integrity. We pair this with analysis of customer conversations through Lexic Pulse, so that oversight of the agent connects to what customers actually need. Organizations that govern AI agents with independent evidence keep control as deployments scale.
Sergio Llorens
Turning monitoring into a repeatable program
A monitoring program that lasts follows a cadence.
- Define scope. List every customer-facing agent, its vendor, its channels and its EU exposure.
- Set the metric portfolio. Choose the dimensions above and assign an owner to each.
- Instrument traces. Capture trajectories, versions and outcomes.
- Baseline. Measure current behavior before tightening thresholds.
- Review weekly. Sample flagged conversations, assign fixes, and confirm them with re-tests.
- Audit independently. Test from the customer’s side at launch, after major changes, and on a recurring schedule.
- Retain evidence. Keep logs, reviews and remediation records organized for auditors and regulators.
How Lexic supports independent monitoring
Lexic Compass is the AI Agent Audit platform: it independently assesses conversational AI agents from any vendor, identifying blind spots in customer experience, security, technical reliability and regulatory compliance, including issues that traditional monitoring may miss. Engagement options include Flash Preview, Audit Sprint and Enterprise Continuous Trust, described on the Compass audit page. Details on the platform are on the Lexic Compass page.

For analysis of 100% of customer conversations across calls, chats, emails and tickets, with sentiment, churn and opportunity insights, see Lexic Pulse.
FAQ
What is the difference between LLM monitoring and LLM observability?
Monitoring tracks defined metrics and alerts when they cross thresholds, such as latency, error rates or hallucination rate. Observability adds the traces and logs needed to explain why something happened. Production teams generally need both, because an alert is only useful when the cause can be reconstructed.
Which metrics matter most for a customer service agent?
Start with task success, groundedness, policy adherence, safety events, p95 latency and cost per successful task. Add escalation and disclosure behavior, since these determine whether customers reach a human and know they are talking to AI. No single number replaces the set.
How long should LLM logs be kept?
That depends on applicable law and internal policy. For deployers of high-risk systems under the EU AI Act, logs under their control must be kept for at least six months unless other law provides otherwise. Legal counsel should confirm the period for each system and jurisdiction.
Does a US company need to follow the EU AI Act?
It can, if it deploys or provides AI systems in the EU market. Obligations depend on the system’s risk classification and the company’s role as provider or deployer. Classify each agent first, then map the duties that follow.
Sources
- Monitor AI Agent Behavior After Launch
- Starter Kit for Testing Agentic Systems, IMDA
- AI Output Evaluation Metrics for Quality, Safety, Cost
- How to measure quality in AI outputs
- Regulation (EU) 2024/1689 consolidated text, EUR-Lex
- Article 26 Obligations of deployers, Better Regulation
- Article 26, Mishcon de Reya AI Navigator
- Agent Tool Calling: Runtime Pattern and Production Checklist
- LLM Performance Tuning

