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

# Team

> Compare cost, pull requests, and agent use across the users of your workspace, and open one user to see their work.

The **Team** page shows the cost and pull-request metrics of all users of the workspace for the selected period. A user page shows the same metrics for one user. For the definition of each number, see the [Metrics Reference](https://docs.agent.golf/dashboard/metrics.md).

## Before you begin

* **View Own Sessions** and **View Team Activity** to open the **Team** page and the user pages.
* **View Pull Requests and Repositories** for **Total Cost**, **CI Cost**, **Pull Request Flow**, and the **Pull Requests** card of a user page.

To see which roles include these permissions, see [Default roles](https://docs.agent.golf/account/users.md#default-roles).

## Team page

The **Team** page shows, in this order:

1. Two rows of tiles:
   * **Total Cost**, [Inference Cost](https://docs.agent.golf/dashboard/metrics.md#inference-cost), [Inference Cost per Contributor](https://docs.agent.golf/dashboard/metrics.md#inference-cost-per-contributor), [Inference Cost per Merged PR](https://docs.agent.golf/dashboard/metrics.md#inference-cost-per-merged-pr), and [CI Cost](https://docs.agent.golf/dashboard/metrics.md#ci-cost). **Total Cost** is the inference cost plus the CI cost of the period. It and **CI Cost** need **View Pull Requests and Repositories**.
   * [Merged PRs](https://docs.agent.golf/dashboard/metrics.md#merged-prs), [Cycle Time](https://docs.agent.golf/dashboard/metrics.md#cycle-time), [Open PRs](https://docs.agent.golf/dashboard/metrics.md#open-prs), [Agent-Assisted PRs](https://docs.agent.golf/dashboard/metrics.md#agent-assisted-prs), and [Rework Rate](https://docs.agent.golf/dashboard/metrics.md#rework-rate). **Rework Rate** needs **View Pull Requests and Repositories**.
2. **Project Spend**, when Linear is connected. See [Project Spend](https://docs.agent.golf/linear/dashboard-and-team.md#project-spend).
3. The [Users table](#users-table).
4. [Over Time](#over-time).
5. [Per Contributor, Per PR](https://docs.agent.golf/dashboard/metrics.md#per-contributor-per-pr).
6. [Pull Request Flow](#pull-request-flow).
7. [Model Mix](#model-mix).

Each tile shows its change against the previous period of the same length, for example "+12%". See [Change and missing values](https://docs.agent.golf/dashboard/metrics.md#change-and-missing-values).

## Users table

The **Users** table has one row for each user of the workspace. Select a user to open their [user page](#user-pages).

| Column | Shows |
| - | - |
| **User** | The name of the user |
| [Inference Cost](https://docs.agent.golf/dashboard/metrics.md#inference-cost) | The known inference cost of the user's sessions, with a sparkline. **Unknown cost** when no request of the user has a known cost. |
| [CI Cost](https://docs.agent.golf/dashboard/metrics.md#ci-cost) | The CI cost of the user's authored pull requests. Shows with **View Pull Requests and Repositories** when a user has a linked GitHub account, also when each cost is \$0. A user without a linked GitHub account shows "—". |
| **Priority Mix** | The user's spend by the Linear priority of the project, when Linear is connected. See [Priority Mix](https://docs.agent.golf/linear/dashboard-and-team.md#priority-mix). |
| [Merged PRs](https://docs.agent.golf/dashboard/metrics.md#merged-prs) | The pull requests that the user authored and that merged in the period, with a sparkline |
| [Cycle Time](https://docs.agent.golf/dashboard/metrics.md#cycle-time) | The median cycle time of those pull requests |
| [Open PRs](https://docs.agent.golf/dashboard/metrics.md#open-prs) | The user's pull requests that are open at the end of the period |
| [Rework Rate](https://docs.agent.golf/dashboard/metrics.md#rework-rate) | The rework of the code that the user wrote, with the rework cost on hover. **Pending** means that each pull request of the user is still inside the rework window. Hover over it to see the count. The column info names the rework window of this browser. Shows only with **View Pull Requests and Repositories**. |
| [Sessions](https://docs.agent.golf/dashboard/metrics.md#sessions) | The user's root sessions. Select the count to open the user's sessions. |
| [Tool Failure Rate](https://docs.agent.golf/dashboard/metrics.md#tool-failure-rate) | The failed share of the user's tool calls. The value changes color above 2% and again above 5%. |

A user without a linked GitHub account shows a dash in the pull-request columns. See [Pull-request authors and users](#pull-request-authors-and-users).

## Over Time

**Over Time** shows one value for each period of the window in one chart. Use the switch in the card header to select the metric:

| Metric | Chart |
| - | - |
| **Inference Cost** | The inference cost of each model. The five models with the most cost show, and **Other** holds the rest. Requests with unknown cost do not count. |
| **CI Cost** | The [CI cost](https://docs.agent.golf/dashboard/metrics.md#ci-cost). It needs **View Pull Requests and Repositories**. |
| **Tokens** | The input, output, and cache-read tokens |
| **Cache Hit Rate** | See [Cache hit rate](https://docs.agent.golf/dashboard/sessions.md#cache-hit-rate) |
| **Sessions** | The [sessions](https://docs.agent.golf/dashboard/metrics.md#sessions) |
| **Pull Requests** | The merged and the closed pull requests, and under them, the **Open PRs** at the end of each period |

The period length depends on the window: hours for one day or less, days for up to 35 days, weeks that start on Monday for up to 366 days, and months for a longer window. The first and the last period can be shorter, because they stop at the edges of the window. The tooltip marks them, for example "Oct 12 · partial", and "so far" marks a period that has not ended yet. Their totals are lower than those of a full period.

The URL keeps the metric that you select, so a link or a reload shows the same metric.

## Pull Request Flow

**Pull Request Flow** shows one bar for each pull request that a user with a linked GitHub account authored and that was open at some time in the period. This includes a pull request that opened before the period and is still open.

* The bar runs from the open time to the merge time, the close time, or the end of the period. Its color is the state: open, merged, or closed. Select a row to open the pull request.
* The rows group under each user when the chart shows more than one user.
* Each user shows at most 50 pull requests: the open ones first, then the most recently merged or closed ones. The chart shows at most 500 pull requests in total. **+N more** opens the **Pull Requests** page for that user and period.
* A reopened pull request shows as open for the full time. See [Open PRs](https://docs.agent.golf/dashboard/metrics.md#open-prs).

## Model Mix

**Model Mix** shows the request share of each model in the period, as one bar and a table. **View in Diagnostics** opens the models of the period in [Diagnostics](https://docs.agent.golf/dashboard/diagnostics.md).

| Column | Shows |
| - | - |
| **Model** | The model and its provider. The reported names of one catalog model share one row. |
| **Request Share** | The model's share of the model requests in the period. Tokens and cost do not change it. |
| **Requests** | The model requests in the period |
| **Cost** | The known inference cost of the model in the period |
| **AI Yield** | The [AI Yield](https://docs.agent.golf/dashboard/metrics.md#ai-yield) of the merged pull requests whose agent sessions used only this model. **Too few PRs** shows when the model has fewer than 5 such pull requests. |

**AI Yield** shows only when a pull request that merged in the period has measured lines. Only primary model requests count. Helper requests, for example the requests that write a session title, do not count.

## User pages

A user page shows the values of one user, in the order of the **Team** page. To open it, select a user in the **Users** table. Your own user page also opens from **Open Your User Page** on the [Dashboard](https://docs.agent.golf/dashboard/overview.md#your-work).

The page shows, in this order:

1. Two rows of tiles:
   * [Inference Cost](https://docs.agent.golf/dashboard/metrics.md#inference-cost), [Inference Cost per Merged PR](https://docs.agent.golf/dashboard/metrics.md#inference-cost-per-merged-pr), [CI Cost](https://docs.agent.golf/dashboard/metrics.md#ci-cost), [Sessions](https://docs.agent.golf/dashboard/metrics.md#sessions), and [Tool Failure Rate](https://docs.agent.golf/dashboard/metrics.md#tool-failure-rate).
   * [Merged PRs](https://docs.agent.golf/dashboard/metrics.md#merged-prs), [Cycle Time](https://docs.agent.golf/dashboard/metrics.md#cycle-time), [Open PRs](https://docs.agent.golf/dashboard/metrics.md#open-prs), [Agent-Assisted PRs](https://docs.agent.golf/dashboard/metrics.md#agent-assisted-prs), [AI Yield](https://docs.agent.golf/dashboard/metrics.md#ai-yield), and [Rework Rate](https://docs.agent.golf/dashboard/metrics.md#rework-rate). **AI Yield** shows only when a merged pull request of the user has measured lines.
2. [Over Time](#over-time) for the user.
3. **Per PR**: the per-pull-request values of [Per Contributor, Per PR](https://docs.agent.golf/dashboard/metrics.md#per-contributor-per-pr).
4. [Pull Request Flow](#pull-request-flow) for the user.
5. **Pull Requests**: the user's pull requests, 10 on each page.
6. [Model Mix](#model-mix) for the user.
7. **Projects**: the Linear projects of the user's pull requests, when Linear is connected. See [User page](https://docs.agent.golf/linear/dashboard-and-team.md#user-page).
8. **Recent Sessions**: the user's sessions, 10 on each page. **View All Sessions** opens the full list.

On a user page, **CI Cost** counts the pull requests that the user authored, and **Rework Rate** follows the code that the user wrote. See [Rework Rate](https://docs.agent.golf/dashboard/metrics.md#rework-rate).

## Pull-request authors and users

Agent Golf maps the author of a pull request to a user through the user's linked GitHub account. The user must be in the workspace. See [Link Your GitHub Account](https://docs.agent.golf/github/personal-account.md).

* A pull request whose author maps to no user still counts in the team totals of **Merged PRs**, **Cycle Time**, **Open PRs**, and **Agent-Assisted PRs**, but in no user's values. The **Merged PRs** tile shows how many with "Outside the organization: N".
* A user without a linked GitHub account shows a dash, not 0, in each pull-request tile and column, with **No linked GitHub account** on hover. Their user page shows no **Agent-Assisted PRs**, **AI Yield**, or **Pull Request Flow**. For their **Inference Cost per Merged PR**, see [Inference Cost per Merged PR](https://docs.agent.golf/dashboard/metrics.md#inference-cost-per-merged-pr).


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