Skip to main content
Create user prompts to guide how a simulated user interacts with your agent, then evaluate the results using defined metrics. Useful for quality assurance and catching regressions before deployment.

Setup

1

Create a new test case

Click AI Simulated Chat to create a new test case.
2

Define the user prompt

Write a prompt describing the simulated user’s identity, goal, and personality. Recommended format:
3

Select LLM model

Choose which LLM model to use to generate the simulated user conversation.
4

Run the simulation

Click Test to start the conversation.
5

Review the results

Manually review the conversation to identify any issues.
6

Save as test case

Click Save to preserve the test case for future regression runs.
7

Define evaluation metrics

Add metrics to automatically score the conversation. Recommended format:
8

Configure variables and function mocks (optional)

Specify dynamic variables to use during testing. Set up mocks for custom functions to prevent real calls during testing and ensure consistent results across runs.
Save your best test cases — they become your regression suite. Run them after every prompt or function change to catch breakage early.