What Agent Analytics does with your traces
Agent Analytics adds three things on top of raw spans.| Feature | What it does | Example question it answers |
|---|---|---|
| Polaris | Kubit’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? |
| Flows | Groups 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? |
| Triggers | Compares 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? |
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 are | What you do | Start here |
|---|---|---|
| In your app or not collecting yet | Send 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 Braintrust | Add Kubit next to your existing OTel span processor with the agent plugin. Your current tool keeps working. | Agent plugin |
| Already in your warehouse | Connect 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 trial | Export the traces to a file and upload it to a Sandbox workspace. Nothing in your app changes. | Logfire traces in a Sandbox |
Who uses Agent Analytics
| Reader | Typical use |
|---|---|
| AI product engineer | Acts 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 analyst | Reads Flows to see which agent behavior leads to a completed task, a support ticket or a cancellation. |
| Coding agent | Wires Kubit into a repo with /kubit-integrate, then queries traces through the Kubit MCP server. |
Related
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.