FDE Times dataFDE jobs open 932▼14 Change in open roles over 7 days, like-for-like: roles from companies we started tracking this week are left outNew in 7 days 62Companies hiring 202Remote-friendly 24%Median US pay $201kTop hirer Databricks 92
中文VI

The newspaper of the Forward Deployed Engineer

Guides

Your agent can pass every test and still fail on turn three

Static question-and-answer pairs miss conversations that branch, so build a simulated customer with a hidden goal, a persona and limited patience.

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

In brief

  • Static question-and-answer pairs cannot test a multi-turn agent, because the user's next message depends on the agent's reply.
  • A simulated user needs a hidden goal, a consistent persona and a patience budget; grade on database state and ignore the agent's own account.
  • Run each scenario many times and report pass^k: on τ-bench, GPT-4o succeeded on fewer than 50% of tasks, with pass^8 below 25% 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.

A returns agent can pass all 200 of its sample question-and-answer pairs and still stumble on the third turn of a real conversation. Take a hypothetical handover, one week out: the test suite is clean, then an employee at the client sits down and types “I want to exchange my shoes.” By turn three, the agent is asking for the order number that person has just given it.

No single reply contains this kind of bug. It surfaces only as the conversation runs on and the user gives incomplete answers, changes their mind or loses patience. FDEs who build conversational agents therefore need one more skill: creating simulated users to “interview” the agent hundreds of times before real customers touch it.

Why is a static test suite not enough?

The Strands Evals team says plainly that a static dataset of input-output pairs, however large, cannot capture the dynamics of 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 later turn goes down a branch the sample tests never anticipated.

Testing that requires a counterpart who can react. τ-bench, a benchmark published by Sierra, supplies one: a language model plays the user and converses with an agent that has access to business APIs. Sierra describes the simulator as an LLM guided by instructions specific to each scenario.

What does a simulated user need?

The first requirement is a goal, and it must be hidden. Writing about synthetic users for multi-turn agent evaluation, Tian Pan stresses that the agent must not be told the goal in advance; it has to draw it out through conversation. Since this is the skill under test, take care not to leak the answer into the agent’s system prompt.

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

The third is knowing when to stop. Strands Evals tracks the simulated user’s goal alongside the conversation to decide when it should end. Tian Pan adds a point that is often forgotten: real people have finite patience.

A simulator that is too patient makes an agent look correct on paths that real customers would have abandoned long before. It needs a “patience budget.”

Example: a retail chain’s returns agent

Say the client is a chain of shoe stores, and the agent can look up orders, exchange sizes and issue refunds. A simulated scenario could 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, get a refund to the card",
    "reveal_rules": "Give the order number only when the agent asks; do not volunteer the old size",
    "patience_turns": 6,
    "expected_db": {"W1234": {"status": "exchanged", "size": 42}},
}

Only the simulator knows the hidden goal. The disclosure rules force the agent to ask the right questions. The six-turn budget means that if the agent goes around in circles, the simulated customer will say “never mind, I’ll call the hotline” and leave. The code for a single trial 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 can call APIs and write to db
        msg, done = sim.next(reply)      # sim checks whether its goal has been met
        if done:
            break
    return db.snapshot() == scenario["expected_db"]

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

One pass is not a pass

Running the scenario above once and getting the right result says little. Sierra uses a metric called pass^k to measure reliability: whether an 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 pass^8 in the retail domain was below 25%.

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

How do you run this at a client site?

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

Then run each scenario k times on 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. Clients grasp a transcript faster than any chart, and the failures double as next week’s fix list.

Three common traps

The first trap is the overly well-behaved simulator described above: without a patience budget, every detour looks like success. The second 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 very fluently but sound nothing like real people.

The third trap is assuming, without checking, that the simulator resembles real people. A May 2026 paper on arXiv proposes a framework, realsim, that compares simulated users with real conversations at the level of distributions instead of line by line. Before each batch of runs, a quick check against this table helps:

Trap Check before running
Simulator is too patient Does each scenario have a turn budget and a line for giving up?
Hall of mirrors Does the user role run on a different model from the agent, or at least a very different prompt?
Simulator does not resemble real people Have simulated transcripts been compared with real ones on message length, number of turns and point of abandonment?

Putting this skill on your CV

On a CV, describe this skill in one specific line and skip the generic summary. 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, prepare one failed transcript (anonymized) and explain how you found the bug, what you fixed and how pass^k changed. A story with before-and-after measurements is more persuasive than any list of tools.

Clients will not remember how your agent scored on the sample test suite. They will remember the first time it asked again for the order number they had just given it. 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.