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

# Add your own evals

> Score every agent conversation against your own yes or no, choice or score evals with Polaris, at no extra LLM cost.

Polaris scores every conversation against the evals on the **Polaris** page: four built-in evals and any you add. Evals run on Polaris and are included in Agent Analytics at no extra cost, so you score every run instead of a sample. This page shows how to add an eval and get it scored. It takes about 5 minutes, plus the time the run takes.

## Before you start

* [ ] A workspace with agent traces. See the [Quickstart](https://learn.kubit.ai/agent-analytics/get-started/quickstart.md).
* [ ] An eval you want scored on every conversation, written so the result is yes or no, a choice from a list, or a score.

## Steps

### 1. Open Polaris

Open **Polaris**. **Evals** lists the built-in evals: **Answer relevant**, **Task resolved**, **Right tools** and **Grounded in tool results**.

![The Evals section of the Polaris page, with an Add eval button next to the heading. The table has the columns Eval, Checks, Polaris found, Your answers and Status, and lists Grounded in retrieval (Paused), then Answer relevant, Task resolved, Right tools and Grounded in tool results (On), each with how many conversations Polaris scored no.](https://mintcdn.com/kubit/yIkDjSAsLhzdZAZj/images/agent-analytics/evaluator-questions.png?fit=max\&auto=format\&n=yIkDjSAsLhzdZAZj\&q=85\&s=14671cb4808ced302ae2c3227cf85182)

### 2. Add an eval

Under **Evals**, click **Add eval**, then **New eval**. Pick a template under **Start from a template**, or write your own. Pick its **Score type**: **Yes / no**, **Choice** or **Score**.

![The New eval page. Under Start from a template are the templates Refund promised, Policy followed and Asked for a person (Yes / no), Contact reason and Reply language (Choice) and Helpfulness (Score). Below them, Score type offers Yes / no, Choice and Score, above an Instructions box.](https://mintcdn.com/kubit/yIkDjSAsLhzdZAZj/images/agent-analytics/evaluator-new-custom-question.png?fit=max\&auto=format\&n=yIkDjSAsLhzdZAZj\&q=85\&s=6613b4bc37186034228b5a696f7ab69a)

| **Field** | **Required** | **What it sets** |
| - | - | - |
| **Score type** | Required | **Yes / no**, **Choice** or **Score**. Can't be changed after you save. |
| **Instructions** | Required | The eval or rule, in your own words. Up to 1,000 characters. |
| **Short name (optional)** | Optional | The label's name, such as `refund_promised`. Lowercase letters, digits and underscores, starting with a letter, up to 64 characters. Left empty, it's made from the first words of the instructions. Can't be changed after you save. |
| **Looks at** | Required, defaults to **The whole conversation** | **The whole conversation**, **The final reply**, **Each tool call**, **Each model call**, **Each retrieval** or **Each agent step**. A step type is scored on up to the latest 20 of those steps. |
| **Yes means** and **No means** | Required for **Yes / no** | What each answer means. Up to 300 characters each. |
| Options | Required for **Choice** | 2 to 20 options, each with a lowercase name and a meaning. Click **Add an option**. |
| Scores | Required for **Score** | 2 to 10 whole numbers from 0 to 100, lowest first, each with a meaning. Click **Add a score**. |
| **How sure it must be (%)** | Optional, under **More options** | 1 to 99. Defaults to 50 for **Yes / no**. |
| **Ask about** | Optional | **Every conversation** or **A published filter**. Only Agent workspaces can pick a Published Filter. |
| **Category** | Optional, under **More options** | **Action**, **Exception**, **Misstep**, **Warning** or **Behavior** (the default). |

Click **Add eval**. A workspace can have 10 of your own evals turned on. An 11th is saved paused, and the button reads **Add paused**.

### 3. Get the eval run

When your new eval runs depends on the workspace:

| **Workspace** | **What to do** |
| - | - |
| **Sandbox** | Click **Relabel** on an upload. Relabelling runs every eval again and replaces the upload's labels. Polaris labels one upload at a time. |
| Warehouse (**Warehouse**, **MLflow Tracing**, **Cortex Agents**, **Google ADK**, **Langfuse**) | On the **Polaris** page, pick a **Window** of days and click **Label conversations**. Check **Relabel conversations that already have labels** to score conversations labelled earlier. Nothing is scheduled. |
| **Agent** | Nothing. Every hour, the Evaluator scores each new conversation against it. Earlier conversations aren't scored. |

### 4. Read the scores

When the run ends, open **Activity** and click **Refresh**. The **Labels** column shows each trace's labels. A **Yes / no** eval adds a label named after its short name, such as `refund_promised`. A **Choice** or **Score** eval adds the short name plus the result, such as `contact_reason_billing`.

![The Activity traces grid with a Timeline of trace counts in 30-minute bars and errors in red, above the columns Timestamp, Name, Spans, Latency (Ms), Tokens, Model, Labels, Trace ID and User ID. The Labels column shows labels such as completed, session\_not\_completed, answered and low\_judge\_confidence.](https://mintcdn.com/kubit/1Fb-SAr-OHTiP1JA/images/agent-analytics/activity-labels.png?fit=max\&auto=format\&n=1Fb-SAr-OHTiP1JA\&q=85\&s=c4a3f79106f7f1e1cb45a83926b5220c)

Click a trace, click a span and open its **Polaris** tab. It lists that span's labels, then every eval result for the whole trace. Until an eval is scored on an Agent workspace, it reads `Not answered yet. New answers come every hour.`

## Verify

Open **Activity** after the run and confirm that labeled traces carry a result for your eval.

## If it fails

| **Symptom** | **Cause** | **Fix** |
| - | - | - |
| **Relabel** is disabled | A run is in progress | Wait until the upload no longer shows `Running` |
| **Labels** reads `Not analysed yet` | The Evaluator hasn't labeled that trace | Wait for the run to finish, then click **Refresh** |
| `10 evals are on already, so this one is saved paused.` | 10 of your own evals are already turned on | Pause another eval, then turn this one on |
| `Polaris doesn't support this warehouse, so evals would never be scored here.` | The workspace's warehouse isn't Snowflake, Databricks, BigQuery or ClickHouse | Use a workspace on a supported warehouse |

## Next steps

* [Polaris](https://learn.kubit.ai/agent-analytics/use/polaris.md#evals): the built-in evals and the constraints.
* [Find Missteps that return OK](https://learn.kubit.ai/agent-analytics/use/find-missteps.md): use labels to find silent failures.


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