A customer asks to return two items and receive store credit. The agent identifies the order, checks the items, explains the offer and receives confirmation. It submits the request. The connection times out.
What should happen next? Repeating the request could create a second return authorization. Declaring success could leave the customer with nothing. Asking the customer to start again could produce both problems, with a less cheerful customer attached.
The transaction needs a way to discover what happened. That requirement belongs in its design before anyone judges how naturally the agent chats. Reliability here means reaching an allowed state through an allowed process, including when the process encounters uncertainty.
A benchmark that keeps state
The June 2024 version of τ-bench studies agents interacting with a simulated user, policy documents and database tools in retail and airline domains. Its task reward checks final database state and required output. The authors explicitly note that a matching final state can miss an intermediate policy violation, such as acting without confirmation. The retail policies include consequential changes that can be made only once, requiring an agent to collect the complete request before acting. The paper also measures consistency across repeated trials using pass^k. Selected policies, simulated users, task construction and an imperfect reward oracle limit transfer to real services. These are historical research tasks, not a certification of any agent’s production reliability.
The benchmark makes a useful distinction visible. An agent can understand the customer’s general intention and still perform the wrong state change. It can also arrive at the intended state through a process that was never authorized. A transaction design has to account for both.
Define the transaction before counting success
Use a fictional retailer with an explicit, invented policy. Delivered items can be submitted for return within 30 days. Credit remains provisional until the returned items are accepted. A customer must confirm the item list and credit destination before the return request is created. The service must issue at most one credit for each accepted return item.
For this case, the agent’s immediate job is to create the correct return authorization and report its status. Issuing final credit is a later step, dependent on acceptance. Saying “your credit has been issued” at the authorization stage would be false even if the return request was created perfectly.
Suppose the order contains a lamp and a rug. Both are eligible, and the customer wants to return both. Before submitting anything, the agent should assemble the complete item list, retrieve the applicable terms and present the proposed action. The confirmation should identify what is being authorized, rather than ask a vague “shall I continue?” after a long conversation.
There is a useful boundary between choosing and committing. While assembling the request, the customer may change their mind about the rug. Once the service has committed an authorization, changing the item list is a new operation governed by the service’s rules. A conversational agent should not blur those stages just because the customer’s sentence flows smoothly from one to the next.
For an ineligible item, successful service may mean explaining the restriction and providing an authorized escalation route. It does not mean finding a more creative tool sequence that bypasses the restriction. Define that outcome in the evaluation, or the system may be rewarded for achieving a prohibited state.
Twelve good stages can still make an unreliable whole
Imagine a transaction with 12 required stages. At each stage, conditional on every preceding stage having succeeded, the probability of completing that stage correctly is 98%. These are invented probabilities for arithmetic, not measured agent results.
The chance that every required stage succeeds is 0.98^12, approximately 78.5%. The chain rule multiplies the stated conditional probabilities; it does not require pretending that unconditional stage outcomes are independent. The assumption doing the work is that each of those conditional probabilities really is 0.98.
That number is useful as a warning about the denominator. A high score on individual actions need not establish a high rate of complete transactions. It is not an estimate for the fictional retailer, and it says nothing about how frequently its actual failure modes occur.
It also does not prove that reducing the number of model calls will improve reliability. Combining two stages could eliminate a handoff, or it could remove a useful check. Moving a policy condition into deterministic service logic could change the probabilities more than shortening the conversation. The design question is which decisions require uncertain interpretation and which conditions the service can enforce directly.
Evaluate the whole transaction as well as its components. Keep the component results because they help locate the failure. A single end-to-end score tells the business how often the task was completed under the tested conditions; it does not tell an engineer which condition needs a stronger boundary.
Repeated trials answer another question
A consistency test asks whether the same task succeeds again and again. In the paper’s notation, pass^k concerns all k repeated trials succeeding. The familiar pass@k instead concerns at least one success among k attempts. Neither is the 12-stage chain inside one transaction.
Consider ten hypothetical independent trials of one task, with eight successes. Selecting two distinct trials uniformly gives 45 possible pairs. Of those, 28 contain two successes, while 44 contain at least one success. The corresponding estimates are 28/45 for all-two success and 44/45 for at-least-one success. The same trial record can therefore support very different numbers.
For an unattended transaction, “one of several attempts worked” may be the wrong target. Failed attempts may leave effects that must be reconciled. Repeated trials in a reset research environment should not be confused with retrying writes against a real customer’s account.
Task difficulty matters too. Imagine two equally weighted task types with per-trial success probabilities of 99% and 60%. Assume trials are independent and identically distributed within each task type. The average probability of eight successes is (0.99^8 + 0.60^8)/2, about 47.0%. Raising the average one-trial probability, 79.5%, to the eighth power gives about 16.0%. That is a different calculation.
The reason is that repeated trials of a chosen task retain that task’s difficulty. Averaging the task types first discards the information needed for the repeated-task question. Report the task weighting and consistency definition with the number.
A timeout is a state question
Return to the customer waiting for the lamp-and-rug authorization. The service received a request identified as R17. The agent did not receive the response. There are at least three relevant possibilities: the request was never committed, it committed successfully, or its status is still unresolved.
The recovery path needs a durable way to distinguish them. One possible design gives the operation a stable identifier and provides a status query. If repeating the same identified operation is supported, the service must define what that repetition means. A repeated request with a different identifier may be a new operation, however similar its text looks.
The agent should reconcile R17 before issuing another request. If R17 exists with the confirmed item list and destination, it can report that authorization. If the service can establish that it did not commit, the allowed retry can proceed. If the status remains uncertain, the workflow needs a bounded unresolved state and a recovery owner.
Keep that uncertainty visible to the customer. “The request is submitted and I’m checking its status” conveys a different fact from “the return is complete.” The most polished sentence in the conversation is still wrong if it names a later state.
A reversal can help when a permitted compensation exists, but it is not equivalent to making the original action disappear. A credit cancellation, for example, may have its own timing, notifications and eligibility. Do not assume every write has a harmless inverse.
The later credit stage creates another boundary. Suppose the warehouse accepts the lamp and rug, but the credit service is temporarily unavailable. The return is accepted and the credit is outstanding. Starting a second return would be the wrong recovery action. The system needs to resume the uncompleted credit obligation using the accepted return’s identity.
If the warehouse and credit ledger are separate systems, one successful write does not make their combined state atomic. A design can track an accepted-but-uncredited state and reconcile it, or use a supported transaction mechanism that provides the required combined guarantee. Merely asking the agent to “finish everything” supplies neither.
This also changes the promise to the customer. The retailer can acknowledge receipt and explain the outstanding credit without inventing a completion time. A recovery owner can follow the unresolved obligation without redoing the completed warehouse work. The conversational layer should describe that state accurately while the service handles its transition.
After a handoff, the next operator needs the confirmed request, operation identifier, last known state and unresolved condition. Handing over only the chat transcript makes the next person reconstruct the transaction from prose. Preserve the state evidence directly.
Put hard boundaries around uncertain interpretation
An agent can help translate a customer’s request into a proposed action. The service can still enforce item ownership, eligibility, allowable destinations and duplicate prevention. This division makes the uncertain interpretation useful without making it the only protection around the state change.
There is a tradeoff. A narrow operation is easier to validate but may require more structured preparation. A broad operation can be convenient while accepting a larger, more ambiguous request. Choose the boundary around the business action, then make the confirmation describe that boundary.
For the fictional retailer, a return-authorization operation can accept the entire confirmed item list and reject a partially invalid request before committing. Another design might permit partial completion and return a per-item result. Both can be coherent. Mixing them is dangerous: the agent might interpret a partial success as an all-or-nothing failure and repeat the items that already succeeded.
Test the awkward branches deliberately. The customer changes the list after confirmation. The order becomes ineligible before the write. One item is accepted and another is rejected under a partial-completion design. A timeout occurs after commitment. A human takes over while the original operation is still pending.
For each branch, specify the allowed final state and the evidence needed to identify it. Review intermediate permissions separately. This prevents a superficially correct database snapshot from concealing an unauthorized action, and prevents an incomplete snapshot from being mistaken for a confident conversational success.
The first deployment decision should concern a bounded transaction with observable states and an owned recovery path. Expand authority when evidence supports the next boundary. An agent becomes more useful when the system can tell what it did, what it was allowed to do, and what remains unfinished.
Explore Infinite Upside
For Vijay Sheth’s personal accounts, read Infinite Upside: Building Wealth With Room to Live, published by Sheth Capital, Inc.
How do version checks prevent a lost update?
How do version checks prevent a lost update?