> ## 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.

# Running Batches

> Launch scenarios against your agent and prompt or model variants, and follow each run as it happens

A **batch** runs one or more [scenarios](https://docs.osvi.ai/platform/evals-scenarios.md) against the agent — and, optionally, against variants of it — so you can compare how each version handles the same conversations.

> [!WARNING]
>
> Runs call the agent's **real tools**, just like a live conversation. See the note on [Test Agent Before You Deploy](https://docs.osvi.ai/platform/evals.md) before running evals on an agent connected to production systems.

## Launching a batch

Click **Run** on a scenario to test just that one, or **Launch batch** — next to **Conductor** above the scenario list — to run several:

![The Conductor button with its dropdown arrow, next to the Launch batch button](https://mintcdn.com/osviai/vz-dnXu_pPoKI5E6/images/Evals/evals-launch-run-Light.png?fit=max\&auto=format\&n=vz-dnXu_pPoKI5E6\&q=85\&s=01ac76014e5e856a043087e88a460b18)

The launch dialog takes you through naming the batch and picking scenarios, then [variants](#variants) and [scoring fields](#scoring-fields). On launch the **Runs** tab opens: every selected scenario runs once against the current agent and once per variant, so three scenarios with two variants make nine runs.

**Run against** in the launch dialog picks which [version](https://docs.osvi.ai/platform/agent-versions.md) of the agent the batch tests: the live version, **My draft** (your unpublished changes), or any other version. Runs use that version as it is when you launch, so edits that haven't saved yet aren't included.

## Variants

A variant is a what-if version of the agent, run alongside the current agent on the same scenarios. Each variant needs a label and must change the model or the prompt:

* **Model & sampling** — a different provider, model, or temperature (0–1).
* **Prompt** — a replacement system prompt. The box starts empty; use **Load from version history** to start from a prompt in the agent's [earlier prompt history](https://docs.osvi.ai/platform/agent-versions.md#earlier-prompt-history) (from before versions; agents created since won't have any). To test a whole version instead, pick it under **Run against**. For multi-prompt agents this replaces the global system prompt shared across states.

You can add up to four variants per batch. Results for each are shown side by side — see [Comparing variants](https://docs.osvi.ai/platform/evals-results.md#comparing-variants).

## Scoring fields

Scoring fields are what the AI judge grades every run on, from 0 to 5. **Task completion**, **Instruction and persona adherence**, **Safety**, and **Conciseness** are available by default; you can rename them or **Add field** to create your own. At least one field must be enabled. Fields can be turned off but not deleted, and your selection is remembered for the next launch.

## Watching a batch run

![The Runs tab with a running batch of three guardrail scenarios: one completed, one simulating, one queued](https://mintcdn.com/osviai/vz-dnXu_pPoKI5E6/images/Evals/evals-test-suite-Light.png?fit=max\&auto=format\&n=vz-dnXu_pPoKI5E6\&q=85\&s=ec9aea37049065a21c0f015288c4a244)

* **History** on the left lists the batches you've launched, with each one's status and progress (*1/3 done*). Click one to open it.
* **The batch header** shows how many runs have completed and a **Stop** button while it's running.
* **The runs table** has a row per run. **Status** shows where each run is — *queued*, *simulating · turn 1/16* while the conversation is in progress, then *scoring…* and *completed*. **Verdict** shows how the run ended, such as *user closed*.
* **Results** says **Running and judging** with a count of scored runs until every run is scored, then fills in automatically — see [Reading Results](https://docs.osvi.ai/platform/evals-results.md).

## Stopping and deleting

Click **Stop** to cancel a batch — unfinished runs are cancelled, and a stopped batch doesn't produce results. Batches and runs can be deleted once they've finished.


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