每天早上一封邮件,把昨天的 AI 梳理好订阅邮件

METAL LAB

One Success Isn't Reliability: Thinkingbox, a Sandbox and Benchmark for Agents in Stateful Business Workflows

arXiv:2608.197412026-08-21

AI助手一次成功不代表可靠 - 507个业务任务基准揭示重复执行的可靠性缺口

研究团队发布了沙盒环境Thinkingbox和包含507个任务的基准Thinkingbox-bench,用来检验AI智能体是否真能完成退款处理、订单修改、保险理赔更新等实际业务工作,而不只是给出看似合理的回复。将同一任务重复执行20次后发现,即便是表现最好的模型,至少成功一次的比例为91.12%,但20次全部成功的比例仅为25.25%。许多失败的尝试表面上看起来对话干净收尾、工具调用也正常,但后台数据库状态实际上是错的。

他们做了什么

  1. Thinkingbox是一个沙盒系统,让AI智能体、模拟用户和隔离的业务工具(订单系统、预订系统等)在同一个可复现的流程中交互,最后检查后台数据库最终状态和各种副作用,而不只是看对话内容。
  2. 在此基础上构建的Thinkingbox-bench包含涵盖零售电商、旅行住宿、汽车保险、新型银行内部IT支持、咨询IT/HR支持五个领域的507个可执行任务,每个任务的判定标准允许多种有效解法,但会拒绝错误、缺失或多余的执行结果。
  3. 研究评测了12个模型,包括GPT-5.2、GPT-5.4、o3-pro、Claude Sonnet 4.6、Claude Opus 4.6、Grok-4.3等商用模型,以及DeepSeek-V4-Pro、GLM-5.1、Kimi-K2.6、Mistral-Large-3、Qwen3.5-9B、Qwen3.6-27B等开放权重模型,每个任务重复试验20次。
  4. 表现最好的GPT-5.4单次尝试成功率(pass@1)达到65.36%,但要求20次全部成功的严格指标(pass^20)仅为25.25%,说明偶尔找到正确做法和每次都能可靠完成之间存在巨大差距。
  5. 失败案例分析显示,平均77.5%的失败源于遇到工具错误却未能恢复,12.1%属于工具调用本身成功执行但产生了错误的最终状态,说明仅凭对话是否顺利结束或工具调用是否有效,并不能可靠地判断任务是否真正完成。
Figure 1: ThinkingBox overview and discovery–reliability gap. (A) ThinkingBox runs multi-turn interactions among a simulated user, an LLM agent, and isolated MCP-compatible tools, then evaluates terminal state, side effects, and dialogue with executable judges. More detailed pipeline can be found in Figure 2 (B) Across 507 tasks and 20 attempts per task, pass@20 is much higher than pass@1, while all-20 success is far lower, showing that successful trajectories are often discoverable but not reliably repeatable. Full results can be found in Table 4
Figure 1: ThinkingBox overview and discovery–reliability gap. (A) ThinkingBox runs multi-turn interactions among a simulated user, an LLM agent, and isolated MCP-compatible tools, then evaluates terminal state, side effects, and dialogue with executable judges. More detailed pipeline can be found in Figure 2 (B) Across 507 tasks and 20 attempts per task, pass@20 is much higher than pass@1, while all-20 success is far lower, showing that successful trajectories are often discoverable but not reliably repeatable. Full results can be found in Table 4
Table 1: Comparison with representative agent and tool-use benchmarks. Thinkingbox-bench focuses on stateful business-domain workflows where the final verdict checks backend state, side effects, and dialogue outcome, while exposing tasks through MCP-compatible servers.
BenchmarkPrimary domainTools/APIsUser dialogueStateful backendSide-effect checksMCP servers
SWE-bench (9)Code repair××××
BFCL (23)Function calling××××
ToolBench / API-Bank (25; 14)API tool use××××
WebArena / OSWorld (43; 36)Web/desktop control××××
AppWorld (30)App APIs / coding agents××
MCP-Atlas (2)Real MCP servers×××
τ-bench / τ2-bench (40; 3)Domain APIs×
Thinkingbox-benchBusiness tool workflows
Figure 2: Overview of Thinkingbox. The sandbox orchestrates the interaction among a simulated user, LLM agents, isolated domain tools, side-effect extraction, and executable judges. The same trajectory-level verdict supports benchmark evaluation, failure analysis, and agent training.
Figure 2: Overview of Thinkingbox. The sandbox orchestrates the interaction among a simulated user, LLM agents, isolated domain tools, side-effect extraction, and executable judges. The same trajectory-level verdict supports benchmark evaluation, failure analysis, and agent training.
Table 2: Key statistics for the ThinkingBox-Bench domains.
RetailBookingInsuranceNeobankConsulting
Tasks98104100104101
Backend systems1187318
Databases (tables / rows)22 / 8617 / 9814 / 7220 / 15130 / 231
Agent tools (write / read)16 / 1710 / 2814 / 1913 / 1913 / 14
Policy (words)9453,6842,4713,3921,747
Knowledge base (documents)911889
Actions per task4.4 (1–10)8.8 (4–19)4.7 (1–11)6.7 (3–12)5.8 (1–13)
EvaluationDB stateDB + rubricsDB stateDB + rubricsDB state
Figure 3: Pass@k progression of models used for evaluation
Figure 3: Pass@k progression of models used for evaluation
Table 3: Representative Thinkingbox-bench scenario patterns. Each scenario is instantiated as a concrete task with an initial backend state, available MCP-compatible tools, and executable checks.
DomainScenarioRequired agent behaviorExecutable checks
Retail / e-commerceUser asks to change or refund part of an order.Identify the correct order/item, verify eligibility, request missing confirmation, and update only the relevant record.Correct order state; refund/order side effect; no unrelated customer or item modified.
Travel / hospitalityUser requests a booking change under date, room, or policy constraints.Check reservation, availability, and change policy before modifying booking or explaining denial.Correct reservation state; price/fee side effect if applicable; policy-compliant dialogue.
Auto insuranceUser reports or updates a claim.Verify policy and vehicle/incident details, collect missing information, and create or update the claim.Correct ticket/claim state; no coverage mutation unless allowed.
Neobank supportUser asks to dispute, freeze, or modify an account/card action.Authenticate relevant account context, distinguish reversible and irreversible actions, and apply only valid updates.Correct account/card state; required dispute/freeze side effect; no unrelated account changed.
Consulting IT/HREmployee asks for access, HR, or internal support changes.Verify role, approval, or employee record, then create ticket or update access according to policy.Correct ticket/access state; approval and provisioning side effects; no unrelated records modified
Figure 4: pass^​k progression of models used for evaluation
Figure 4: pass^​k progression of models used for evaluation
Table 4: Thinkingbox-bench pass@1 (%) by domain. Each task is evaluated with N=20 repeated trials, and scores are micro-averaged over trials and tasks. Size is reported as total/activated parameters for MoE models. The o3-pro row excludes 636 system/harness-error trials; its valid denominators therefore vary by domain. Task-cluster bootstrap intervals are reported in Appendix D.1.
ModelSizeRetail (98)Auto (100)Booking (104)Bank (104)Consulting (101)Average
Proprietary models
GPT-5.476.3362.6568.1365.3454.6065.36
GPT-5.270.2022.4053.7051.1534.0646.28
o3-pro37.942.9624.1624.3714.7520.60
Claude Sonnet 4.668.9358.2060.3853.9951.1458.45
Claude Opus 4.674.9014.6528.8938.0334.2137.91
Grok-4.343.932.6015.141.789.5514.38
Open-weights models
DeepSeek-V4-Pro1.6T/49B68.2129.6543.1344.8631.0443.26
GLM-5.1744B/40B58.6725.7035.4313.2734.0633.19
Kimi-K2.61T/32B53.7224.5039.5233.6537.3337.66
Mistral-Large-3675B/41B11.281.308.991.150.744.66
Qwen3.6-27B27B43.1129.0046.3927.8418.3732.94
Qwen3.5-9B9B19.150.454.521.062.345.41
Figure 5: Domain failure-rate heatmap (%) on Thinkingbox-bench. Each cell is 100−pass@1 within the domain; darker red indicates higher failure rate.
Figure 5: Domain failure-rate heatmap (%) on Thinkingbox-bench. Each cell is 100−pass@1 within the domain; darker red indicates higher failure rate.
Table 5: Failure mode breakdown (%) on Thinkingbox-bench. For each model, values indicate the percentage distribution of dominant failure types across failed trials.
ModelTool UsageNo State-Changing ActionIncomplete User ResolutionWrong State Update
GPT-5.489.61.60.58.3
Claude Sonnet 4.684.02.84.28.9
GPT-5.280.10.70.918.3
DeepSeek-V4-Pro69.80.824.74.7
Claude Opus 4.678.13.010.28.7
Kimi-K2.685.21.312.11.4
GLM-5.188.11.33.57.0
Qwen3.6-27B75.00.613.111.2
o3-pro67.43.90.927.8
Grok-4.369.26.81.522.5
Mistral-Large-365.84.615.214.4
Average77.52.57.912.1
Table 6: Composition of the 507-task evaluation set. Every case has executable backend-state checks. “Backend only” cases use no additional response rubric, whereas “Backend + rubric” cases also impose a binary final-response requirement.
DomainBackend onlyBackend + rubricTask families represented in the final set
Retail / e-commerce980Delivery delay and exception handling; delivered-but-missing and return-to-sender cases; returns, refunds, exchanges, and warranty claims; installation scheduling and cancellation; order cancellation, promotions, and membership changes.
Travel / hospitality8915Individual, corporate, and group booking changes; payment recovery; cancellations and refunds; corporate invoices and account benefits; group billing and services; hotel-partner verification and discrepancies; special requests and post-stay complaints.
Auto insurance1000Billing extensions and arrangements; proof-of-insurance documents; adding, removing, or updating drivers and vehicles; first notice of loss and claim intake; listed-driver requests; reinstatement and policy cancellation.
Neobank internal IT support8915Employee access and approval requests; password and account-security actions; production-incident access; hardware troubleshooting, assignment, replacement, and procurement; software and license requests; policy-information questions.
Consulting IT / HR support1010Client-system and document access; software provisioning; expenses; hardware requests; employee onboarding; training enrollment; engagement and approval checks; corporate-travel policy and escalation.
Total47730507 executable cases in total.
Table 7: Artifacts in a final Thinkingbox-bench case and the corresponding construction or review question.
ArtifactContentsReview question
User goal gInitial request plus facts the simulated user can provide during follow-upIs the request natural, internally consistent, and resolvable without access to hidden evaluator information?
Initial state b0Synthetic records in the domain backend, including existing tickets and related business objectsDo all referenced identifiers resolve, and do cross-system records agree before the agent acts?
Policy contextDomain operating manual and the fixed evaluation timeDoes the policy determine eligibility, approvals, disclosures, and allowed actions without exposing the golden result?
Tools 𝒯MCP-compatible read and write operations over the isolated domain servicesCan the required evidence be retrieved and the intended outcome be executed using available tools?
User simulation 𝒰Task-specific user role used for on-policy follow-up dialogueDoes the user provide only task-consistent facts and allow necessary clarification?
Checks 𝒞Expected backend state and, for designated cases, final-response requirementsDoes the evaluator accept the intended outcome and reject missing, wrong, or extra effects?
Table 8: Representative evaluator targets drawn from the final task families. These are outcome conditions, not prescribed action sequences.
Case typeRequired outcomeIncorrect effects rejected
Retail return or delivery exceptionCorrect order, return/refund/replacement, and support-ticket state under the applicable policyWrong order or item, ineligible refund, duplicate ticket, incorrect ticket status, or missing compensation record
Booking modification or cancellationCorrect booking dates, room/board attributes, charges or refund, and ticket or hotel escalation when requiredModification without availability or policy support, wrong fee, partial group update, or confidential partner information disclosed
Insurance billing, policy, or claim requestCorrect policy-linked extension, driver/vehicle change, claim, document, cancellation, or reinstatement stateIdentity or eligibility bypass, wrong effective date, unintended coverage change, or incorrect ticket resolution
Internal access, hardware, or software requestCorrect employee, approval, access, asset, procurement, notification, and ticket recordsExcess privilege, bypassed approval, wrong assignee or device, duplicate request, or incomplete multi-system update
Consulting operations requestCorrect engagement-linked access, expense, onboarding, training, hardware, or travel outcomeMissing prerequisite, incorrect approval path, inconsistent cross-system records, or premature ticket closure
Table 9: Azure API inference parameters for the agent, fixed GPT-5.4-mini simulated user, and fixed GPT-5.4-mini response judge.
ParameterAgentSimulated UserResponse Judge
temperature1.00.30.0
max_completion_tokens40964096128
is_reasoningTrueFalseFalse
reasoning_effortmediumnonenone
top-p1.01.01.0
frequency penalty0.00.00.0
number of completions111
timeout (seconds)600600600
Table 10: vLLM serving parameters for the locally hosted Qwen-series models.
ParameterValue
port8000
data parallel size8
tensor parallel size1
maximum model length65,536
reasoning parserqwen3
automatic tool choiceTrue
tool-call parserqwen3_coder
API interfaceChat Completions
API endpoint/v1/chat/completions
Table 11: Repeated-trial discovery and reliability on Thinkingbox-bench. CI denotes a 95% task-cluster bootstrap interval. pass^​20 requires all 20 attempts to pass, while pass@20 requires at least one. 0/20 and 20/20 means the number of tasks that have never been passed, and has always passed during all 20 attempts. We include Qwen3-8B (38) and MiniMax-M2.5 (18).
Modelpass@1 [95% CI]pass^​20pass@200/20 tasks20/20 tasks
GPT-5.465.36% [62.23%, 68.51%]25.25%91.12%45128
Claude Sonnet 4.658.45% [55.23%, 61.66%]20.12%88.56%58102
GPT-5.246.28% [43.19%, 49.39%]8.68%84.81%7744
DeepSeek-V4-Pro43.26% [40.27%, 46.20%]3.55%84.62%7818
Claude Opus 4.637.91% [34.48%, 41.40%]13.81%70.02%15270
Kimi-K2.637.66% [35.02%, 40.30%]3.16%84.22%8016
GLM-5.133.19% [30.23%, 36.14%]2.76%69.82%15314
Qwen3.6-27B32.94% [30.20%, 35.75%]2.37%78.50%10912
o3-pro20.60% [18.27%, 23.02%]1.65%61.54%1954
Grok-4.314.38% [12.34%, 16.50%]0.00%45.96%2740
Qwen3.5-9B5.84% [5.39%, 6.31%]0.03%30.77%3510
Mistral-Large-34.66% [3.66%, 5.75%]0.00%25.44%3780
MiniMax-M2.50.19% [0.00%, 0.53%]0.00%0.59%5040
Qwen3-8B0.13% [0.01%,0.34%]0.00%0.99%5020
Table 12: Retrospective evaluator ablation study. The first block counts failed trials that nevertheless appear complete under weaker response- or action-level evaluators. The second block reports evidence exposed by our executable database comparison.
Signal among executable-check failuresTrialsShare of failures
Failed trials accepted by weak observable evaluators
Clean termination67,76384.86%
Clean termination + state-changing tool call64,58680.88%
Above + no explicit error in final tool response53,69767.24%
Evidence reported by executable state/side-effect checks (ours)
Database hash mismatch79,01598.95%
Wrong field value61,97377.61%
Collection-length mismatch45,51056.99%
Missing expected state or side effect20,25025.36%
Extra unintended state or side effect34,57543.30%
Table 13: Failure distribution (%) by domain on Thinkingbox-bench. Each row reports percentages over failed trials in that domain.
DomainTool UsageNo State-Changing ActionIncomplete User ResolutionWrong State Update
Retail70.74.312.912.1
Travel81.21.013.34.5
Auto insurance48.23.815.132.9
Neobank internal IT79.06.08.46.6
Consulting IT/HR71.45.410.213.0
Table 14: Average trajectory-level interaction counts on Thinkingbox-bench. All columns are mean counts per trial, computed from parsed traces. Write calls are tool calls whose names indicate state-changing actions such as create, update, cancel, refund, or modify.
ModelAvg. msgs. / trialAvg. tool calls / trialAvg. write calls / trialAvg. tool errors / trial
GPT-5.429.8011.053.911.98
Claude Sonnet 4.634.4110.163.621.68
GPT-5.236.4011.714.742.10
DeepSeek-V4-Pro38.9411.683.782.34
Claude Opus 4.631.209.993.211.57
Kimi-K2.635.6211.703.602.91
GLM-5.144.8611.993.912.58
Qwen3.6-27B28.4011.113.821.68
o3-pro30.587.522.781.35
Grok-4.324.158.743.132.06
Mistral-Large-325.729.223.151.81
MiniMax-M2.525.505.561.630.99
Qwen3.5-9B31.3111.753.610.85
Qwen3-8B19.765.292.070.66
Table 15: Average token usage per model turn and average model turns per trial by model and domain. Each cell reports “Tokens/Turn x Turns”, with tokens in thousands; both averages use trials with token metadata. Tokens include input context and output tokens for each model invocation, with cached input counted once.
ModelRetailTravelAuto insuranceNeobank internal ITConsulting IT/HR
GPT-5.414.2k × 8.127.4k × 7.214.6k × 9.621.3k × 6.718.2k × 7.4
Claude Sonnet 4.614.4k × 8.329.8k × 7.316.7k × 8.925.2k × 7.516.9k × 7.7
GPT-5.212.9k × 12.730.0k × 9.014.2k × 12.921.6k × 8.217.8k × 16.8
DeepSeek-V4-Pro19.8k × 8.431.9k × 8.021.3k × 9.725.8k × 7.924.3k × 8.6
Claude Opus 4.614.9k × 8.727.3k × 7.615.8k × 10.125.1k × 7.017.1k × 7.6
Kimi-K2.613.1k × 10.023.3k × 8.613.6k × 11.919.2k × 9.017.3k × 10.2
GLM-5.117.7k × 10.028.5k × 9.820.1k × 12.325.2k × 10.622.5k × 11.6
Qwen3.6-27B18.5k × 13.627.2k × 13.319.9k × 13.524.0k × 11.822.0k × 16.2
o3-pro12.3k × 10.124.0k × 10.114.5k × 10.218.8k × 9.215.6k × 11.9
Grok-4.316.6k × 10.928.7k × 9.718.4k × 9.624.8k × 9.821.3k × 15.8
Mistral-Large-316.0k × 12.530.3k × 13.118.1k × 12.623.2k × 9.619.6k × 10.8
MiniMax-M2.517.0k × 8.816.4k × 6.213.9k × 5.714.9k × 6.017.1k × 7.2
Qwen3.5-9B17.7k × 13.529.1k × 14.5319.9k × 14.224.0k × 13.722.9k × 18.3
Qwen3-8B15.7k × 8.8723.3k × 11.618.7k × 8.920.8k × 8.2919.9k × 9.11

为什么重要

对于考虑在客服或内部IT支持等会真实改动系统状态的场景中部署AI智能体的企业,这项研究提供了具体数据,说明仅凭一两次成功演示不足以证明可靠性。它用量化结果表明,流畅的回复和语法正确的工具调用并不能保证实际业务结果是正确的。

本文术语

  • MCP · 一种让AI智能体以统一方式调用外部工具和服务的标准接口协议
  • pass@k · 同一任务重复尝试k次中至少成功一次的概率
  • pass^k · 同一任务重复尝试k次全部成功的更严格的概率指标
  • POMDP · 一种用于描述智能体在无法完全观察环境真实状态时如何做出连续决策的数学模型
  • 副作用 · 任务执行过程中意外产生的数据库或系统状态的额外变动

论文原文摘要(英文)

Recent agent benchmarks increasingly ground evaluation in executable environments, from code repair to web navigation, app APIs, and function calling. Yet completing consequential work beyond code requires more than producing a plausible response or valid tool call: agents must gather missing information over multiple turns, follow domain policies, coordinate dependent tools, and realize the correct persistent state transition without collateral effects. In this paper, we introduce Thinkingbox, a sandbox for tool-agent-user interaction that provides isolated MCP-compatible tool sessions, complete execution traces, and outcome evaluation over terminal backend state. Built on this sandbox, Thinkingbox-bench contains 507 policy-conditioned workflows across numerous scenarios, including retail, hospitality, auto insurance, neobank internal IT, and consulting IT/HR support. Each attempt is evaluated by task-specific executable checks that accept valid trajectories while rejecting wrong, missing, or extra effects; designated tasks additionally check required properties of the final response. Across proprietary and open-weight models, the strongest achieves 65.36% pass@1, but only 25.25% pass^20. Moreover, many failed trials show clean termination and valid state-changing actions, showing that response or tool-call-level signals are not clear proxies for end-to-end task completion. Thinkingbox-bench reveals a large gap between occasionally finding a successful trajectory and reliably completing stateful business tasks. We release both Thinkingbox and Thinkingbox-Bench: https://github.com/microsoft/thinkingbox

作者 · Zhuochun Li, Youngmin Ko, Ali Keramati, Nicola Ferri, Susana Palmaz Lopez Pelaez, Liang-Chun Tsai, Calvin Wang, Mirco Mi

在 arXiv 阅读

最新论文

全部论文 →

METAL LAB 最新报道

图片来源: Zhuochun Li et al., arXiv:2608.19741, CC BY 4.0