# What Is a Simulated User?

> What a simulated user is, how it tests a chatbot or agent across many chats, and where it misleads, explained simply for your AI interview.

**In short:** A simulated user is a language model that plays the customer in a test chat with an AI app. It runs many realistic conversations toward a goal you can check, but it tends to be too cooperative to prove an agent is ready on its own.

AI and LLM interview question Q277, Evaluation and observability. Advanced, occasional (our estimate). From Venkat R. Murty's free Interview Kit: https://designervenkat.online/interview/ai/what-is-a-simulated-user

## Say it in 30 seconds

A simulated user is a language model that plays the customer when I test an AI app. I give it a goal and a persona, like an impatient guest who was charged twice. It chats with the app, and at the end I check whether the goal was met. It lets me run many realistic chats without real people. The catch is that simulated users tend to be too polite, so I always check the scores against real transcripts.

## Say it in 2 minutes

A simulated user is a language model that plays the customer in a test chat with my AI app. I give it a goal and a persona, such as a guest who was charged twice and wants one refund. It writes each message the way a real guest might, and the app replies until the goal is met or the chat ends.

Teams use one because real people can't test every case by hand. A support bot can meet thousands of different chats, and a simulated user can run a suite of a hundred scenarios, several times each, before every release. For agents that use tools, I check the end state too: did the refund appear once in the test data, and did the booking stay as it was? That is how tau-bench, a benchmark for agents that use tools, scores them.

The weak spot is realism. A 2026 study ran 451 real people and 31 simulators through the same tasks, and found the simulators too cooperative, with little realistic frustration or ambiguity. That creates an easy mode, so agents look better than they are. So I use simulated users as a fast first filter, keep a sample of real transcripts as the final check, and write hard personas on purpose.

I also keep goals checkable. A vague goal like 'help the guest' gives a vague pass. A goal like 'one refund, booking unchanged' gives a result I can count, and I repeat each run to test reliability, not luck.

## What is a simulated user, in plain words?

A simulated user is a language model that plays the customer in a test chat with an AI app. You give it a goal and a persona, then it writes each message the way a real customer might, and the app replies. The chat goes on until the goal is met or a set turn limit is reached.

Think of a mystery shopper: an actor who plays a customer with a real problem, and checks whether the staff solved it. A simulated user is like that actor, but it can run many visits in one night and does not get tired.

For an AI support bot, the same idea works like this: a made-up customer with a double charge chats with the bot, then a check reads the payment records to see whether the refund was made once and nothing else changed.

- **Persona:** The made-up background and tone the simulated user takes on, such as a worried first-time customer.
- **Scenario:** One test case: the goal, the persona and the facts the simulated user knows.
- **Goal state:** The end result you check, such as one refund record in the test data.
- **Pass^k:** The agent must pass the same scenario in all k repeated runs. It tests reliability.

## How does a simulated user run a test?

Each test has four steps, and the chat part runs in a loop. The end check is what makes the result countable.

1. **Write the scenario:** The goal, the persona and the facts the customer knows, such as the booking number and the amount charged.
2. **Let the chat run:** The simulated user writes, the agent replies, and this repeats for a set number of turns, so a chat can't run forever.
3. **Check the end state:** Compare the test data with the goal: one refund record, and no change to the booking.
4. **Repeat the run:** Run each scenario several times, because one pass can be luck.

*Diagram, One simulated test run: One test run, from the scenario card to pass or fail. The simulated user and the agent take turns, the agent's tools change a test copy of the data, and the result is compared with the goal.*
1. The scenario tells the simulated user its goal and who it is.
2. The customer's next message goes to the agent.
3. The agent's reply goes back to the simulated user, and the chat goes on.
4. The agent's tool calls change a test copy of the data.
5. The run passes only if the data ends in the goal state.

> "a benchmark emulating dynamic conversations between a user (simulated by language models) and a language agent provided with domain-specific API tools and policy guidelines" (tau-bench authors)
>
> "Simulation seed datasets first drive a simulator that plays the user's role against the target agent." (Microsoft, Foundry evaluation docs)

Here is a made-up case from a travel company's booking chatbot, with a suite of 120 scenarios. One scenario: a guest was charged twice for one hotel night, has the confirmation email, and wants one refund without losing the booking. The simulated user opens with: "I was charged twice for one night at the Harbour Inn. Please refund the second charge only." If the bot refunds once and keeps the booking, the run passes. If it also cancels the booking, the run fails, even though the guest got the money back.

## Why can a simulated user mislead you?

A simulated user is only as realistic as the model behind it, and a 2026 study shows the gap matters. It had 451 real people run the same tasks as 31 simulators (language models, or LLMs). The simulators were excessively cooperative, and their feedback was more positive than the people's.

- **Scripted: Fixed lines.** The same words every run. Easy to repeat, but it never reacts to the agent.
- **Simulated: Reacts, but too polite.** Writes new messages each run and reacts to the agent, yet tends to lack realistic frustration or confusion.
- **Real people: The honest baseline.** Vague and varied, with the frustration and ambiguity that simulators tend to miss. Use them to check the simulator.

*Diagram, Why an easy simulated user flatters the agent: A polite simulated user lets the agent pass easily, so its score looks high. Real people are vague and ambiguous, so they test the hard cases and give a more honest score.*
1. Polite users let the agent sail through, so it looks better than it is.
2. Vague, ambiguous users test the hard cases, so the score is more honest.

> "LLM simulators are excessively cooperative, stylistically uniform, and lack realistic frustration or ambiguity, creating an "easy mode" that inflates agent success rates above the human baseline." (Sim2Real study authors)
>
> "A reliable user simulator tightly coupled with the environment, whose behavior is constrained by tools and observable states, improving simulation fidelity" (tau-squared-bench authors (conversational agents))

The fix has three parts. Give the simulator hard personas on purpose, keep a sample of real transcripts as the final check, and tie the simulator to the environment so its replies depend on real tool results, as the tau-squared-bench authors suggest.

> **Tip:** Asked how you would trust a simulated user? Say you check it against real transcripts, and that a fast simulator is for catching regressions, not for proving quality on its own.

### How would you build simulated users for a claims agent?

An insurer wants to test an agent that opens car damage claims. Here is how I would build the simulated users.

1. **Start from real files:** Turn 50 past claims, with names removed, into scenarios. Include the messy ones: a missing photo, a late date.
2. **Make the persona realistic:** A stressed driver who gives the accident date after the damage details, and corrects a figure halfway through.
3. **Set checkable goals:** Claim opened in the right category, no payment above the limit, and a human review when the damage passes a set amount.
4. **Test the simulator too:** Compare 20 simulated chats with real transcripts each release, and fix the simulator when they drift apart.

## What does the interviewer want to hear?

**A strong answer covers**

- [ ] A plain definition: a language model plays the user in a test chat.
- [ ] What it is for: many realistic chats, each with a checkable end state.
- [ ] Personas and goals, written as facts a test can check.
- [ ] Its weak spot: too cooperative, so check it against real people.
- [ ] Repeat runs, and use pass^k to test reliability.
- [ ] Keep real transcripts as the final judge.

**Common traps**

- Trap: "It replaces real users." Better: It replaces hand testing at scale. Real people still check the simulator.
- Trap: "If it passes, the agent is ready." Better: A pass means the simulator was satisfied. Check real transcripts and the rare cases too.
- Trap: "The simulated user is always realistic." Better: A 2026 study found LLM simulators excessively cooperative. Test the simulator against real people.

## Can you spot the flaw in a test?

**Spot the flaw:** Your team tests a refund agent with a simulated user. Which test setup is most likely to give a falsely high pass rate?

A. Each scenario runs three times, and the test database resets between runs.
B. The simulated user always answers the agent's questions on the first try, and never gets angry.
C. The goal is one refund record in the test data, and the booking unchanged.
D. Every release, 20 real support chats are compared with the simulator's scores.

**Answer:** B. A simulated user that always cooperates makes the agent look better than it is. Repeat runs, a reset database, a checkable goal and real-transcript checks are the good parts.

**Quick check:** Your claims agent passes 50 of 50 simulated runs but fails on two real claims. What is the most likely cause?

A. The test runs used too few repeats, so the agent got lucky
B. The simulated user's personas are too polite to hit the hard cases
C. The real claims were longer than the test chats
D. The agent's tools were too slow for the test database

**Answer:** B. A simulated user that stays polite never reaches the hard cases that real claims contain. Check real claim chats, and add awkward personas to the test.

## Can you answer these from memory?

**Flash cards**

- **What is a simulated user?** A language model that plays the customer in a test chat with your AI app.
- **Why use one?** It runs many realistic chats toward a goal, with no real customers needed.
- **What is a persona?** The made-up background and tone the simulated user takes on in a test.
- **What is the goal state?** The end result you check, such as a refund record in the test data.
- **Main weak spot?** It is too cooperative, so it can make agents look better than they are.
- **What do you do about it?** Check a sample against real transcripts, and repeat runs to test reliability.

## Likely follow-up questions

- Q276 How do you evaluate multi-turn chats? https://designervenkat.online/interview/ai/how-do-you-evaluate-multi-turn-chats
- Q275 Eval scores dropped but the model is unchanged. How do you debug? https://designervenkat.online/interview/ai/eval-scores-dropped-model-unchanged
- Q279 Statistical significance in evals? https://designervenkat.online/interview/ai/statistical-significance-in-evals
- Q280 Design an eval harness for a model release. https://designervenkat.online/interview/ai/design-an-eval-harness-for-a-model-release
- Q271 What are error analysis and transcript reading? https://designervenkat.online/interview/ai/what-are-error-analysis-and-transcript-reading
- Q270 Code vs model vs human graders? https://designervenkat.online/interview/ai/code-vs-model-vs-human-graders
