Guide - agent analytics
Amplitude Agent Analytics: what it measures and how to instrument it
What it is, when you actually need it, how to implement it without the common mistakes, and how to confirm it worked.
Landscape as of September 2026 - Agent Analytics is a new, fast-moving feature; its evaluator list, supported SDK languages, and plan-tier session allowances change independently of this page. Verify specifics against current Amplitude documentation before relying on them.
In short
Amplitude Agent Analytics turns an AI agent's sessions, turns, and tool calls into ordinary Amplitude events on the same user_id as the rest of your product data, then scores every closed session on task completion, response quality, user friction, and safety automatically. Because those events land in the same project as your funnels, cohorts, and retention charts, you can ask whether conversion actually drops when the agent fails - not just whether the agent ran.
What it is
Agent Analytics is Amplitude's feature for measuring the AI agents your own team builds and ships - a support assistant, an in-product copilot, an internal tool with a chat interface - not Amplitude's own AI agents that analyze your instance for you (that's a separate capability covered in our guide to Amplitude's AI agents). It decomposes each agent conversation into a three-level hierarchy Amplitude calls sessions, turns, and spans: a session is one unit of work end to end, a turn is one exchange within it, and a span is a single operation inside a turn - a tool call, a retrieval step, a model call. Each level is written out as an ordinary Amplitude event carrying the user's user_id and an agent ID, living in the same project as the rest of your product data rather than a separate observability silo.
Amplitude runs three layers of quality measurement on top of that event stream, per its own documentation. Signals are automatic, built-in evaluations run on every closed session with no configuration required - task completion, response quality, user intent, session safety, user friction, negative feedback, and data quality - written to a `[Agent] Session Record` event that carries the rationale behind each score, not just the number. Evaluators are criteria you define yourself (policy compliance, groundedness, tone) for Amplitude to score using either a code-based check or an LLM-as-judge, written to `[Agent] Evaluator Result` events. Scores are real user feedback - a thumbs rating, a CSAT prompt - that you send in yourself; per Amplitude's own framing, the platform never generates a Score, only stores and surfaces the ones you provide. [Verify the exact evaluator list and event names against current docs - this is one of the areas Amplitude is actively shipping new evaluators into.]
On top of the embeddings it already computes to run those evaluations, Agent Analytics automatically clusters sessions by intent into a topic and subtopic hierarchy - surfacing what people are actually asking the agent for, and which of those intents the agent handles well versus where it consistently falls apart. It's the same job a support lead does by hand reading transcripts, run continuously and at the full volume of traffic instead of a weekly sample.
When you need it
- You've shipped, or are about to ship, an AI agent or assistant inside your own product, and the question that matters is not "did it respond" but "was the response good, and does that connect to whether the user converts, retains, or churns."
- Your current AI observability is infrastructure-level - latency, token cost, error rate - and can't tell you whether the agent actually resolved what the user asked, which is a product question, not an infrastructure one.
- You want agent quality sitting in the same funnels, cohorts, and retention analyses the rest of your product team already trusts, instead of a separate dashboard only the AI team ever opens.
Implementation, done properly
- Pick the instrumentation path that matches how your agent is built. Amplitude documents the Node or Python AI SDK, with CLI setup assistance, as the fastest path for an agent you're building directly; OpenTelemetry GenAI-format traces and a direct HTTP API are documented paths for an agent already emitting traces elsewhere or built on a framework that speaks OTel; a warehouse-import path exists for agent logs that already land in your own data warehouse. Verify current SDK language support and OTel trace-format compatibility against Amplitude's docs before committing to a path, since this integration surface is new and expanding.
- Decide the privacy and content-capture mode deliberately before turning this on for real traffic. Amplitude documents multiple levels, from full conversation content with PII redaction down to metadata-only capture with no message content stored at all. Conversations are among the most sensitive data most teams will ever pipe into an analytics tool - treat the mode choice as an owned privacy decision, not a default left at whatever the SDK ships with, and loop in whoever owns your privacy posture before a wide rollout.
- Confirm the user_id an agent event carries matches the identity your existing product events already use, not a separate agent-session identifier invented for this integration - the entire value of the feature is that agent and product events join on one identity graph, and a mismatched identifier silently breaks that join.
- Build the failure-first view before the celebration view: a saved view for sessions where quality signals failed, letting you drill into the trace - what was asked, what tools were called, where it went sideways - before building the adoption dashboard leadership will actually ask for first. Failure debugging is the harder problem, and the one worth getting the workflow right for while the instance is still small.
- Wire quality into the metrics leadership already reads. Build one funnel or cohort that answers the KPI question directly - does conversion, upgrade, or retention differ between users whose agent sessions scored well versus poorly - rather than leaving Agent Analytics as an isolated quality dashboard nobody connects to the numbers the business tracks.
How to verify it worked
- In the Agent Analytics session view, confirm signals are populating on real production traffic, not just a test conversation - task completion, response quality, and friction scores should show real variance across sessions, not a flat, uniform number that suggests the evaluator isn't actually differentiating anything.
- Pick one session you know went badly - a real complaint, a support escalation - and confirm you can find it through the quality signals rather than by manually reading transcripts, and that drilling into its trace surfaces the actual point of failure: the prompt, the tool call, or the retrieved context.
- Build the funnel from first agent session to your real conversion or retention event, and confirm the numbers move in a sane direction as agent quality changes - a quality signal that never correlates with any downstream behavior is either mismeasuring quality or measuring something users don't actually care about.
- Confirm the intent-cluster view stays legible at your actual traffic volume. A clustering feature that produces dozens of near-duplicate micro-clusters at low session volume needs either more data or a coarser view before it's useful for a weekly review.
Related: Amplitude AI agents: what they do and when to use them · Guide: AI consumption KPIs · Pendo Agent Analytics vs Amplitude Agent Analytics · Measuring AI-agent usage inside your product · Building behavioral cohorts in Amplitude
Elsewhere in the agentic-traffic research: What is agent analytics? The three senses, disambiguated · LLM observability, explained · From LLM evals to product metrics · The cross-tool agent-analytics landscape
Sources
- Amplitude: Agent Analytics (product page)
- Amplitude Docs: Agent Analytics overview
- Amplitude Docs: Agent Analytics taxonomy
- Amplitude: "Why We Created Agent Analytics"
This space moves fast - every landscape figure above links to the primary source it came from. Platform-specific claims are flagged in-line to verify against current vendor documentation.
Frequently asked questions
How do you track AI feature usage inside a product?+
The same way you'd track any other feature: as events. The specific difference with an AI feature is that a single interaction (one agent turn) contains a request, a response, and everything in between - tool calls, retrieved context - so tracking it well means capturing that internal structure as its own events too, not just a top-level "AI feature used" event that hides whether the interaction actually worked.
How do you instrument an AI agent for analytics?+
Pick an instrumentation path that matches how the agent is built (an SDK call if you're writing the agent directly, OpenTelemetry traces if it already emits them, a direct API call otherwise), make sure every event carries the same user identifier your product analytics already uses, and decide your privacy/content-capture level before real traffic flows through it. Get that identity and privacy decision right before instrumenting broadly - both are far more expensive to fix retroactively than to decide once, deliberately, at the start.
What is AI event tracking?+
Capturing what an AI feature actually did - the request, the response, the tool calls and retrieval steps in between, and a judgment of whether it worked - as structured events, the same discipline product analytics already applies to clicks and page views. The difference is that an AI interaction has internal structure (a session made of turns made of spans) worth tracking in its own right, not just a single pass/fail flag.
Is Agent Analytics the same as Amplitude's AI agents (Global Agent and similar)?+
No - opposite direction. Agent Analytics measures an AI agent your team built and shipped to users. Amplitude's own AI agents are the reverse: Amplitude's built-in AI features that query and analyze your existing instance for you. See our separate guide to Amplitude's AI agents for that feature.
Does this replace a dedicated LLM observability tool?+
Not necessarily - the two solve adjacent but different problems. Infrastructure-level LLM observability (trace-level latency, cost, and error monitoring at the model layer) is a narrower, engineering-facing job. Agent Analytics is for connecting agent quality to product and business outcomes inside the same tool your funnels and cohorts already live in. Many teams that need both run a dedicated observability tool alongside this.
Other guides
Get a free, scored audit of your Amplitude instance
Send us read-only access and get a scored findings report within 48 hours: taxonomy health, duplicate events, governance gaps, and the three fixes with the highest data-trust payoff. No commitment.
Request the free audit