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

# Test Agent Before You Deploy

> Test agents against simulated conversations, score them with an AI judge, and compare prompt and model changes before they reach customers

Evals let you test an agent the way customers will use it — without waiting for real conversations. You describe **scenarios** (an impatient caller who wants a refund, a lead who asks about pricing and then goes quiet), run them against the agent, and an AI judge scores every conversation. Change the prompt or model, run the same scenarios again, and compare the results side by side.

<Note>
  **Evals is in beta.** It's free to use during the beta and will later become an Enterprise-only feature.
</Note>

<Warning>
  Evals run your agent's **real tools**. When a test conversation triggers a tool — a custom tool webhook, for example — that call is actually made, just as in a live conversation. Before running evals on an agent connected to production systems, point its tools at test endpoints or make sure your systems can recognise and ignore test traffic.
</Warning>

## The Evals tab

Open any [voice](/platform/agents) or [chat](/platform/chat-agents) agent and go to the **Evals** tab.

<Frame>
  <img src="https://mintcdn.com/osviai/vz-dnXu_pPoKI5E6/images/Evals/evals-home-Light.png?fit=max&auto=format&n=vz-dnXu_pPoKI5E6&q=85&s=ce08c428c3d9ef83041c88977706cbea" alt="The Evals tab on a voice agent, showing the beta banner, the Scenarios and Runs switch, and an empty scenario list" className="dark:hidden" width="1600" height="761" data-path="images/Evals/evals-home-Light.png" />

  <img src="https://mintcdn.com/osviai/vz-dnXu_pPoKI5E6/images/Evals/evals-home-Dark.png?fit=max&auto=format&n=vz-dnXu_pPoKI5E6&q=85&s=0e771f9baf736b60313368a8a7e410e8" alt="The Evals tab on a voice agent, showing the beta banner, the Scenarios and Runs switch, and an empty scenario list" className="hidden dark:block" width="1600" height="759" data-path="images/Evals/evals-home-Dark.png" />
</Frame>

* **Scenarios / Runs** — switch between the agent's tests and the batches you've run.
* **The scenario list** — named after the agent (for example *Evals - Osvi Customer Support*) with a count of scenarios, and a table of each scenario's name, **Mode**, **Source**, and actions. A new agent starts with **No scenarios yet**.
* **Conductor** — writes tests for you; its **▾** menu has **Add manually**. See [Writing Scenarios](/platform/evals-scenarios).
* **Launch batch** — runs scenarios against the agent. It's disabled until there's at least one scenario. See [Running Batches](/platform/evals-batches).

Unlike the test panel, evals don't require the agent to be active — the agent above is still **Inactive**. Archived agents can't be tested.

## How evals work

| Concept      | What it is                                                                                                                      |
| ------------ | ------------------------------------------------------------------------------------------------------------------------------- |
| **Scenario** | One test: who the simulated customer is, what they want, and what counts as success. Each agent keeps its own set of scenarios. |
| **Batch**    | A launch of one or more scenarios, optionally against [variants](/platform/evals-batches#variants) of the agent as well.        |
| **Run**      | One conversation: one scenario against the current agent or one variant. Each run has a transcript, scores, and metrics.        |

The workflow follows the pages in this section:

<CardGroup cols={3}>
  <Card title="Writing Scenarios" icon="pen-to-square" href="/platform/evals-scenarios">
    Describe the customers and conversations to test, by chat or by hand.
  </Card>

  <Card title="Running Batches" icon="play" href="/platform/evals-batches">
    Launch scenarios against the agent and prompt or model variants.
  </Card>

  <Card title="Reading Results" icon="chart-simple" href="/platform/evals-results">
    Scores, failure analysis, transcripts, and debugging.
  </Card>
</CardGroup>

## Voice agents

Voice agent evals run over **text**: the simulated customer and the agent exchange messages rather than audio. Scores reflect what the agent says and does — its reasoning, tool use, and adherence to the prompt — not its speech recognition, voice, turn-taking, or latency.

<Note>
  Voice-to-voice models aren't supported in evals yet. Batches for those agents run on a stand-in text model, and the launch message and run details say so.
</Note>

<Tip>
  Turn real failures into scenarios. When a conversation goes wrong in production, write it up as a scripted or simulated test, fix the prompt, and keep the scenario — re-running the suite after every prompt change catches regressions before customers do.
</Tip>
