FDE Times dataFDE jobs open 913▼15 Change in open roles over 7 days, like-for-like: roles from companies we started tracking this week are left outNew in 7 days 63Companies hiring 200Remote-friendly 24%Median US pay $200kTop hirer Databricks 106
中文VI

The newspaper of the Forward Deployed Engineer

Guides

An agent can pass every test and still fail on the third turn

Static question-and-answer pairs miss conversations that branch, so build a fake customer with a hidden goal, a persona and a limit on its patience.

An orange crash-test dummy sits across a table from a robot, with three staggered speech bubbles between them, the last one bearing an angry lightning bolt, while a warning light on the table glows red.
ShareLinkedInFacebookX

In brief

  • A static set of question-and-answer pairs cannot test a multi-turn agent, because the user's next message depends on what the agent just said.
  • A simulated user needs a hidden goal, a consistent persona and a patience budget; grade on the database state, not on the agent's own account of what it did.
  • Run each scenario several times and report pass^k: on τ-bench, GPT-4o succeeded on fewer than 50% of tasks and scored under 25% on pass^8 in the retail domain.
Bar chart of consecutive pass rate (pass^k) for an agent that succeeds 60% of the time per run. The rate falls from 60% at k=1 to 36%, 22%, 13%, 8%, 5%, 3% and about 1.7% at k=8. The last bar is orange. The right-hand panel highlights the 1.7% figure (0.6 to the power of 8) and gives tau-bench (Sierra) results for GPT-4o: under 50% of tasks succeed, and pass^8 in the retail domain is under 25%. The bottom strip lists the five components of a simulated-user scenario: hidden goal, persona, disclosure rules, limited patience and target database.
An agent that is right 60% of the time has only about a 1.7% chance of passing 8 runs in a row. Measuring that reliability takes a simulated user running many times over.

Picture the last week before handover. The returns agent you built for a client has passed all two hundred sample question-and-answer pairs. Then someone on the client’s staff sits down to try it, types “I want to exchange my shoes”, and on the third turn the agent asks for the order number the person has just given.

A bug like this does not sit in any single answer. It only shows up as the conversation goes on, when the user gives half an answer, changes their mind or gets impatient. That is why an FDE building conversational agents needs one more skill: building a simulated user that “interviews” the agent hundreds of times before a real customer touches it.

Why is a static test set not enough?

The Strands Evals team says it plainly: a static dataset of input–output pairs, however large, cannot capture the dynamics of a conversation.

The user’s next message depends on what the agent has just said. If the agent asks the wrong question, a real person answers differently, and every turn after that heads down a branch the sample test set never anticipated.

So you need a conversation partner that reacts. τ-bench, a benchmark published by Sierra, does exactly this: a language model plays the user and talks to an agent that can call business APIs. Sierra describes the simulator as an LLM steered by instructions written for each scenario.

What does a simulated user need?

The first thing is a goal, and the goal must be hidden. Tian Pan, writing about synthetic users for evaluating multi-turn agents, stresses that the agent must not be told the goal in advance; it has to draw it out through the conversation. That is the very skill you want to test, so do not accidentally put the answer into the agent’s system prompt.

The second is a consistent persona. Strands Evals requires the simulated user to keep the same communication style, level of expertise and personality from start to finish. If an “older customer who rarely uses apps” suddenly writes like an engineer by the fifth turn, the scenario is broken.

The third is knowing when to stop. Strands Evals tracks the simulated user’s goal alongside the conversation to know when to end it. Tian Pan adds something often forgotten: real people have limited patience.

A simulator that is too patient makes the agent look right on paths where real customers would long since have given up, so it needs a “patience budget”.

Example: a returns agent for a retail chain

Suppose your client is a shoe retailer, and the agent can look up orders, change sizes and issue refunds. A simulation scenario might look like this:

SCENARIO = {
    "persona": "50-year-old customer, rarely uses apps, gives short answers, easily impatient",
    "hidden_goal": "Exchange the shoes in order W1234 for size 42; "
                   "if size 42 is out of stock, refund to the card",
    "reveal_rules": "Only give the order number when the agent asks; never volunteer the old size",
    "patience_turns": 6,
    "expected_db": {"W1234": {"status": "exchanged", "size": 42}},
}

Only the simulator knows the hidden goal. The reveal rules force the agent to ask the right questions. A six-turn budget means that if the agent goes round in circles, the fake customer will say “forget it, I’ll call the hotline” and end the conversation. The code for a single trial run takes only a few lines:

def run_episode(agent, sim, scenario, db):
    msg = sim.start(scenario)
    for _ in range(scenario["patience_turns"]):
        reply = agent.respond(msg, db)   # the agent may call APIs and write to db
        msg, done = sim.next(reply)      # the sim checks whether its goal is met
        if done:
            break
    return db.snapshot() == scenario["expected_db"]

The last line matters most. An agent can write a very polite “I’ve changed the size for you” while nothing in the database has changed. τ-bench grades by comparing the database state after each task with the expected outcome, and you should do exactly the same.

Passing once is not passing

Running the scenario above once and seeing it succeed says little. Sierra uses a metric called pass^k to measure reliability: whether the agent completes the same task across multiple runs.

The results in the τ-bench paper are sobering: even a leading function-calling agent such as GPT-4o succeeded on fewer than 50% of tasks, and its pass^8 in the retail domain was below 25%.

A quick calculation shows why the number falls so fast. If a scenario succeeds at random 60% of the time and runs are independent, the probability of passing all 8 runs is 0.6 to the power of 8, about 1.7%. An agent that is “usually right” is still almost certain to fail someone on the first day of go-live.

How to do it on a client site

Start with the five to ten business flows the client cares about most, taken from discovery sessions or call-centre logs. For each flow, write a scenario with a hidden goal, a persona, reveal rules, a patience budget and an expected database state. Add a few difficult personas: someone who changes their mind halfway, someone who gives wrong information, someone who asks about things out of scope.

Then run each scenario k times against a copy of the database that is reset before every run. Report both the success rate and pass^k to the client, along with a few representative failed transcripts. Transcripts help clients understand faster than any chart, and they double as next week’s list of fixes.

Three common traps

The first trap is a simulator that is too well-behaved, as described above: without a patience budget, every detour looks like success. The second trap is subtler.

Tian Pan warns that when the simulator and the agent use the same kind of model, the evaluation becomes a “hall of mirrors”: the two sides converse fluently but bear no resemblance to real people.

The third trap is assuming the simulator behaves like real people without checking. A paper on arXiv in May 2026 proposed the realsim framework, which compares simulated users with real conversations from a distributional point of view rather than sentence by sentence. Before each batch of runs, a quick check against this table helps:

Trap Check before running
Over-patient simulator Does every scenario have a turn budget and a give-up line?
Hall of mirrors Does the user role use a different model, or at least a prompt very different from the agent’s?
Simulator unlike real people Have simulated transcripts been compared with real ones on message length, number of turns and when users give up?

Putting the skill on your CV

On a CV, describe this skill with one concrete line rather than a generic introduction, for example: “Built a simulated-user evaluation suite for 10 returns flows, graded on database state, raising pass^8 from X to Y”.

For interviews, have a failed transcript ready (with details redacted) and explain how you found the bug, what you fixed and how pass^k changed. A story with before-and-after numbers is more convincing than any list of tools.

Clients will not remember how your agent scored on the sample test set. They will remember the first time it asked again for the order number they had just given, and it is far better that you met that bug before they did, in a simulated transcript.

Was this article useful?

Use with your AI assistantAsk Claude ↗Ask ChatGPT ↗
5 sources
Read next on the roadmap · Stage 5: DeploymentWhy a five-minute replay window won't stop Stripe duplicatesStripe retries for up to three days with fresh signatures, so a safe receiver also records event IDs, built here in plain Python.