Microsoft releases the Thinkingbox sandbox and a 507-task benchmark to evaluate agent reliability in stateful business processesOne Success Isn't Reliability: Thinkingbox, a Sandbox and Benchmark for Agents in Stateful Business Workflows
Quick read
Evaluation and benchmarksBased on the paper PDF (generated by Gemini); refer to the original
The authors evaluate agents on 507 business tasks; Claude Opus 5 drops from 66.50% pass@1 to 47.53% pass^20.
- Existing multi-turn tool evaluations mostly focus on code generation or single-call API syntax correctness, making it difficult to test whether agents can consistently follow policies, coordinate multiple tools, and correctly modify backend persistent state in real complex business flows; they also tend to mistake a single occasional success for stable execution capability.
- Build the THINKINGBOX sandbox containing simulated users, MCP tool sessions, and executable graders, and design 507 multi-turn stateful tasks across 5 business domains, using terminal database states, side-effect extraction, and necessary dialogue norms for strict conjunctive grading, with support for repeated trials and reinforcement learning training.
- Evaluating 18 models, Claude Opus 5's pass@1 on THINKINGBOX-BENCH is 66.50%, dropping to 47.53% at pass^20; Kimi-K3 drops from 57.37% to 17.60%; 80.88% of failed attempts still terminate normally and call write tools.
- 477 tasks only compare terminal states and side effects without checking the final reply text; tasks are synthetic reconstructions with only a single golden state per question; GPT-5.4-mini is uniformly used as a cooperative simulated user with a 10-turn limit and as a judge for some questions, without testing uncooperative behaviors such as user memory errors or goal changes.
- Evaluated models
- Claude Opus 5GPT-5.4GPT-5.6-solClaude Sonnet 4.6GPT-6 AstraClaude Opus 4.6o3-proGrok-4.3Kimi-K3Qwen3.8-27BDeepSeek-V4-ProGLM-5.1Qwen3.5-9BMistral-Large-3Qwen3.8-27B (Full-parameter)Qwen3.6-27B (LoRA)Qwen3.5-9B (LoRA)GPT-5.2Kimi-K2.6MiniMax-M2.5Qwen3.6-27B
- Benchmarks
- THINKINGBOX-BENCHHumanEval+
- Metrics
- pass@1passˆ20pass@20all-20 success
Researchers from Microsoft and other institutions release the Thinkingbox sandbox and Thinkingbox-bench benchmark for evaluating agent reliability in stateful business processes. The sandbox provides isolated MCP-compatible tool sessions, full execution traces, and uses terminal backend state and side effects as the basis for judgment; the benchmark includes 507 policy-constrained workflows across five domains: retail, hospitality, auto insurance, digital banking internal IT, and consulting IT/HR. Each task is judged with executable checks, allowing different valid paths but rejecting incorrect, missing, or extra state changes, with 30 tasks additionally checking required attributes of the final response. The researchers ran 20 trials per task on 18 closed- and open-source models and found reliability drops significantly: Claude Opus 5 fell from 66.50% pass@1 to 47.53% pass^20, and Kimi-K3 fell from 57.37% to 17.60%; Qwen3.8-27B achieved 89.35% pass@20 but only 10.93% pass^20.
Why it was selectedThe paper provides repeated trial results for 507 stateful business process tasks and 18 models, showing the reliability gap between pass@1 and pass^20.
Paper analysis
What problem does this paper attempt to solve?
Existing tool evaluations struggle to measure agent completion and state-change side effects in multi-turn stateful business scenarios.
This paper attempts to address the lack of end-to-end executable evaluation and repeated execution stability testing for large language model agents in multi-turn, stateful business workflows.
- Existing tool evaluations are disconnected from real workflows: Most existing tool-use evaluations are limited to code repair, web browsing, or syntax parsing and interface execution of single function calls, making it difficult to verify whether agents truly achieve work goals in real business contexts (e.g., refunds, rebooking, claims).
- Superficial responses can mask execution failures: In multi-turn business scenarios, agents may generate superficially reasonable replies or even successfully call write tools, but actually modify the wrong records, fail to obtain necessary confirmations per policy, or introduce unauthorized incidental state changes.
- Single success cannot reflect execution stability: The success rate of a single attempt (pass@1) struggles to distinguish whether an agent has stable execution capability or merely happened to find a feasible trajectory in a single non-deterministic sample.
- Proposed core solution: The authors propose the interactive sandbox THINKINGBOX and the evaluation benchmark THINKINGBOX-BENCH containing 507 multi-turn business tasks, performing end-to-end verification of multi-turn tasks based on persistent state changes and side-effect extraction.
What related research exists?
Related research covers interactive sandboxes, tool-calling benchmarks, and specialized workflow evaluations; this paper focuses on stateful business processes.
Related research is mainly distributed across three directions: interaction sandboxes, tool-calling evaluation, and specialized workflow benchmarks:
Interaction Sandboxes and Conversational Tool Use
- Interactive environments and world models: TextWorld (Côté et al., 2018), ALFWorld (Shridhar et al., 2020), and WebShop (Yao et al., 2022) build interactive environments for training and evaluating language agents; AgentGym (Xi et al., 2025) unifies heterogeneous environment interactions; Agent World Model (Wang et al., 2026a) generates executable MCP environments for agents based on databases.
- Tool calling and interface specifications: ToolBench (Qin et al., 2024), API-Bank (Li et al., 2023), Gorilla (Patil et al., 2024), and BFCL (Patil et al., 2025) focus on evaluating models' abilities in API selection, parameter generation, and executable calls; MRKL (Karpas et al., 2022), ReAct (Yao et al., 2023), and Toolformer (Schick et al., 2023) study modular tool use and reasoning-action paradigms.
- Stateful dialogue and policy interaction: ToolSandbox (Lu et al., 2025) combines stateful tools with policy-guided user simulators; tau-bench (Yao et al., 2024) evaluates policy-guided dialogue through terminal database states and repeated execution; tau^2-bench (Barres et al., 2025) supports users and agents acting together in a shared environment.
Executable and Specialized Workflow Benchmarks
- Code, web, and desktop control: SWE-bench (Jimenez et al., 2024) targets real code fixes; AgentBench (Liu et al., 2024), WebArena (Zhou et al., 2024), VisualWebArena (Koh et al., 2024), and OSWorld (Xie et al., 2024) evaluate web and OS desktop control capabilities.
- Application environments and side-effect detection: AppWorld (Trivedi et al., 2024) supports alternative solutions and detects collateral state changes in application API and code agent scenarios; AgentDojo (Debenedetti et al., 2024) evaluates utility and security under untrusted tool outputs.
- Enterprise and protocol benchmarks: WorkArena++ (Boisvert et al., 2024) targets enterprise software workflows; CRMArena (Huang et al., 2025) and CRMArena-Pro (Huang et al., 2026) evaluate multi-turn real CRM interactions; APEX-Agents (Vidgen et al., 2026) covers finance, consulting, and legal scenarios; MCP-Bench (Wang et al., 2026b), MCPMark (Wu et al., 2026), and MCP-Atlas (Bandi et al., 2026) evaluate real tool coordination and calling based on the MCP protocol.
Comparison Baselines and Benchmarks
- Benchmark feature comparison: The paper compares in Table 1 with SWE-bench, BFCL, ToolBench/API-Bank, WebArena/OSWorld, AppWorld, MCP-Atlas, tau-bench/tau^2-bench, and APEX-Agents; experiments evaluate 18 proprietary and open-source models including Claude Opus 5, GPT-5.4, Kimi-K3, Qwen3.8-27B, etc.
Positioning of This Paper
- The authors state that THINKINGBOX integrates policy-constrained user interaction, a resettable business tool world, final-state and side-effect-based judging, and repeated-test stability evaluation into a unified sandbox.
How does the paper address this problem?
Build the THINKINGBOX sandbox based on the MCP protocol, performing conjunctive grading through state comparison and side-effect extraction.
The authors propose the THINKINGBOX interaction sandbox and the THINKINGBOX-BENCH benchmark, building a closed-loop evaluation and reinforcement learning environment for business workflows through isolated tool sessions, simulated user cooperative interaction, and end-to-end state and side-effect validation.
Problem Formulation and Formalization
- Task formalization: Each task is defined as x = (b0, g, T, U, C), where b0 is the initial backend state, g is the user goal, T is the set of available domain tools, U is the simulated user policy, and C is a set of m hidden executable checks.
- Induced POMDP model: The task induces a finite-horizon partially observable Markov decision process. The hidden state includes the backend state, the simulated user's private state, the evaluation event log, and the turn state; the agent outputs dialogue messages, tool calls, or termination markers each turn based on historical observations.
Sandbox Architecture and Session Isolation
- Environment isolation and deterministic reset: Before each evaluation attempt, the backend state is fully reset to b0. Attempts are completely isolated, sharing no database records, tool caches, or side effects, ensuring independent reproducibility of multi-trial statistics and reinforcement learning rewards.
- Protocol and interface specification: Domain tool interfaces are exposed to the agent via the Model Context Protocol (MCP), covering read/write operations and policy retrieval; the agent timeout is set to 600 seconds, the MCP proxy timeout to 300 seconds, with up to 5 network retries allowed.
- Simulated user policy constraints: The simulated user is played by a fixed GPT-5.4-mini, with input limited to the visible dialogue history, user goal specification, and the latest assistant message; strict constraints prohibit fabricating entities, only provide undisclosed details when the agent asks, and allow at most 10 interaction turns.
Judging Mechanism and Side-Effect Extraction
- Conjunctive result judging: Evaluation targets the world state after task completion rather than the surface sequence of tool calls; the combined judging formula is V(x, ρ) = ∏i=1m ci(sT, e, ρ), succeeding only when all checks on the terminal state sT, extracted side effects e, and specific dialogue requirements pass.
- Side-effect and collateral damage interception: By extracting differences between initial and terminal states, automatic comparison of database hashes, field values, and collection lengths identifies errors such as entity confusion, unauthorized modifications, or missing necessary business records.
- Selective response rules: Of the 507 tasks, 477 are judged solely on backend persistent state; an additional 30 tasks introduce GPT-5.4-mini binary scoring rules for necessary information disclosure or confidentiality requirements, as a supplement to the terminal state.
Benchmark Construction and Task Design
- Three-stage construction from real workflows: The first stage extracts workflow templates from enterprise support cases; the second stage instantiates templates into concrete task worlds with initial states, domain policies, and verification code; the third stage performs executable validation and filtering in the sandbox, removing samples with tool failures, ambiguous goals, or no feasible solutions.
- Five multi-turn business domains: Covering retail and e-commerce (98 tasks), travel and hospitality (104 tasks), auto insurance (100 tasks), digital banking internal IT (104 tasks), and consulting IT/HR support (101 tasks), with tasks involving multi-step transactions, permission verification, and information clarification.
What experiments did the paper conduct?
Evaluating 18 models on 507 tasks, Claude Opus 5 leads in pass@1 but its stability rate drops across multiple trials.
Experimental setup
- Tested models: The evaluation covers 18 proprietary and open-source models, including Claude Opus 5, GPT-5.4, GPT-5.6-sol, Claude Sonnet 4.6, GPT-6 Astra, Claude Opus 4.6, o3-pro, Grok-4.3, Kimi-K3, Qwen3.8-27B, DeepSeek-V4-Pro, GLM-5.1, Qwen3.5-9B, Mistral-Large-3, and reinforcement learning fine-tuned Qwen variants.
- Evaluation benchmark and scale: THINKINGBOX-BENCH contains 507 multi-turn business tasks across 5 domains; each model runs N = 20 independent trials per task, totaling 10,140 complete trials per model.
- Main metric definitions: Micro-averaged single-attempt pass rate pass@1, passˆ20 (interpolated estimate of all 20 attempts succeeding) measuring repeat stability, and pass@20 (probability of at least 1 success in 20 attempts) measuring exploration ceiling.
- Review and judging methods: 477 tasks use deterministic database hash and field assertion comparison; 30 tasks use a fixed GPT-5.4-mini for binary rule-based review of the final response.
- Inference and hyperparameter settings: Agent temperature set to 1.0 (when supported), maximum generation token limit 4096, simulated user and response review fixed to GPT-5.4-mini (temperatures 0.3 and 0.0, respectively).
Main results
The main results show exploration and stable execution performance of some representative models across multiple independent trials (according to Table 15):
Swipe horizontally to read the table
Model pass@1 (%) passˆ20 (%) pass@20 (%) 0/20 tasks 20/20 tasks Claude Opus 5 66.50 47.53 79.09 106 241 GPT-5.4 65.36 30.62 91.12 45 128 GPT-6 Astra 58.31 46.89 71.01 147 231 Kimi-K3 57.37 17.60 93.89 31 68 Qwen3.8-27B 51.70 10.93 89.35 54 38 o3-pro 19.31 1.25 61.54 195 4 MiniMax-M2.5 0.19 0.00 0.59 504 0 (Note: According to Table 15, the table lists only some representative models, including MiniMax-M2.5 with the lowest results; omitted models include GPT-5.6-sol, Claude Sonnet 4.6, GPT-5.2, DeepSeek-V4-Pro, Claude Opus 4.6, Kimi-K2.6, GLM-5.1, Qwen3.6-27B, Grok-4.3, Qwen3.5-9B, Mistral-Large-3, etc.)
- Discovery and repeat execution gap is significant: The authors state that models' ability to explore successful paths across multiple attempts is significantly higher than their repeat execution stability; for example, Kimi-K3 has the highest pass@20 but notably low passˆ20.
- No single dominant model across domains: The authors state that Claude Opus 5 leads in auto insurance, banking, and consulting domains but lags in hospitality; GPT-5.4 leads in hospitality, and Kimi-K3 leads in retail (according to Table 4).
- Model parameters do not solely determine performance: The authors state that open-source models show highly divergent performance; Qwen3.8-27B outperforms some larger open-source models, indicating that agent post-training and interaction robustness are equally critical.
Discovery-reliability gap analysis
- What was measured: Comparison of pass@1, pass@20, and passˆ20 metric distributions across 20 independent repeated trials for each model (according to Table 15).
- Experimental results: Kimi-K3's pass@20 reaches 93.89%, but passˆ20 is only 17.60%; Claude Opus 5's pass@20 is 79.09% and passˆ20 is 47.53%; GPT-6 Astra has pass@1 of 58.31% but passˆ20 of 46.89%.
- Authors' interpretation: The authors attribute this phenomenon to the discovery-reliability gap, where models can explore viable paths through retries but struggle to consistently achieve the same results in repeated executions.
Failure modes and weak evaluator ablation
- What was measured: Analysis of dominant error types in 79,853 failure trajectories and comparison of weak evaluation metrics based on surface behavior versus executable database validation (according to Table 5, Table 16).
- Experimental results: In failure trajectories, tool use errors account for 79.9%, incorrect state updates 10.3%, incomplete user requests 7.0%, and no write operation executed 2.9%; weak evaluators show that 80.88% of failed trials still exit normally and call write-operation tools, and 67.24% of failed trials have no errors in final tool calls.
- Authors' interpretation: The authors argue that surface responses and tool call syntax success cannot serve as proxy signals for end-to-end completion; terminal state and side-effect extraction must be used to expose potential data corruption.
Reinforcement learning training and external benchmark comparison
- What was measured: GRPO reinforcement learning fine-tuning of Qwen models using sandbox rewards, and validation of sandbox reproduction and capability differences on HumanEval+ (according to Table 4, Table 21).
- Experimental results: Fully fine-tuned Qwen3.8-27B achieves pass@1 of 60.78%, surpassing proprietary model GPT-6 Astra (58.31%); on HumanEval+ (without interpreter), 8 models' pass@1 are tightly clustered between 90.73%–95.24% (difference of only 4.51 percentage points), while on THINKINGBOX-BENCH the range is 47.19 percentage points.
- Authors' interpretation: The authors believe the sandbox's deterministic judging can be effectively converted into reinforcement learning signals; single-turn code benchmarks, being near ceiling, cannot capture the multi-turn information gathering and state update differences required by complex business workflows.
Other ablations and analyses
- Simulated user authenticity audit: Auditing 19,390 rounds of generative user replies, 93.38% judged as grounded, 6.33% ungrounded, 0.29% disputed (according to Table 14).
- Human verification consistency: Two human reviewers on a 120-round sample had an initial agreement rate of 95.0% (Cohen's kappa = 0.870), with 100% confirmation of auto-labeled Grounded and only 50.0%–53.3% confirmation of Ungrounded (according to Table 12, Table 13).
- Code interpreter gain ablation: Adding an interpreter on HumanEval+ changed each model's pass@1 by -0.98 to +1.71 percentage points; only o3-pro's confidence interval excluded zero, but it used the tool in only 25/820 instances (according to Table 22).
- Pareto cost frontier: GPT-5.6-sol has the lowest cost per successful single attempt ($0.127), and GPT-5.4 has the lowest per-task cost on tasks where all 20 attempts succeed ($6.80) (according to Table 23).
What are some points that can be further explored?
The authors note that grading does not cover reply text fidelity and relies on a single simulator, with experiments covering 507 tasks across 5 domains.
Limitations and future directions noted by the authors
- Asymmetric grading coverage: Of the 507 tasks, 477 are graded solely on terminal database state and side effects; if the agent completes the correct state transition but communicates incorrect information to the user, it is still judged as successful. The current metrics measure compliance of the backend state rather than fidelity of the front-end interaction (Appendix A).
- Single golden state constraint per task: Tasks are synthesized and reconstructed from non-public private enterprise cases and do not represent the full distribution of enterprise work; moreover, each task was constructed by excluding workflows with multiple reasonable outcomes, retaining only scenarios with a single golden terminal state (Appendix A, Appendix B.1, Appendix B.5–B.6).
- Interaction protocol and budget limits: Experimental evaluation results are constrained by the fixed test framework conventions, including the requirement to include a specific termination marker, a 10-turn interaction round limit, and token count limits (Appendix A).
- Simulated user diversity and behavioral limitations: All evaluations use a single GPT-5.4-mini as a cooperative simulated user; it does not simulate users who misremember details, change goals mid-way, or become uncooperative after repeated failures; moreover, the simulator and some of the tested models belong to the same family, which may introduce interaction style effects; future work should test sensitivity to different simulator models and behaviors (Appendix A).
Experimental coverage
- Evaluation domains and task scale: The actual evaluation covers 5 business domains: retail and e-commerce, travel and hospitality, auto insurance, digital banking internal IT, and consulting IT/HR support, totaling 507 executable tasks.
- Number of tested models and rounds: The main leaderboard evaluates 14 proprietary and open-source models not fine-tuned with the RLFT described in this paper, plus fine-tuned variants, totaling 18 models; each model is independently sampled 20 trials per task.
- Grading form distribution: Of the 507 tasks, 477 use pure database state and side-effect comparison, and 30 tasks additionally include a binary rule-based review of the final response by a large model.
- Single user simulator setting: All dialogue trials use a fixed-parameter GPT-5.4-mini as a single simulated user, with an interaction limit of 10 subsequent replies.
- Items not reported in the paper: The paper does not include online interaction evaluations with real human users in the main metrics, nor does it include two-way control tasks in the benchmark that require the user to take actual actions in the external world.
Summarize the main content of the paper
The paper builds a multi-turn business sandbox and benchmark, analyzes the gap in repeated execution, and demonstrates the effect of reinforcement learning training.
- Research positioning: This study proposes THINKINGBOX, an agent interaction sandbox for multi-turn stateful business workflows, and THINKINGBOX-BENCH, an evaluation benchmark containing 507 tasks.
- Core problem addressed: To address the issue that existing tool-calling evaluations favor code and single-call API syntax correctness while ignoring real business persistent state changes and collateral damage, the study builds an end-to-end verifiable closed-loop environment.
- Method design highlights: Task-level session isolation and deterministic reset are implemented via the MCP protocol, with a constrained simulated user cooperating in multi-turn clarification, combined with terminal database state comparison and side-effect extraction for strict conjunctive judging.
- Key experimental results: Evaluating 18 models reveals a significant gap between exploration upper bound and repeat execution stability; Claude Opus 5's pass@1 is 66.50%, but passˆ20 (success in all 20 repeated trials) drops to 47.53%; Kimi-K3's pass@20 reaches 93.89%, but passˆ20 is only 17.60%; among 79,853 failure trajectories, tool use errors account for 79.9%, and 80.88% of failed trials still terminate normally and invoke write tools.
- Reinforcement learning and benchmark value: Using sandbox deterministic rewards, GRPO full-parameter fine-tuning of Qwen3.8-27B achieves pass@1 of 60.78%, surpassing the proprietary model GPT-6 Astra (58.31%); compared to the narrow score range of HumanEval+, this benchmark effectively widens the capability differentiation among agents in complex workflows.
- Authors' conclusion and implications: The authors argue that an agent occasionally finding a single successful path does not equate to stable business execution capability; for high-impact business processes, evaluation must delve into underlying persistent state and collateral damage, not just rely on surface response text or tool call format.