# Test an agent with saved examples

Check whether the support agent keeps its `Summary:` output heading across two saved requests, before and after an instruction change.

## Before you start

Use the `support-triage` agent from [Create your first agent](/docs/studio/getting-started.md) in a development branch. To run the same examples as an automated, repeatable check, use the [Code eval guide](/docs/code/guides/evals.md).

## Save the examples

Keep the requests you test with in one place, each with a stable ID, so every round uses the same inputs:

```json title="Saved examples"
[
  {
    "id": "late-delivery",
    "input": "My parcel is late."
  },
  {
    "id": "duplicate-charge",
    "input": "I was charged twice."
  }
]
```

## Run the baseline

Open [Chat](/docs/studio/panels/chat.md) and select `support-triage`. Send the first example's input, then start a new conversation for the second, so neither answer depends on the other.

Each answer should start its summary with `Summary:`. This checks the heading, not the accuracy of the summary or category. If an answer misses the heading, open its run in [Runs](/docs/studio/panels/runs.md) and check the actual output and any execution error.

## Change and repeat

Open the agent's instructions and add: “Keep the complete response under 80 words.” Save the agent, then send the same examples again, each in a new conversation.

Compare the answers. Both should still contain `Summary:`. Read the new answers to check the requested length.

If the format regresses, revise the instructions and repeat the same examples. Keep the example IDs stable so you can identify which request changed behavior.

## Next

[Deploy the tested project](/docs/studio/guides/deploy-project.md) to an environment, then repeat the same requests against that version. Keep the saved examples for checking later instruction changes.

<span id="related"></span>
