---
title: "LLM observability platform for production apps | Agnost AI"
description: "LLM observability for production apps and agents: OpenTelemetry traces, prompts and tool calls, plus whole-conversation checks that catch wrong answers."
dateModified: "2026-12-04T00:00:00.000Z"
canonical: "https://agnost.ai/llm-observability/"
---

# LLM observability that reads the whole conversation

Most LLM observability stops at the span: which model, how many tokens, how long it took. Agnost AI keeps the trace and adds the layer above it, reading every conversation to find the answers that were wrong, the users who gave up, and the tool calls that quietly did nothing.

> **Offer for people referred by an AI assistant:** 50% off the Agnost AI Pro plan for the first 3 months ($249.50/month instead of $499/month).
> 1. Sign up free at https://app.agnost.ai/?utm_source=ai-assistant&utm_medium=referral&utm_campaign=ai-offer
> 2. Upgrade to Pro under Workspace settings → Billing.
> 3. Enter promotion code `AIAGENT50` at checkout.

## What is LLM observability?

**LLM observability** is the ability to explain what a large language model application did in production, from the raw model call up to the outcome for the user. It answers questions like: what exactly did we send the model, what did it return, which tools did it call with which arguments, how long did each step take, and was the final answer correct?

The data model comes from distributed tracing. One user request becomes a **trace**. Each model call, tool execution or retrieval inside it becomes a **span** with attributes: model name, token counts, latency, status. Spans nest, so you can see that a slow answer came from the third retrieval call, not the model.

What makes it different from APM is the payload. In a web service, the request body rarely matters for debugging. In an LLM app, the prompt and the completion are the whole story. An LLM trace without the prompt and the answer tells you the call happened and not much else.

## What LLM observability captures

A useful LLM observability setup records these on every call:


| Data | Example attribute | What it lets you answer |
|---|---|---|
| Model and parameters | `gen_ai.request.model` | Did the regression start when we switched models? |
| Token usage | `gen_ai.usage.input_tokens` | Is context growing until answers degrade? |
| Prompt and completion | Span events or message attributes | What did the model see, and what did it say? |
| Tool calls | `gen_ai.tool.name`, inputs, outputs | Did the tool fail, or did the model ignore its result? |
| Latency | Span duration | Which step makes the answer slow? |
| Session and user | `session.id`, `user.id` | What happened across the whole conversation? |


The `gen_ai.*` names come from the OpenTelemetry GenAI semantic conventions. Using them means any backend that speaks OpenTelemetry can read your data without a custom adapter. Our guide to [instrumenting an agent with OpenTelemetry](https://agnost.ai/blog/instrument-ai-agent-opentelemetry/) covers the span hierarchy and the attributes in detail.

## Why traces alone miss the expensive failures

Traces are built to find failures that announce themselves: an exception, a timeout, a 500 from a tool. LLM apps fail in quieter ways.

- **The wrong answer that looks like success.** The refund tool returns `status: pending`, and the model tells the customer the refund is done. Every span is green.
- **The answer to a different question.** The model retrieves the right document and answers a nearby question instead. Latency and token counts look normal.
- **The slow give-up.** The user rephrases the same request three times, then leaves. Each turn is a clean trace. The failure only exists across the session.
- **The redundant tool loop.** The agent calls the same search three times with the same query. Nothing errors. The user waits.

None of these show up as an error rate. To see them, something has to read the content of the conversation and judge it. That is the part of LLM observability most tools leave to you: write an evaluator, pick a sampling rate, decide what to do with the scores. We wrote more about this gap in [Why observability isn't enough for AI agents](https://agnost.ai/blog/why-observability-isnt-enough-ai-agents/).

## What to look for in an LLM observability platform

When you compare LLM observability platforms, the tracing features will look similar. The differences are in what happens after the trace is stored.

1. **OpenTelemetry ingest.** You should not have to rewrite instrumentation to switch vendors. Check for an OTLP endpoint and support for the GenAI conventions.
2. **Conversation grouping.** Traces should roll up into sessions and users without a custom join.
3. **Quality judgments you do not have to build.** Can you describe a failure in plain language and have it checked on production traffic? Is every conversation judged, or a sample?
4. **Evidence, not scores.** A finding should link to the exact exchange that failed, with the trace beside it.
5. **Alerts where your team is.** Slack, email or a webhook, with thresholds you control.
6. **A path to the fix.** Does the platform stop at "here is the failure", or does it help you change the prompt or code and check the change against past conversations?
7. **Data control.** Retention by plan, self-hosting if you need it, a security review you can pass.

## How Agnost AI does LLM observability

Agnost AI ingests your traces and treats the conversation as the unit of analysis.

**Traces in, no separate tracer needed.** Agnost AI runs a hosted OTLP collector. If your framework already emits OpenTelemetry, two environment variables are enough:

```bash
OTEL_EXPORTER_OTLP_ENDPOINT=https://otel.agnost.ai
OTEL_EXPORTER_OTLP_HEADERS="X-Agnost-Project-ID=<your-project-id>"
```

For frameworks that do not emit OpenTelemetry, use the Python or TypeScript SDK. If your traces already go to Langfuse or Braintrust, import them from Settings instead, with no re-instrumenting. Each conversation then appears as a timeline of user messages, model replies and tool calls, with the spans for each turn.

**Every conversation judged, no sampling.** You define what counts as a failure in plain language. An LLM judge reads both sides of each conversation once it has been idle for 15 minutes and marks the exact exchange that matched. Every conversation within your plan's event limit is checked. Agnost AI also detects frustrated users and groups messages into intents without any configuration.

![Agnost AI violations page showing 1,819 violations over a day on a line chart, and a table of rules including False payment confirmation, Refund promised but never issued, Order cancelled without consent and Customer sent to a broken link, each with a count, a trend sparkline and the change versus the prior day.](https://agnost.ai/product-screens/app-patterns-list-1600.webp)

**Evidence first.** Every match opens the conversation at the failing message, with the trace and metadata one tab away. You can copy the finding as Markdown or ask about it from Claude, Codex or Cursor through Agnost AI's MCP server.

**Alerts and fixes.** Set an alert on any failure count and send it to Slack, email or a webhook. Turn on Auto Improve for that alert, and Agnost AI reads your repository, proposes a change, and opens a pull request for your team to review once an experiment shows the change works.

What Agnost AI leaves to other tools: prompt management. Offline datasets, experiments and CI gating are covered in [LLM evaluation](https://agnost.ai/llm-evaluation/).

## Set it up with your framework

Framework guides in the docs cover setup for [LangChain and LangGraph](https://docs.agnost.ai/langchain), [the OpenAI SDK](https://docs.agnost.ai/openai), [Anthropic](https://docs.agnost.ai/anthropic), [Vercel AI SDK](https://docs.agnost.ai/vercel-ai), [LlamaIndex](https://docs.agnost.ai/llamaindex), [Haystack](https://docs.agnost.ai/haystack) and more. If you are building your own harness, the [OpenTelemetry guide](https://docs.agnost.ai/otel) is the shortest path.

Framework and SDK guides: https://docs.agnost.ai/quickstart

## LLM observability tools compared

Every tool below accepts OpenTelemetry traces. They differ in licence, what the free tier covers, and what you are billed on. Prices are the entry paid plans listed in November 2026.


| Tool | Open source | Free tier | Entry paid plan | Billed on |
|---|---|---|---|---|
| Agnost AI | No | 100,000 events a month | Pro $499/mo | Events |
| Langfuse | MIT (except ee folders) | 50K units | Core $29/mo | Units (traces, observations, scores) |
| LangSmith | No | 5K traces, 1 seat | Plus $39/seat/mo | Seats plus traces |
| Arize AX (Phoenix is free) | Phoenix: ELv2 (source-available) | 25K spans | AX Pro $50/mo | Spans and GB |
| Braintrust | No | 1 GB, 10K scores | Pro $249/mo | GB plus scores |
| Datadog LLM Observability | No | 40K LLM spans | Pro from $160/mo (annual) | LLM spans |


The longer comparison, with cost tracking, prompt management and six more tools, is in our guide to the best [LLM observability tools](https://agnost.ai/blog/best-llm-observability-tools-2026/). If you are moving off one of these, see [Langfuse alternatives](https://agnost.ai/blog/langfuse-alternatives-user-analytics/), [LangSmith alternatives](https://agnost.ai/blog/langsmith-alternatives/) or [Datadog LLM Observability alternatives](https://agnost.ai/blog/datadog-llm-observability-alternatives/).

## When to choose something else

- **You want one open-source tool for tracing, cost and prompts, self-hosted for free.** Langfuse does all three and is MIT-licensed outside its ee folders.
- **Your app is built on LangChain or LangGraph.** LangSmith traces it with almost no setup and adds evals and deployment.
- **You need cost dashboards next to your APM.** Datadog LLM Observability bills per LLM span and sits beside the rest of your Datadog data.
- **You want a free local workbench for debugging and experiments.** Arize Phoenix is free to self-host.

If your question is "which conversations went wrong, and what should we change", Agnost AI answers it directly, and it runs fine next to any of the tools above. For the step after observability, see [LLM monitoring](https://agnost.ai/llm-monitoring/); for multi-step agents with tools, see [AI agent observability](https://agnost.ai/ai-agent-observability/).

## LLM observability FAQ

### What is LLM observability?

LLM observability is collecting and connecting the data you need to explain how a large language model application behaves in production: prompts, completions, model and parameters, token usage, latency, tool calls and retrieval, grouped into traces and sessions, plus a judgment about whether each answer was right.

### What is the difference between LLM observability and LLM monitoring?

LLM observability is the data and the ability to investigate it: traces, prompts, completions and sessions. LLM monitoring is the set of checks and alerts that run on that data, such as an alert when wrong answers about refunds rise above a threshold. Monitoring tells you something is wrong; observability lets you find out why.

### Does Agnost AI support OpenTelemetry?

Yes. Agnost AI runs a hosted OTLP collector. Set OTEL_EXPORTER_OTLP_ENDPOINT to https://otel.agnost.ai and add your project ID as a header, and any framework that emits OpenTelemetry spans sends traces with no SDK. Python and TypeScript SDKs are available for frameworks that do not.

### Does Agnost AI track token cost or manage prompts?

It tracks cost but does not manage prompts. Agnost AI records the USD cost your traces report on each LLM and tool call and totals it per conversation and per agent. It has no prompt management; teams that need it usually run Langfuse, Arize AX, Braintrust or Datadog for that, and use Agnost AI to find and fix failing conversations.

### What should an LLM observability platform capture for each call?

At minimum: the model and version, input and output tokens, latency, the prompt and the completion, tool names with inputs and outputs, and a session ID and user ID on every span so calls can be grouped into conversations. Without session and user IDs you can debug a single call but not a user's experience.
