> ## Documentation Index
> Fetch the complete documentation index at: https://docs.braintrust.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Coding agent insights dashboard

> Track your team's coding-agent costs, model and tool usage, and activity by user, permission group, API key, and branch.

> [!WARNING]
>
> Coding agent insights is in [public preview](https://docs.braintrust.dev/feature-lifecycle.md) and can change before reaching general availability.

The dashboard at ** Dashboards** > [**Coding agent insights**](https://www.braintrust.dev/app/~/agent-insights) shows your team's coding-agent usage, estimated costs, and trace coverage. To learn how to set up tracing and a daily Loop automation that identifies recurring problems, read [Improving coding agents with coding agent insights](https://docs.braintrust.dev/cookbook/recipes/CodingAgentInsights.md).

## Requirements

To show data, the dashboard needs:

* **Coding-agent traces** sent by the `bt` tracing integration for Claude Code, Codex, Cursor, OpenCode, Pi, Antigravity, Grok, or Muse Code.
* **A dedicated project.** The dashboard counts model and tool calls from every trace in the project, including traces logged with a Braintrust SDK, so keep coding-agent traces in a project of their own.

Requires data plane v2.13.0+ (Self-hosted customers must upgrade to use this feature.)

## Open the dashboard

In the project that receives your coding-agent traces, go to ** Dashboards** > [**Coding agent insights**](https://www.braintrust.dev/app/~/agent-insights).

**Coding agent insights** is a built-in dashboard, like **Cost and quality**. It's read-only, so you can't add or edit its charts the way you can on a dashboard you [create](https://docs.braintrust.dev/observe/dashboards/create.md). You can star it like other dashboards. See [Browse dashboards](https://docs.braintrust.dev/observe/dashboards.md#browse-dashboards).

![Coding agent insights dashboard showing a Usage over time chart of cost, and a table grouped by user. The User column header reads 4 / 12 (33%), and each row lists a teammate's cost, cost change, tokens, sessions, LLM calls, and tool calls.](https://mintcdn.com/braintrust/14q6b_jQdrYx5V3z/images/observe/coding-agent-insights-dashboard-2026-10-01.png?fit=max\&auto=format\&n=14q6b_jQdrYx5V3z\&q=85\&s=7191f90dd993a8c33aa217d7f9e2f593)

## What the dashboard shows

The dashboard answers three kinds of questions about your team's coding-agent work:

* **Who is sending traces.** The dashboard shows which teammates have recorded model calls matching the selected period and filters.
* **How agents are used.** The dashboard shows how many sessions, model calls, and tool calls your team's agents make, and which models and tools they use.
* **Where cost goes.** The dashboard breaks down cost by the member or service account that authenticated each trace, as well as by permission group, model, and branch. For traces sent with an API key or service token instead of an OAuth login, it can also break cost down by key. **Users**, **Groups**, and **Keys** also show cost changes from the previous period.

Braintrust calculates cost from each model call's token counts and the model's pricing. If a span reports its own cost in `metrics.estimated_cost`, Braintrust uses that instead.

A **Usage over time** chart at the top shows cost across the selected period. To plot token counts instead, click **Cost** beside the chart and select **Tokens**.

Below the chart, a table summarizes usage for the period. The time range selector in the table toolbar, such as **Past 7 days**, sets the period for both the chart and the table. **Add filter** narrows both to a subset of traces.

## Group the table

The table shows one grouping at a time. To change it, use the grouping selector in the table toolbar, which shows **Users** by default.

![Coding agent insights dashboard toolbar below the Usage over time chart, with the pointer on the Users grouping selector. Next to it are the Past 7 days time range selector and an Add filter field.](https://mintcdn.com/braintrust/14q6b_jQdrYx5V3z/images/observe/coding-agent-insights-grouping-selector-2026-10-02.png?fit=max\&auto=format\&n=14q6b_jQdrYx5V3z\&q=85\&s=a92f4cd6820118054fe4188f639553ac)

Each grouping changes what a row represents and which columns appear:

| Grouping | Each row is | Use it to see |
| - | - | - |
| **Users** | The member or service account used to authenticate the traces | Usage and cost for each member or service account, including the change from the previous period |
| **Groups** | A [permission group](https://docs.braintrust.dev/admin/access-control.md) | Usage and cost for each permission group. Each row includes activity from the group's direct members and members of any groups it contains. Members and service accounts with no permission group appear in a **No permission group** row. |
| **Keys** | An API key or service token, shown by name | What each key cost. Traces sent through an OAuth login have no key, so they don't appear here. |
| **Models** | A model | Your team's model mix, cost per million tokens, and how much of each model's input came from cache |
| **Tools** | A tool that agents called | Which tools agents use most. This grouping has no cost columns. |
| **Branches** | A git branch | Which work cost the most, and the latest trace on each branch |

When a trace records both identities, it appears in both breakdowns. **Users** groups it by the member or service account that owns the credential. **Keys** groups it by the specific API key or service token used.

### See who is sending traces

In the **Users** grouping, the **User** column header shows how many organization members are sending traces. For more detail, click the count to open the **User trace coverage** display, which lists who is **Sending traces** and who is **Not sending traces**.

A count such as `4 / 12` means that 4 of the organization's 12 human members sent model calls matching the selected period and filters. Service accounts are excluded from both numbers. If someone sends traces using a service account's credentials, the dashboard attributes those traces to the service account, not that person.

### Compare permission groups

In the **Groups** grouping, a member or service account that belongs to more than one permission group counts toward each group. As a result, the group rows can add up to more than the summary totals, which count each member or service account's usage once.

> [!NOTE]
>
> The dashboard attributes each session to the member or service account used to authenticate its traces. If teammates share one API key, all of their sessions appear under the key's owner. To keep per-person usage accurate, have each teammate use their own credentials: their own [OAuth login](https://docs.braintrust.dev/cookbook/recipes/CodingAgentInsights.md#3-configure-your-coding-agents) or their own API key.

## Investigate a row

Group and branch rows open [** Logs**](https://www.braintrust.dev/app/~/logs), filtered to that row and the dashboard's period and filters. For a permission group, Logs shows traces from the group's active members. Rows for groups with more than 50 active members can't be clicked. To open Logs in a new tab, hold <kbd>Cmd</kbd> or <kbd>Ctrl</kbd> while you click.

To ask [Loop](https://docs.braintrust.dev/loop.md) about a row instead, hover over the row's name until the  Loop icon appears, then click it. Loop opens with a prompt about that user, permission group, key, model, tool, or branch.

## When the dashboard is empty

Until the project has coding-agent traces, the dashboard shows a setup screen instead of data. It includes a command for enabling tracing in your coding agent and a link to the [docs](https://docs.braintrust.dev/cookbook/recipes/CodingAgentInsights.md). The dashboard appears as soon as the first trace arrives.

## Protect sensitive data

Coding-agent traces can contain source code, file paths, prompts, command output, and any credentials that appear during a session. Braintrust supports two ways to keep sensitive data out of stored traces, and you can use them together:

* [Ingestion redaction](https://docs.braintrust.dev/admin/data-management/protect-sensitive-data.md#redact-during-ingestion) (private preview) replaces detected sensitive text before storage. Model-based detection can miss values.
* [Span plugins](https://docs.braintrust.dev/reference/cli/trace.md#transform-spans-with-javascript) remove values on each computer before `bt` sends them, so those values never reach Braintrust. Span plugins require `bt` v0.21.0 or later.

## Next steps

* To learn how to set up tracing and recurring problem detection for your team, read [Improving coding agents with coding agent insights](https://docs.braintrust.dev/cookbook/recipes/CodingAgentInsights.md).
* Learn how to [review and act on patterns](https://docs.braintrust.dev/observe/patterns/review.md).
* Read about [built-in and custom dashboards](https://docs.braintrust.dev/observe/dashboards.md).
* Enable tracing for each coding agent with [`bt trace enable`](https://docs.braintrust.dev/reference/cli/trace#bt-trace-enable).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.