Agent tests: replay conversations before you ship
Replay real or written conversations against your agent and compare the answers before a change reaches customers.
Agent tests let you check a change before customers see it. Replay real or written conversations against your agent, then compare the new answers with the ones you approved.
What you can do
- Build a test from a real conversation in your history, or write one yourself
- Run a set of tests against the current draft
- Compare each new answer with the expected one, side by side
- See which sources and which procedure the agent used
Try it
- Open an agent and go to Test > Tests.
- Select New test, then pick a conversation or type the customer messages.
- Write the answer you expect, or approve the current one.
- Select Run to replay it.
Run the full set after every change to sources, procedures or the model.
When to run tests
Run them before you publish a draft, after retraining a source, and before switching models. A failing test points to the exact message where the answer changed, which makes the cause easier to find.
For a quick one-off check, use Test > Playground instead. It answers live and shows the sources and procedure behind each reply.
See the Tests guide and the Playground guide for the details.
See every update in one place.