How Do You Test a Multi-Turn Agent Repeatably?
The interviewer asksYour travel-booking agent asks users follow-up questions. How do you evaluate it repeatably when every conversation goes differently?
AI Product EngineerModel PMForward Deployed Engineer (secondary)AdvancedTechnical roundRepresentative10 min
On this page
The 30-second version
- Replace the human with a simulated user: a scripted persona or a model given a hidden goal.
- Each scenario has a goal (book a refundable flight under $400) and facts the user reveals only when asked.
- Grade the outcome in code: the final booking matches the goal and policy.
- Run each scenario several times; report how often all runs succeed.
- Check the simulator itself: does it behave like real users?
What it's really testing
- Simulated users
- Outcome checks for agents
- Consistency
How to structure your answer
- Control the user side.
- Define scenarios.
- Grade outcomes.
- Repeat runs.
- Validate the simulator.
The interview, played out
- InterviewerYour travel-booking agent asks users follow-up questions. How do you evaluate it repeatably?
- CandidateControl the user side. Each test scenario has a simulated user: a model given a hidden goal, like "book a refundable flight to Lisbon under $400 on the 14th", and facts it reveals only when asked, like a seat preference.
- Strong moveMakes the user side controllable.
- CandidateThe agent and the simulated user talk; at the end, code checks the booking: right date, under budget, refundable, and no policy broken along the way.
- CandidateSince runs vary, each scenario runs several times, and I report how often all runs succeed, not just one.
- InterviewerIs the simulated user realistic?
- CandidateThat needs checking: compare simulated conversations with real ones for things like vagueness and changing their mind, and add personas for difficult users.
The strong answer, distilled
- Simulated users: hidden goals and facts revealed on request.
- Scenarios: goal plus constraints.
- Grading: code checks the final booking and policy compliance.
- Consistency: several runs per scenario; all-runs success rate.
- Simulator validity: compared with real conversations; difficult personas.
This is one strong answer, not the only one.
How it's scored
| Dimension | Weak (2) | Passable (3) | Strong (5) |
|---|---|---|---|
| Repeatability | Manual testing | Fixed scripts | Simulated users with hidden goals |
| Grading | Read transcripts | Judge | Code checks on outcome and policy |
| Rigour | One run | Several runs | All-runs success plus simulator validation |
Round scorecard: Model PM: technical round, filled in for the mock candidate
| Dimension | Weak | Passable | Strong | The mock candidate |
|---|---|---|---|---|
| Problem framing | Jumps to a method before saying what decision the eval supports. | States the goal, but not who acts on the result or what threshold matters. | Names the decision, the owner and the cost of each kind of error before choosing a method. | Strong. Saw that the user side must be controlled. |
| Measurement rigour | Reports one accuracy number, or trusts the metric without checking it. | Uses the right metrics but misses how the labels or splits could mislead. | Separates error types, uses held-out labels, and says how they'd catch fooling themselves. | Strong. Checks on final booking state and policy. |
| Technical depth | Uses terms loosely; can't say how the method works. | Explains the method correctly when asked. | Explains the mechanism unprompted and knows where it breaks. | Strong. Simulated users with hidden goals. |
| Judgment and trade-offs | Treats every option as equally good, or picks one without reasons. | Names trade-offs but doesn't commit. | Commits to a choice, states the trade-off accepted, and what would change their mind. | Strong. Repeated runs; validated the simulator. |
| Communication | Hard to follow; no structure. | Structured, but long or missing a summary. | Signposts the plan, checks in, and lands a clear recommendation. | Passable. Long explanation. |
How the answer changes by role
| Role | What to emphasise |
|---|---|
| AI Product Engineer | Building the simulator and harness |
| Model PMProduct Manager. Decides what a product should do, for whom, and why. Read the full explanation | Agent capability measurement |
| Forward Deployed EngineerForward Deployed Engineer. An engineer embedded with customers who scopes, builds and ships AI solutions into production. Read the full explanation | Scenarios from the customer's real requests |
Common mistakes
- Testing only single-turn requests
- Unrealistically cooperative simulated users
- Single runs
More follow-ups to practise
- "The simulator reveals facts too easily." Hint: tune personas; check against real logs.
- "Scenarios need live prices." Hint: mock the booking system with fixed data.
Go deeper
- Module: Agent and RAG evals
- Framework: Eval Plan Framework
- Framework: Explain a Concept Framework
- Framework: Opening Any Interview Answer
- Lesson: Evaluating agents: outcome, path and consistency
- Also tests: Eval plans and release gates
Sources
Representative question: written to match technical rounds for AI product roles, not a specific reported interview.