Multi-agent observability for agents that call other agents.

Multi-agent observability is being able to see, for a system where agents call other agents, what each one did, what it cost and whether it failed, and how they are linked. Agent Ping gives every agent a run of its own, links each to the agent that called it, and reports on the remote agents and MCP servers at the edge of your system.

One trace per request hides the agents inside it.

An orchestrator hands work to a researcher, which hands part of it to a summariser. Most tracing tools record that as one trace under the orchestrator. That is fine for debugging one request and no use for running the system.

What a single trace gets wrong

  • All the spend lands on the caller. The orchestrator looks expensive and the summariser, which burned the tokens, looks free. A budget on the summariser has nothing to count.
  • All the failures land on the caller. A sub-agent that fails half the time shows up as the orchestrator failing. An alert rule cannot name the agent that is actually broken.
  • Sub-agents are never scored. Quality checks run against an agent's output. An agent with no record of its own has no output to check.
  • Shared sub-agents are invisible. When three orchestrators call the same researcher, there is nowhere to see what the researcher costs in total or how often it fails.

A run per agent, linked to the agent that called it.

Each invocation of each agent is a run. A sub-agent's run names its parent, so the tree is kept and every agent still has its own cost, status and checks.

What the caller's run shows

  • Its own cost, and the total. The cost of the run itself, and under it the total with every sub-run at every depth, for example $0.06 and $0.25 with 3 sub-runs.
  • Its sub-runs. Each direct sub-run with its agent, status, duration and cost, and a marker on any that started sub-runs of their own.
  • The step where it delegated. The caller's timeline keeps the step that invoked the other agent, so you can see when in the run the hand-off happened.

With the SDKs or the REST API

Start the sub-agent's run with the parent's run id. The SDKs read it from AGENTPING_PARENT_RUN, so a sub-agent started as a subprocess or a queued job links itself without code changes.

bashlinking a sub-agent to its caller
AGENTPING_PARENT_RUN=run_eu_018f3a2b9c1d7e8fa4b9c2d7e8f1a3b6 python research_agent.py

With OpenTelemetry

Agent frameworks put the whole request in one trace, with an invoke_agent span for each agent. Turn on Give nested agents their own runs in team settings and each invoke_agent span that sits inside another becomes a run of its own when the trace settles: under its own agent, linked to the run that invoked it, holding every model and tool call beneath it. Each call is recorded once, on the run of the agent that made it, so nothing is double counted.

otelone trace in, three runs out
Orchestrator          run  $0.001
└─ Research Agent     run  $0.002
   └─ Summariser      run  $0.004

Each line is an invoke_agent span. Each becomes a run under its own agent, carrying only the model calls that agent made.

The setting is off by default, because it adds an agent for each nested agent and a run for each invocation, and moves that spend off the calling agent from the day you turn it on. Runs that already finished are not changed.

Agents you do not run: A2A and MCP.

Some of the agents in your system belong to another team or another company. You cannot instrument them, but you can measure every call you make to them.

Remote agents over A2A

A call to a remote agent over the Agent2Agent protocol is recorded as a tool call named after that agent, and the agent is listed under Dependencies.

  • Calls, failure rate and p95 latency for each remote agent, and which of your agents call it.
  • Version changes. The version from the remote agent's Agent Card is recorded, and the day it changes is marked on the chart. When their release breaks your agent, the two line up.
  • Late failures. A task that returns "working" and fails on a later poll counts against the call that started it, matched by task id.
  • A link to the agent itself when the remote agent also reports to Agent Ping under the same name, so you can go from how its callers see it to its own runs and cost.

MCP servers

The tools your agents call over the Model Context Protocol are tracked the same way, per server and per tool. MCP server monitoring covers that in full.

What you cannot see

What a remote agent spent, and what it did internally. A2A carries no token usage or cost, so a remote agent's spend appears only if that agent reports to Agent Ping itself. This is the caller's view, and it is honest about being one.

What to measure in a multi-agent system.

Five numbers cover most of what goes wrong.

  • Cost per top-level request. The caller's run with all its sub-runs. This is what a customer request costs you, and the number to budget against.
  • Cost per agent. What each agent spends across every caller. This is where you find the expensive component.
  • Failure rate per agent. Counted on the agent that failed, not the one that called it.
  • Failure rate and latency per dependency. For every remote agent and MCP server, as your agents experienced it.
  • Output quality per agent. A check or rubric on each agent's own output, so a sub-agent that returns confident rubbish is caught before the orchestrator builds on it.
What is multi-agent observability?
Multi-agent observability is being able to see, for a system where agents call other agents, what each agent did, what it cost and whether it failed, and how the agents are linked. In practice that means a record per agent invocation, a parent link from each to the agent that called it, and totals that roll up to the top-level request.
Why is one trace per request not enough?
A single trace shows the tree, but everything in it is counted against the agent at the top. Cost budgets, failure alerts and quality checks are set per agent, so a sub-agent with no record of its own cannot have a budget, cannot be alerted on and is never scored. One trace is the right way to debug a request and the wrong unit for running a fleet.
How do sub-agents get their own runs?
With the SDKs or the REST API, start the sub-agent run with the parent run id, which the SDKs read from the AGENTPING_PARENT_RUN environment variable. With OpenTelemetry, turn on "Give nested agents their own runs" in team settings: each invoke_agent span nested inside another then becomes a run of its own when the trace settles.
Does splitting nested agents double count the cost?
No. Each model call is recorded once, on the run of the agent that made it. The caller's run page shows its own cost and, separately, the total with its sub-runs at every depth, so you can read either number without adding anything twice.
Can I monitor an agent run by another company?
From the calling side, yes. A remote agent called over the A2A protocol is listed as a dependency with its call count, failure rate, p95 latency and the version from its Agent Card. You cannot see its cost or its internal steps, because the protocol does not carry them.
What happens when an A2A task fails after the call returned?
A2A tasks are often asynchronous: the call returns "working" and a later poll reports the outcome. Agent Ping matches the two by task id, so a task that fails on a later poll counts as a failure of the call that started it.

See what each agent costs and breaks on its own.

Send runs from the SDK, or point your OpenTelemetry exporter at Agent Ping. The free plan has no card and no time limit.

MCP server monitoring → Dependencies docs → Multi-agent traces over OpenTelemetry → Multi-agent cost attribution →