Skip to main content
Agent Analytics is agent observability with behavior analytics on every run. Kubit queries the OpenTelemetry traces your agents already produce, labels and scores every span with Polaris annotations, then visually groups the runs by execution path. You can see which runs went wrong and what triggered them. Product Analytics reports then join those runs to what your users did next, so a change to the agent is judged by its outcome for users.

What Agent Analytics does with your traces

Agent Analytics adds three things on top of raw spans.
FeatureWhat it doesExample question it answers
PolarisKubit’s in-house small language model labels and scores every span with what it did and whether it worked, in under a second per span. There is no additional LLM cost or sampling. It costs up to 98% less and runs about 15x faster than a frontier large language model used as a judge.Which tool calls returned 200 but picked the wrong parameter?
FlowsGroups every agent run by execution path (which tools ran, in what order) and draws all paths in one Sankey.What share of refund conversations loop on search_orders three or more times?
TriggersCompares a metric across model versions or user segments and tells you when it changes.Did the Misstep rate on book_appointment go up after the model upgrade?
Polaris annotations come in five types: Action, Exception, Misstep, Warning and Behavior. Concepts defines each one.

Why Every Span Is Labeled

Polaris labels every span, not a sample, because the other features depend on it. Flows draws every execution path with a count of how many traces took it, so a path missing from the labels is missing from the Sankey. Triggers reads the labels to find which spans changed. Evals run on the same model, so scoring every span with your own eval prompt adds no LLM cost.

How traces get into Kubit

Kubit queries agent traces straight from your warehouse, or sent over OpenTelemetry.
Where your traces areWhat you doStart here
In your app or not collecting yetSend spans to an Agent workspace with the agent plugin, the Kubit SDK (kubit-otel for Python, @kubit-ai/otel for Node) or the stock OpenTelemetry exporter. The Quickstart helps you pick one.Quickstart
Already in Langfuse, Arize or BraintrustAdd Kubit next to your existing OTel span processor with the agent plugin. Your current tool keeps working.Agent plugin
Already in your warehouseConnect Databricks, Snowflake, BigQuery or ClickHouse. Kubit queries the trace tables where they are.Bring your own warehouse
In Pydantic Logfire, and you want a quick trialExport the traces to a file and upload it to a Sandbox workspace. Nothing in your app changes.Logfire traces in a Sandbox
Traces already in your warehouse stay there. No data silo to secure. Nothing is retained outside your warehouse. Traces sent over OpenTelemetry to an Agent workspace are stored in a Kubit-hosted warehouse in the US or EU region, and you can switch to your own warehouse at any time. Reports on traces, such as a funnel of agent runs or retention after a user’s first session, are part of Product Analytics. They work on traces and clickstream events alike.

Who uses Agent Analytics

ReaderTypical use
AI product engineerActs as the agent’s product manager. Instruments the agent, finds the execution paths that fail, checks a fix against the next week of runs and measures what users did after each path.
Product manager or analystReads Flows to see which agent behavior leads to a completed task, a support ticket or a cancellation.
Coding agentWires Kubit into a repo with /kubit-integrate, then queries traces through the Kubit MCP server.

Quickstart

Pick how to send traces, then check them in Activity.

Concepts

Users, sessions, traces, spans, execution paths and Polaris annotations.

Agent Plugin

Let Claude Code or Cursor detect your tracing setup and wire Kubit in.

Is my data flowing?

Check each step when traces don’t show up.