Skip to content
Black Friday: check your store for bots, free

Double Agent Analytics

Your agents are talking.
See what happens.

Every request, handoff and reply between your agents and theirs, in one timeline. Who called, how it ended and what it earned.

app.doubleagent.soSample data
Agent analytics overview for an MCP and A2A agent over 30 days: KPIs for conversations, operations, task completion, error rate, latency and counterparties, above a daily operations chart split by outcome with an errors strip.

Node 20+ · Cloudflare Workers · Bun · Deno · zero dependencies

See an example

Every handoff, on the record.

A sample A2A conversation, the way the timeline shows it.

Conversation ctx_7f3a92A2A
  1. Start

    InboundSendMessagefrom concierge.exampleSubmitted

    “Table for four, Friday at eight.”

    180 ms

  2. +420 ms

    Tasktask_9f2cWorking

  3. +1.2 s

    OutboundSendMessageto tables.exampleHanded off

    860 ms

  4. +2.9 s

    Tasktask_9f2cInput required

    “Which neighbourhood?”

  5. +41.0 s

    InboundSendMessagefrom concierge.exampleWorking

    “Soho.”

    1.5 s

  6. +43.2 s

    Tasktask_9f2cCompleted

    Charge settled · 2.00 USDC · x402

Completed43.2 s · 2 counterparties · 1 handoff

Sample data. Message text appears only for sources with content capture on.

The problem

A conversation spans
more than one request.

Agents ask for more, wait for answers and hand work to other agents. Scattered across logs, nobody can say who asked for what, or whether it ever finished.

01Conversations

What happened after the first request?

Every message, task state and handoff in one timeline, with the time each step took.

  • Every operation, in order
  • Task states as they change
  • Handoffs to other agents

Follow-ups join their conversation. A status check never looks like a new one.

02Counterparties and outcomes

Who’s calling, and where does work get stuck?

Counterparties are ranked by how well they’re identified: signed, authenticated, or only a name they gave. Tasks are counted by how they ended.

  • Top counterparties, tools and skills
  • Completed, failed or waiting for input
  • Stalled tasks, flagged

Open tasks that stop moving are marked stalled, after a threshold you set.

03Revenue

Is it paying for itself?

Record what callers paid and what serving them cost. x402 payments, like paid tool calls, are recorded for you.

  • Revenue, cost and margin
  • By counterparty, tool and task
  • Reported, settled and estimated, kept apart

Margin per agent, from the charges and costs you record.

The dashboard

One agent. Six screens.

Live and Test traffic kept apart. Every number links to the rows behind it.

Install

Wire up your agent.

One package records at the protocol boundary. Your requests, responses and streams pass through untouched.

  1. 1

    In the dashboard, open Agents → Add agent.

  2. 2

    Copy the key into DOUBLEAGENT_AGENT_KEY.

  3. 3

    Install the recorder and wrap your server.

  4. 4

    Send a test event. Watch it land.

A server on @a2a-js/sdk: wrap the request handler and the task store. The README has Workers, Hono and outbound calls.

import { DefaultRequestHandler, InMemoryTaskStore } from '@a2a-js/sdk/server';
import { createRecorder } from '@doubleagent-so/observe';
import { instrumentA2AHandler, instrumentTaskStore } from '@doubleagent-so/observe/a2a';

const recorder = createRecorder({ key: process.env.DOUBLEAGENT_AGENT_KEY!, adapter: 'my-agent@1.0.0' });

const taskStore = instrumentTaskStore(new InMemoryTaskStore(), { recorder });
const handler = instrumentA2AHandler(new DefaultRequestHandler(card, taskStore, executor), { recorder, issuer: 'my-idp' });
// Serve `handler` with the SDK's transports as usual.

Another protocol? Call the recorder directly. Recipes in the README, source on GitHub (MIT).

Need to know

Metadata, always.
Content, if you say so.

Participants, methods, outcomes, timings and task states are recorded for every operation.

Message content is kept only for sources with content capture on: for 30 days, readable by Owners and Admins, and every read is logged. File bytes are never sent.

Internal tool calls, model calls and reasoning aren’t recorded. Only what crosses the boundary.

Your agents and their history are private to your account. No public listing needed.

Before you connect.

How do I add my agent?

In the dashboard, open Agents → Add agent. Copy the key (it’s shown once), install @doubleagent-so/observe and wrap your server, then send a test event. It checks the key, ingest, storage and the dashboard end to end.

Does my agent need a public Agent Card?

No. A card URL is optional, and only for A2A. Protocols are detected from traffic, and agents that only make outgoing calls work too.

Does this publish my agent in the registry?

No. Double Agent Registry is a separate product for discovery. Adding an agent to Analytics doesn’t publish a listing or share its conversations.

Will I see everything a remote agent does?

You see what crosses the boundaries you instrument: requests, streams, task states and who called. A remote agent’s private work stays its own, and so do your agent’s tool calls, model calls and reasoning.

Who on my team can see revenue?

Owners and Admins, and roles granted “See revenue and costs”. Everyone else sees the conversations without the money.

Double Agent Analytics

Know where the
conversation went.

Add an agent, wrap its server, and watch the next conversation arrive.