FISTA Solutions does not load Google Analytics until you accept. Rejecting keeps optional analytics off. Read the Cookie Policy.

All field notes

Whitepaper · 8 minute read

AI Observability Reference Model: A Whitepaper

AI observability is the ability to understand what an LLM application or agent is doing in production and why, through step-level traces of prompts, retrieved context, tool calls, and outputs; metrics for latency, errors, cost, and volume; quality signals from sampled scoring and user feedback; drift indicators; and alerts that route to named owners, with sensitive data redacted.

By FISTA Solutions· AI-Native Engineering Team·
AI Observability Reference Model: A Whitepaper article cover

An LLM application can be up, fast, and error-free while confidently telling customers the wrong thing. Conventional monitoring will show green. That is why AI systems need observability that includes quality, cost, and behavior, not just availability. This whitepaper defines a reference model for observing LLM applications and agents in production, tool-agnostic and applicable to any stack.

What is AI observability?

AI observability is the ability to understand what an AI system did, why, at what cost, and how well, for any request and across all requests over time. It rests on four signal classes and one structural artifact:

ElementWhat it provides
TracesStep-level record of each request: prompts, context, model, tools, outputs, decisions
Operational metricsVolume, latency, errors, timeouts, throughput
Quality signalsSampled scoring, human review outcomes, user feedback, escalation rates
Cost telemetryTokens, model calls, tool calls, and cost per request, feature, and tenant
Drift indicatorsShifts in inputs, confidence, outputs, and quality relative to baselines

The foundational explainer is AI agent observability; the operational how-to is how to monitor AI in production.

Why is observability harder for AI systems?

Three reasons. Failures are silent: a wrong answer looks like a right one to the infrastructure. Behavior is path-dependent: agents take different routes to the same task, and the route matters. Dependencies are opaque: model providers change behavior without notice, and retrieval quality depends on content that changes daily. Observability has to make all three visible.

What does a complete trace contain?

A trace is the unit of forensic and quality analysis. For each request it records:

  1. Identity and context: request ID, user or agent principal, tenant, session, feature.
  2. Inputs: user message and any structured inputs, after redaction.
  3. Query processing: rewritten queries, decomposition, routing decisions.
  4. Retrieval: sources queried, chunks retrieved and reranked with scores, permission filters applied.
  5. Model calls: model and version, parameters, system and user prompts, token counts, latency, output.
  6. Tool calls: tool, arguments, result summary, latency, errors, sandbox metadata.
  7. Validation: schema checks, policy checks, content checks and their outcomes.
  8. Oversight: confidence, gate decision, approver identity, approval latency.
  9. Output: final response or action, citations, and effect.
  10. Cost: per-step and total.

Traces are linked so that a multi-step agent trajectory is viewable as one record. Sensitive content is redacted or tokenized at capture, and access to raw traces is controlled and logged; see AI data leakage prevention. An LLM gateway is the natural capture point for model calls; see how to build an LLM gateway.

Which operational metrics matter?

MetricWhy it matters
Request volume by feature and tenantCapacity planning; anomaly detection
Latency percentiles per step and end to endBudget compliance; locating slow stages
Error, timeout, and retry ratesReliability; provider health
Cache hit rateCost and latency optimization
Fallback activation rateProvider degradation
Escalation and gate ratesAutonomy health; queue load
Queue wait time for approvalsOversight capacity
Tool call success rateIntegration health

Latency budgets are set per step so that a regression can be attributed to retrieval, reranking, generation, or tools. See what is latency in AI systems.

How are quality signals captured in production?

Quality is measured continuously through four channels:

  • Sampled automated scoring: a fraction of live traffic scored by the same graders used on the golden set, with results tracked by category. See the AI evaluation and testing whitepaper.
  • Human review: scheduled stratified samples reviewed against the same guidelines, weighted toward high-consequence and low-confidence cases.
  • User feedback: explicit ratings and implicit signals such as rephrasing, abandonment, or override.
  • Downstream outcomes: where available, whether the action or answer led to the intended business result.

Quality metrics are reported per category and per version, so a decline in one class is visible even when the average holds.

How is cost observed and controlled?

Cost telemetry attributes spend to request, feature, tenant, model, and step. It reveals which features are expensive, which prompts have grown, where retries and loops inflate spend, and how caching and routing are performing. Alerts fire on cost anomalies and budget thresholds, and the gateway can enforce limits automatically. Cost dashboards are shared with finance, which is what makes the Digital FTE economics measurable; see the Digital FTE economics whitepaper and how to build an AI cost dashboard.

How is drift detected?

Drift is the gap between the world the system was evaluated on and the world it now faces. Indicators include:

  • Input drift: shifts in topic distribution, language, length, or format of requests.
  • Confidence drift: changes in the distribution of confidence scores or escalation rates.
  • Output drift: shifts in category distribution, refusal rates, or citation patterns.
  • Quality drift: declining sampled scores or human-review pass rates.
  • Dependency drift: provider model version changes, retrieval index age, source-system schema changes.

Baselines come from launch metrics and the golden set. Alerts on statistically meaningful shifts route to owners, who confirm with review before adjusting the system or the dataset. Concepts are covered in what is model drift.

What is different about observing agents?

Agents require trajectory-level observability. A single task may involve planning, several retrievals, many tool calls, validation decisions, and gate approvals. The observability model adds:

  • A trajectory view that shows the sequence of steps, decisions, and branches as one record.
  • Behavioral metrics: steps per task, tool-call patterns, loop detection, cost per task, time to completion.
  • Safety telemetry: validation failures, blocked actions, unusual tool sequences or destinations, permission denials.
  • Outcome attribution: whether the task succeeded, and at which step failures originated.

These signals are also security telemetry and should flow to the security operations center; see the AI agent security architecture whitepaper.

How should alerting be designed?

Alerts route to named owners with context. A practical alert set:

AlertRoute to
Error, timeout, or fallback rate above thresholdEngineering on-call
Latency budget breach per stepEngineering on-call
Cost anomaly or budget thresholdEngineering owner and finance
Sampled quality below threshold in any categoryBusiness owner and engineering owner
Drift indicator beyond baselineBusiness owner and engineering owner
Safety validation failures or blocked actions spikeSecurity and engineering
Approval queue wait time above targetBusiness owner
Provider model version change detectedEngineering owner (triggers evaluation run)

Every alert has a runbook. Alerts without runbooks are noise.

How does observability feed evaluation and governance?

Observability closes two loops. The evaluation loop: production failures and drift findings are triaged and added to the golden set, so the suite tracks reality. The governance loop: quality, incident, cost, and autonomy metrics flow into the agent register and the governance body's reviews, and provide the evidence for autonomy-level changes. Without observability, governance is reporting on assumptions; see the agentic AI governance whitepaper.

What about privacy, retention, and access?

Traces contain prompts, retrieved documents, and outputs, which means they contain whatever sensitive data the system handles. Requirements:

  • Redaction or tokenization of sensitive fields at capture, according to data classification.
  • Access control on trace stores, with access itself logged.
  • Retention aligned with regulatory record-keeping requirements and data-minimization principles, which may pull in opposite directions and need policy resolution.
  • Residency: trace storage in the required jurisdiction; see AI data residency.
  • Separation between operational telemetry (widely visible) and raw content (tightly controlled).

What does a phased implementation look like?

  1. Capture: gateway-based tracing of model calls with redaction; basic operational metrics; cost attribution.
  2. Extend: retrieval, tool, validation, and gate steps in traces; trajectory view for agents.
  3. Quality: sampled scoring, human review workflow, user feedback capture, per-category dashboards.
  4. Drift and alerting: baselines, drift indicators, alert routing, runbooks.
  5. Integration: feeds to evaluation, governance register, finance dashboards, and security tooling.

Each phase is useful on its own; together they constitute the reference model. The related launch list is the AI observability checklist.

What does observability maturity look like?

LevelCharacteristics
BasicUptime and latency monitored; model calls logged without structure; cost known monthly
InstrumentedStructured traces at the gateway; cost per request; operational dashboards
Quality-awareSampled scoring and human review by category; user feedback captured; per-version reporting
Drift-awareBaselines and drift indicators; alerts routed to named owners with runbooks
IntegratedObservability feeds evaluation, governance register, finance, and security tooling; agents traced at trajectory level

Most organizations operating LLM applications sit at the first or second level and discover the gap when a quality incident cannot be reconstructed. Moving to the third level is the single largest improvement in operational control.

How FISTA Solutions implements AI observability

FISTA Solutions instruments every LLM application and agent to this model as part of delivery, capturing traces at the gateway, attributing cost, sampling quality with calibrated graders, and routing alerts to named owners with runbooks. The AI enablement practice builds the shared observability layer once so every workflow inherits it, and forward deployed engineers integrate it with your existing monitoring, security, and finance tooling. It is one reason FISTA's AI agents run with a 99.9% uptime record across 150+ projects.

If your AI systems are monitored for uptime but not for quality, cost, and drift, message FISTA on WhatsApp to scope an observability review. For the security telemetry side, continue with the AI agent security architecture whitepaper.

Share-ready article cover

Download the generated social format.

Download cover

Clear answers

Questions raised by this field note.

Straightforward guidance for evaluating scope, fit, and the next step.

01What is AI observability?

AI observability is the practice of instrumenting LLM applications and agents so operators can see each request's inputs, context, model calls, tool actions, outputs, latency, and cost, measure quality and drift continuously, and receive alerts when behavior, cost, or quality deviates from expectations.

02How is AI observability different from application monitoring?

Application monitoring tracks availability, latency, and errors. AI observability adds quality, because an AI system can be fully available and fast while producing wrong or unsafe outputs. It also adds cost telemetry per request, drift detection, and step-level traces of model and tool behavior.

03What should you log for an LLM application?

Request ID and user context, system and user prompts, retrieved documents and their sources, model and parameters, output, token counts and cost, latency per step, validation results, gate decisions and approvers, tool calls with arguments and results, and any errors, with sensitive content redacted according to policy.

04How do you detect drift in an AI system?

Track distributions of inputs, confidence scores, output categories, escalation rates, and sampled quality scores over time, compare them to baselines from launch and the golden set, and alert on statistically meaningful shifts. Confirm with human review before acting.

05Which tools are used for LLM observability?

Teams use a mix of general observability platforms extended with LLM tracing, purpose-built LLM observability products, and in-house pipelines built on an LLM gateway. The right choice depends on existing tooling, data-residency requirements, and whether agents and tool calls must be traced. The model here is tool-agnostic.

Start with the hard problem

Need the outcome owned, not merely analyzed?

Tell us where delivery is constrained. We’ll map the fastest credible path from intent to verified production.

Start a project