top platforms for agent observability
Summary
- Agent observability platforms record the full execution of an AI agent: every model call, tool call, retrieval, memory operation and sub-agent hop, with inputs, outputs, timing, token usage and errors for each step.
- Agents need more than LLM call logs. A good platform groups multi-turn sessions, traces calls across services, and scores tool use and whole conversations, not only single responses.
- Open-source MLflow covers this with typed spans (AGENT, TOOL, RETRIEVER, MEMORY), session and user IDs on traces, distributed tracing over W3C TraceContext, and judges such as ToolCallCorrectness.
- On Databricks, agents deployed with
agents.deploy()log traces to MLflow automatically, Unity Gateway audits MCP tool calls, and production monitoring and Issue Detection (both Beta) score live agent traffic.
top platforms for agent observability
The top platforms for agent observability show exactly what an agent did on each request (which tools it called, with which arguments, what it retrieved and where it spent time and tokens) and then score whether those decisions were right. The best open-source foundation is MLflow, whose tracing models agents as trees of typed spans and whose judges can evaluate tool calls and full conversations. Whatever platform you pick, check that it handles sessions, multi-service agents and tool governance, because that's where agents break.
Why agents need their own kind of observability
Databricks describes the problem directly: "AI agents run complex, multi-step workflows that combine components such as LLMs, retrievers, tools, and sub-agents." A single input and final answer can't tell you which intermediate decision failed. The agent might have picked the wrong tool, passed a malformed argument, looped on the same search, or answered after retrieval came back empty.
| Agent behavior | What the trace must show | MLflow feature |
|---|---|---|
| Tool use | Arguments, results and errors for each call | TOOL spans, ToolCallCorrectness judge |
| Retrieval | The documents returned for each query | RETRIEVER spans that output Document objects |
| Planning and loops | Step order, repeats and timing | Span tree with parent-child links |
| Memory | Reads and writes to long-term context | MEMORY span type |
| Multi-turn sessions | Which turns belong to one conversation | session_id and user on the trace, session-level judges |
| Multi-service agents | Calls that cross process boundaries | Distributed tracing with W3C TraceContext headers |
Instrumenting an agent with open-source MLflow
Framework autologging (for example mlflow.langchain.autolog() for LangGraph agents) captures each LLM invocation, tool call and agent step as a span. For custom agents, type your spans and attach session context so turns group together:
import mlflow
from mlflow.entities import SpanType
@mlflow.trace(span_type=SpanType.TOOL)
def get_order_status(order_id: str) -> str:
return "shipped"
@mlflow.trace(span_type=SpanType.AGENT)
def handle_turn(message: str, user_id: str, session_id: str) -> str:
mlflow.update_current_trace(session_id=session_id, user=user_id)
status = get_order_status("A-100")
return f"Your order is {status}."
The session_id and user parameters need MLflow 3.11.0 or later. When an agent calls another service, MLflow's distributed tracing stitches spans into one trace using get_tracing_context_headers_for_http_request on the caller and set_tracing_context_from_http_request_headers on the callee.
To score live agent traffic, OSS MLflow's automatic evaluation registers a judge against the experiment:
from mlflow.genai.scorers import ToolCallCorrectness, ScorerSamplingConfig
tool_judge = ToolCallCorrectness(model="gateway:/my-llm-endpoint")
registered_tool_judge = tool_judge.register(name="tool_call_correctness")
registered_tool_judge.start(sampling_config=ScorerSamplingConfig(sample_rate=0.5))
Session-level judges such as ConversationalGuidelines evaluate whole multi-turn conversations, which catches problems such as user frustration that build up across turns.
How to choose an agent observability platform
- Typed, nested spans so tool calls, retrieval and sub-agents are distinguishable at a glance.
- Session grouping for conversational agents, with judges that score the conversation as a unit.
- Cross-service tracing built on OpenTelemetry conventions, since agents often call remote tools.
- Tool governance that records which agent called which tool on whose behalf.
- A path from failure to fix: failing traces should become evaluation data without an export step.
How Databricks approaches agent observability
On Databricks, agent observability runs on managed MLflow Tracing, which records inputs, outputs, latency, token usage and cost for every intermediate step.
- Deployed agents trace automatically. An agent deployed with
agents.deploy()integrates with MLflow 3 real-time tracing, writes traces to the active experiment, and gets the Review App for stakeholder feedback. - Tool calls are governed and audited. Unity Gateway observability logs each MCP request as an
mcpCallaudit event, and therun_byandrun_asfields insystem.access.auditdistinguish a human caller from an agent acting on their behalf. - Live traffic gets scored. Production monitoring, in Beta, runs built-in, custom, code-based and multi-turn judges on sampled traces.
- Recurring failures get grouped. MLflow Issue Detection, also in Beta, uses Genie Code to cluster problems such as repeated identical searches or a missing required tool argument, then monitors the issue rate after a fix. It requires traces stored in Unity Catalog.
FAQs
How is agent observability different from LLM observability?
LLM observability can stop at prompts, responses and token counts. Agent observability also has to capture tool calls, retrieval, memory, sub-agents and multi-turn sessions, and to judge the decisions between those steps.
How do I trace an agent that spans several services?
Use distributed tracing. MLflow propagates trace context over HTTP headers that follow the W3C TraceContext specification, so spans from each service join one trace, as long as every service logs to the same tracking server and experiment.
Can I tell whether a person or an agent made a call?
On Databricks, yes. Unity Gateway audit events carry run_by and run_as fields in identity_metadata, which separate a human caller from an agent acting on that person's behalf.
Do I have to run my agents on Databricks to observe them there?
No. MLflow tracing and OpenTelemetry exporters work wherever the agent runs, and traces can still land in Unity Catalog tables.
The information provided herein is for general informational purposes only and may not reflect the most current product capabilities or configurations.