Traditional monitoring can tell you that your AI is running, but it can't tell you if it's telling the truth. That's the gap LLM observability aims to fill.
Why traditional monitoring went blind
Standard metrics like CPU usage, latency, and error rates were designed for deterministic software. But large language models (LLMs) are probabilistic: they can return a plausible-sounding answer that is completely wrong. When an API returns a 200 status, your monitoring dashboard shows green, even if the model just invented a fact.
Traces and spans: the glass box
LLM observability tools capture traces and spans for every request. A trace follows a user query as it passes through retrieval, prompt construction, LLM inference, and output generation. Each step is a span that records inputs, outputs, and token counts. This lets you replay a conversation and pinpoint exactly where the model went off the rails.
One model call vs. a whole agent
Simple chatbots are easy to observe—they take a prompt and return a response. But agentic systems chain multiple model calls, tool invocations, and memory lookups. Errors compound: a hallucination in one step can poison downstream decisions. Observability must track the entire DAG of operations, not just the final output.
Evals: you have to grade the output
Observability without evaluation is just logging. Evals measure whether the model's response is correct, harmless, and follows instructions. They can be as simple as exact-match checks or as complex as rubrics for summarization quality. The key is to automate grading so you can detect regressions as you update prompts or models.
LLM-as-a-judge: who judges the judge?
A popular technique is to use a second LLM to evaluate the first. This works surprisingly well for many tasks, but it introduces meta-hallucinations: the judge LLM can also be wrong. Best practice is to calibrate the judge against a golden set of human-labeled examples and to use ensemble judges for critical applications.
Agent observability: the unsolved frontier
Agents that browse the web, execute code, or control external APIs are the hardest to observe. Their behavior depends on live state, and failures are often silent. New approaches include step-by-step replay and intermediate state snapshots. The community is still exploring what a comprehensive agent observability stack looks like.
How to start (for free)
Start with open-source tools like OpenLLMetry, Langfuse, or Arize Phoenix. They integrate with popular frameworks (LangChain, LlamaIndex) and let you trace, store, and evaluate LLM calls without paying for a hosted service. Begin by instrumenting one endpoint and checking a handful of evals. You'll find surprising failures even in models you trusted.