To monitor a multi-agent system in production, trace every agent, handoff and tool call for one user request as a single tree, then watch per-agent errors, latency and cost, the handoffs and loops between agents, and whether the user got what they asked for. Agnost AI does this from your OpenTelemetry traces: it records agent, tool and handoff events per conversation, rolls each call's reported cost up to the agent that made it, and judges whole conversations against plain-English rules you can scope to one agent, with alerts in Slack, email or a webhook (PagerDuty, Opsgenie, ServiceNow). LangSmith, Langfuse (Agent Graphs), Arize AX (Agent Trajectory), Datadog Agent Monitoring, W&B Weave, AgentOps and Laminar also trace multi-agent runs, each with a different strength. The OpenTelemetry GenAI agent span conventions keep you portable between them.
Disclosure: We make Agnost AI. Agnost reads production conversations and traces, groups them by user and session, and judges whole conversations; it is not a real-time guardrail and it is not open source. Facts about LangSmith, Langfuse, Arize, Datadog, W&B Weave, AgentOps, Laminar, OpenTelemetry and A2A come from their own sites, docs and specs, checked on December 1, 2026.
This page is about production monitoring. If you want to test a multi-agent system before release, read the companion guide on how to evaluate a multi-agent system.
Because the failure and its cause are usually in different agents. A user sees a wrong answer from the final agent, but the mistake happened two handoffs earlier, when a research worker dropped a constraint from its summary. Single-agent dashboards show you each agent's spans and leave you to work out the chain.
Four things get worse with every agent you add:
Name the pattern first, because each one fails differently.
transfer_to_refund_agent. In Google ADK, sub-agents take over with transfer_to_agent. Watch where conversations end up and how often they bounce back.Agent.as_tool() in the OpenAI Agents SDK, AgentTool in ADK. Trace it like a tool call with a nested agent inside.StateGraph, an ADK sequential or parallel workflow, or a CrewAI crew with a manager agent in hierarchical mode. Watch which branches run and where runs stop.
The OpenTelemetry GenAI semantic conventions now cover agents, and they are still marked Development. They moved from opentelemetry.io into the semantic-conventions-genai repository. The parts that matter for multi-agent systems:
gen_ai.operation.name is invoke_agent when the model drives control flow (an OpenAI Agents Agent, an ADK LlmAgent) and invoke_workflow when your code does (a LangGraph Crew). Remote agents get a client execute_tool {gen_ai.tool.name}, with gen_ai.tool.call.id when the model provides one. Arguments and results are opt-in attributes.gen_ai.execute_tool.transfer, with gen_ai.transfer.mode set to pass_control or return_to_caller and gen_ai.transfer.target.name naming the next agent.gen_ai.conversation.id is set only when it is really available; the spec says not to fill it with generated UUIDs or trace IDs.
Framework support is uneven but growing. Microsoft Agent Framework emits invoke_agent, invoke_workflow and execute_tool spans. Google ADK's Cloud Trace integration emits invoke_agent and execute_tool. W&B Weave writes spans that follow the agent conventions, and Datadog can ingest GenAI semconv spans from v1.37 without its SDK. For setup details, see our guide to instrumenting AI agents with OpenTelemetry.
Propagate trace context across the call, and log the task. A2A is at version 1.0.0, is Apache 2.0 licensed under the Linux Foundation, and joined the Agentic AI Foundation in August 2026. Its enterprise guidance says A2A clients and servers "should participate in distributed tracing systems", recommends OpenTelemetry with W3C Trace Context headers, and asks you to log the taskId, session and correlation IDs and to expose request rate, error rate and latency.
OpenTelemetry has matching A2A conventions: a2a.client and a2a.server spans with a2a.task.id, a2a.task.state and a2a.message.id, and the A2A contextId becomes gen_ai.conversation.id.
Two A2A-specific things to watch. First, task states: a task stuck in TASK_STATE_WORKING, TASK_STATE_INPUT_REQUIRED or TASK_STATE_AUTH_REQUIRED is a silent stall from the caller's side. Second, the remote agent is opaque by design. If it belongs to someone else, you will only ever see the task, the messages and the artifacts, so your checks have to judge those.
Measure each agent on its own, and measure the conversation as a whole. The first set finds the slow, expensive or broken agent. The second finds coordination bugs that no single agent owns.
| Metric | Definition | What it catches |
|---|---|---|
| Error rate per agent | Failed agent spans / agent invocations, by agent name | A worker that breaks after a prompt or model change |
| Tool error rate per agent | Failed tool calls / tool calls, by the agent that made them | An agent passing bad arguments to a shared tool |
| Latency share per agent | Agent's time on the request's critical path / total request time | The agent to optimize first; parallel workers only count once |
| Tokens and cost per agent | Sum over each agent's LLM spans | A planner that re-reads the whole history every step |
| Handoffs per conversation | Count of transfer spans | Routing that takes three hops to reach the right agent |
| Ping-pong rate | Conversations with A to B to A to B handoffs / conversations | Two agents that each think the other owns the task |
| Repeat rate | Same agent and tool called with near-identical input in one request | Loops between agents, or a worker re-running finished work |
| Delegation depth | Longest chain of nested agent spans | Runaway sub-delegation |
| Fan-out | Workers spawned per orchestrator run, by request type | An orchestrator that spawns ten workers for a one-line question |
| Outcome | Did the user get what they asked for, judged on the whole conversation | Everything above, from the user's side |
Two notes. Latency in a multi-agent run is about the critical path, not the sum of spans, because parallel workers overlap; our post on the latency critical path explains how to compute it. And cost per agent only means something next to outcome: a cheap agent that fails often costs more per completed task than an expensive one that works.
Walk backwards from what the user saw. Take the failed conversation, find the final reply, and step back through the trace one agent at a time:
Doing this by hand works for ten conversations. For a thousand you need counts, which is why per-agent scoping matters: run the same failure rule on each agent's part of the conversation and compare rates by agent name. Automated attribution is still a hard research problem; the evaluation guide covers what the research says about finding the failing agent.
These are the shapes to write rules for:
Rules for two of these, written as plain-English checks:
Match when the conversation is handed between the same two agents more than twice without the user sending a new message in between. Do not match when the user changes the topic.
Match when the final reply recommends or books an option that breaks a constraint the user stated earlier in the conversation (price, date, location, exclusions). Quote the constraint and the option.
All of these trace multi-agent runs; they differ in how they show the agent structure and what they do after.
| Tool | Multi-agent view | Handoffs | OpenTelemetry | Production checks and alerts | Open source |
|---|---|---|---|---|---|
| Agnost AI | One conversation per user session with agent, LLM, tool and handoff events; OpenAI Agents SDK runs record first agent, final agent and handoff path | Handoff events with source and destination agent (OpenAI Agents SDK) | OTel-native, hosted OTLP collector | Plain-English patterns judged over whole conversations, scoped by agent name; reported cost per agent; Slack, email or webhook alerts; failures to pull requests | No |
| LangSmith | Threads with Trajectory, Turns and Details views; distributed tracing joins remote LangGraph agents into one trace | Through LangGraph and framework tracing | OTLP endpoint that maps gen_ai.* attributes |
Online evaluators, including multi-turn on threads; Insights categories (Plus and Enterprise) | No (SDKs are) |
| Langfuse | Agent Graphs tab, inferred from observation timing and nesting | Agent and tool observation types | OTLP over HTTP (no gRPC); maps gen_ai.conversation.id to sessions |
LLM-as-a-judge evaluators on observations | Yes |
| Arize AX / Phoenix | AX Agent Trajectory: which agents call which, where loops happen, which paths fail | Automatic for OpenAI Agents (handoffs), LangGraph, AG2, CrewAI, Agno; Phoenix graphs OpenAI Agents handoffs | OTLP with OpenInference span kinds | Evals and monitors | Phoenix is |
| Datadog Agent Observability | Agent Monitoring shows tools used and which agent a task was handed to, for single or multi-agent systems | Yes | Ingests GenAI semconv v1.37+ spans without the SDK | Monitors, Insights | No |
| W&B Weave | Agents view; each turn an invoke_agent span with sub-agent handoffs, model and tool calls |
Yes (OpenAI Agents SDK autopatch) | Emits and accepts GenAI agent convention spans | Not checked | Not checked |
| AgentOps | Session Waterfall and step-by-step execution graphs | Not documented | Not documented | Cost management | Yes (MIT) |
| Laminar | Traces with browser session recordings synced to spans | Not documented | OTel-native; point any OTel code at it | Signals: alerts written in plain language | Yes |
Facts from each vendor's own docs, checked December 1, 2026. Cloud agent platforms have their own views too: AWS Bedrock AgentCore's GenAI Observability dashboard shows per-agent token usage, and Microsoft Agent Framework emits OTel spans for agents and workflows that any of the tools above can read.
How to choose: if your agents are LangGraph, LangSmith is the shortest path. If you want an open-source trace store with an agent graph, Langfuse or Phoenix. If you already run Datadog, turn on Agent Monitoring. If your workers drive browsers, Laminar's synced recordings are useful. If your question is "which conversations went wrong, in which agent, and how often", that is where Agnost AI focuses.
RemoteGraph(distributed_tracing=True) and A2A's guidance both rely on it.triage, billing, research_worker), never by class or instance ID. Every per-agent metric depends on it.
Framework guides: OpenAI Agents SDK and LangGraph. Agnost AI is built for the conversation-level questions in multi-agent monitoring: which conversations failed for the user, which agent they failed in, and how often.
What to know before choosing it: judging runs in batches after 15 minutes of idle time, so it won't stop a loop while it's happening; use a step limit in your framework for that. The judge reads the readable top-level exchanges of a conversation; nested execution spans stay visible in the timeline but are not part of what the judge reads. And it isn't open source; if you need a self-hosted open-source trace store, Langfuse and Phoenix are the usual picks.
Monitoring tells you what broke in production. To check a change before it ships, continue with how to evaluate a multi-agent system. Trace every agent, handoff and tool call for a user request as one tree, using the OpenTelemetry GenAI agent span conventions where you can, then watch per-agent errors, latency and cost, handoff loops, and whether the user got what they asked for. Agnost AI records agents, handoffs and tool calls per conversation and judges whole conversations against plain-English rules you can scope to one agent. LangSmith, Langfuse Agent Graphs, Arize AX Agent Trajectory, Datadog Agent Monitoring, W&B Weave, AgentOps and Laminar also trace multi-agent runs.
Per agent: invocations, error rate, latency and its share of the request's critical path, tokens and cost, and tool error rate. Per conversation: number of handoffs, handoffs that bounce back and forth between the same two agents, repeated agent and tool calls, delegation depth, and the final outcome for the user. Per-agent numbers find the slow or expensive agent; the conversation-level ones find the coordination bugs.
Record each handoff as its own span with the source and target agent. The OpenAI Agents SDK emits a handoff span automatically. The OpenTelemetry GenAI conventions model a handoff as a tool call refinement, gen_ai.execute_tool.transfer, with gen_ai.transfer.mode set to pass_control or return_to_caller and gen_ai.transfer.target.name naming the next agent. Keep all agents of one request in the same trace.
Propagate trace context across the A2A boundary. The A2A spec's enterprise guidance says clients and servers should take part in distributed tracing and recommends OpenTelemetry with W3C Trace Context headers, plus logging the task ID and correlation IDs. OpenTelemetry's GenAI conventions define a2a.client and a2a.server spans with a2a.task.id and a2a.task.state, and map the A2A contextId to gen_ai.conversation.id.
Start at the user-visible failure and walk the trace backwards: find the first agent whose output was already wrong, then check whether its input from the previous agent was right. If the input was wrong, the fault is upstream or in the handoff; if the input was right, it is that agent. Scoping checks to one agent, and comparing failure rates by agent name, turns one-off investigations into numbers.
Yes. Agnost AI is OpenTelemetry-native and groups agent, LLM, tool and handoff events into one conversation per user session. With the OpenAI Agents SDK it records the first agent, final agent and handoff path of every run. Plain-English patterns are judged over whole conversations, can be scoped to an agent name, and alert in Slack, email or a webhook. It is not open source and judges after a conversation has been idle 15 minutes, so it is not a real-time guardrail.
Originally published on agnost.ai.