NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Do Synthetic Tool Sandboxes Rank Agents the Way Live Servers Do?

Language-model agents that call software tools are now trained and tested in synthetic environments: generated databases with generated APIs, where a script can check whether the agent left the database in the right state. These sandboxes are cheap, reproducible, and come with guaranteed correct answers. Nobody knows whether they are trustworthy as evaluations. The question is concrete. If sandbox A says model X beats model Y, does X also beat Y when both face live servers with rate limits, expired logins, dirty records, distractor tools, and vague human requests? Robotics has asked this question and answered it for one platform, finding a 0.921 correlation between simulated and physical task progress. Tool-using agents have no such number.

We propose to measure that agreement for tool-use agents and then repair it. The measurement ranks a fixed pool of agents both in code-generated sandboxes and on live Model Context Protocol (MCP) servers, the standard interface through which agents reach real tools. The repair adds a small set of controlled, verifiable "messiness" injections to the sandboxes. Using only a handful of anchor models with known live scores, it learns which injections restore agreement. Finally, it tests the case most likely to break agreement: models that were themselves trained on synthetic sandboxes. Synthetic evaluation may overrate these models in the same way synthetic training data inflates math benchmarks.

Core Claim

Our hypothesis is that clean synthetic sandboxes agree with live-server rankings among strong general models. We expect agreement to fall in two places: near the top of the leaderboard, and for models trained on sandboxes from the same generator. A small, fixed set of fault and instruction-noise injections should recover most of the lost agreement, and the injections that matter should be few and identifiable. The first contribution is a sim-to-live rank-fidelity measurement for software agents. The second is an anchor-calibrated perturbation layer that is validated on held-out models, including held-out synthetic-trained ones.

Relation to Prior Work

Two papers supply the method and the targets. Agent World Model generates 1,000 executable environments, each backed by a SQLite database and a FastAPI server exposed over MCP, with Python code that verifies database changes. Training an 8B model on these environments raised its BFCLv3 score from 53.83 to 65.94. That paper uses sandboxes to train, assumes clean databases and pre-authenticated access, and explicitly does not test whether sandbox rankings survive on live infrastructure. We reuse its environments (code) as the evaluation substrate. MCP-Bench supplies the live reference. It runs 104 tasks on 28 live MCP servers with distractor tools and fuzzed instructions, and publishes an 18-model leaderboard (repo) ranging from gpt-5 at 0.749 down to nova-micro-v1 at 0.508. It reports that schema compliance exceeds 95% for nearly all top models. Syntax therefore does not separate agents, which is exactly why clean function-calling tests like BFCL may rank them differently.

Three papers motivate the gap. REALM validates a robot simulator against hardware (r = 0.921) through manual calibration of 14 physical parameters. We borrow its validation logic but replace physics calibration with calibration of software fault injections. Robot Policy Evaluation for Sim-to-Real Transfer proposes performance-matching metrics and reports 24–30% drops on deployment. We adapt its idea of a perturbation taxonomy to software agents. Synthetic Data and the Rise of Spiky Intelligence shows that training on benchmark-adjacent synthetic data inflates scores (Inflation Score up to 3.1 on Factory-GSM) without true capability gains. We extend its concern from training data to evaluation environments, asking whether sandbox-trained agents look better in sandboxes than they are.

Two further papers shape our injection design. τ²-Bench finds roughly a 20% success drop when the user also has tools. It also finds that tool-constrained user simulators err 16% of the time versus 40% for prompt-only simulators, so our simulated user is tool-grounded. Bring the Apple, Not the Sofa shows that conversational filler cuts robot-policy success from 77.5% to 18.9%, which motivates instruction-noise injections for software agents.

One paper constrains the design. GLIMO argues that imperfect simulators help as training regularizers. That finding does not contradict ours, because we study evaluation fidelity rather than training. Our ablations will nonetheless report whether simpler, lower-fidelity injections suffice. Data Swarms found 10–15% of its generated test items logically flawed. This is why every injection we add must keep a programmatic definition of correct behavior.

Research Program

We first build a perturbation layer that sits between the agent and each Agent World Model server. Each injection family comes with an extended verifier, so ground truth stays checkable by code rather than by a model acting as judge. The families are:

  • Transport faults: rate-limit responses, timeouts, dropped connections. Correct behavior is a bounded retry or an explicit failure report.
  • Credential expiry mid-task: correct behavior is calling the refresh tool.
  • Dirty data: duplicated, null, or conflicting rows. Correct behavior is a defined disambiguation or a flag to the user, checked against the database state.
  • Distractor tools: near-duplicate tools with misleading descriptions.
  • Instruction noise: filler and semantically similar distractor nouns in the Sofa style.
  • Active user: a tool-equipped simulated user in the τ²-Bench style, who must perform some of the required actions.

Each family has an intensity knob. We then score a pool of agents in three settings: clean sandboxes, perturbed sandboxes, and live MCP-Bench. The pool is the open-weight models on the MCP-Bench leaderboard, API access to the closed ones, and the Agent World Model 8B model together with its base.

Calibration is deliberately low-capacity so that it cannot overfit a pool of about 20 models. The sandbox score of a model $m$ is

$$s(m) = \sum_{k} w_k \, a_k(m), \qquad w_k \ge 0,\ \sum_k w_k = 1,$$

where $a_k(m)$ is the model's verified success rate under injection family $k$, with $k=0$ being clean. The weights $w_k$ are chosen to maximize rank agreement (Kendall's τ) with live scores on a small set of anchor models. Because only six or seven weights are fit, the family-level weights become interpretable findings: they show which kinds of real-world mess actually determine rankings.

Baselines

The naive reference point is the clean Agent World Model sandbox with no perturbations and uniform weight on its tasks. It stands for how synthetic sandboxes are used today. We run every model through the same task subset and the same tool-call budget as the other conditions, and report its Kendall τ against the MCP-Bench ranking. We found no reported sim-to-live rank correlation on Lacuna for Agent World Model or any tool-use sandbox. The only comparable reported figure is REALM's r = 0.921 in robotics, which serves as an aspirational level rather than a baseline.

The strongest existing proxy is BFCL, the most widely used tool-calling leaderboard, which combines syntax-tree matching with execution checks and multi-turn state checks. It is the natural competitor because practitioners already treat it as the stand-in for real tool competence. We run BFCL with the official harness (gorilla) on the identical model pool, with the same decoding settings, and compute its τ with MCP-Bench. We found no reported BFCL-to-MCP-Bench rank correlation on Lacuna. To beat BFCL, the calibrated sandbox must achieve higher τ on held-out models, with the difference exceeding the bootstrap interval over tasks.

We also run a prompt-simulated environment baseline, in which a frontier model acts as the server, matched in task count and budget. This tests whether code grounding matters for evaluation, as Agent World Model showed it matters for training.

Two ablations isolate the key ingredient. The first applies all injections at uniform weights with no calibration. It asks whether calibration to anchors matters, or whether any added mess suffices. The second calibrates using only the "semantic" families (distractor tools, instruction noise, active user) versus only the "systems" families (faults, credential expiry, dirty data). It asks which kind of realism carries the signal.

Why not just…?

Why not just evaluate on live MCP-Bench and skip sandboxes? For public tools, that is a fair answer, and we treat live scores as ground truth. However, live servers are few (28), change over time, cannot be reset to a known state, and cannot stand in for private enterprise systems where evaluation must happen before deployment. The useful product is a sandbox recipe validated against live servers. If our experiments show that even calibrated sandboxes stay below τ ≈ 0.6 on held-out models, the honest conclusion is "use live evaluation," and we will report it as such.

Why not just trust BFCL, since it already executes calls? MCP-Bench reports schema compliance above 95% across top models, so a test that is mostly about correct call structure may saturate exactly where live rankings differ. BFCL's own results support this: simple-call accuracy exceeds 90%, while agentic memory accuracy is around 12%. Running BFCL on the same pool settles the question directly. If BFCL matches the calibrated sandbox's τ, the sandbox adds nothing for ranking and we will say so.

Why not just randomize faults uniformly instead of calibrating? This is the most serious threat, since domain randomization often works. The uniform-injection ablation tests it head-on. If uniform injection matches calibrated injection on held-out models, we drop calibration and keep the simpler recipe. The finding "any verifiable mess restores fidelity" would still be new.

Why not just have an LLM play the environment? The evidence runs against it. τ²-Bench reports a 40% error rate for prompt-only user simulators versus 16% for tool-grounded ones, and Agent World Model documents that model-simulated databases lose track of their own state. Our prompt-simulated baseline measures the cost in rank fidelity specifically.

Proposed Experiments

The primary experiment computes Kendall τ and top-5 overlap between each evaluation setting and MCP-Bench live scores. Calibrated weights are fit by leave-k-models-out cross-validation: fit on 6 anchors, test on the rest, repeated over random splits. A temporal holdout is also run, fitting on older models such as gpt-4o and llama-3.1 and testing on newer ones such as gpt-5 and qwen3-2507. Confidence intervals come from bootstrapping over tasks.

The decisive check concerns synthetic-trained models. We define a sandbox inflation gap for the Agent World Model 8B model: its rank in the sandbox minus its rank on live servers, compared with the same gap for its base model. If clean sandboxes place the trained model markedly higher than live servers do, synthetic evaluation inherits the spiky-intelligence failure. If calibrated injections close that gap without refitting on the model, the injections capture something real rather than something about one generator's style.

A secondary transfer check applies the weights learned against MCP-Bench, unchanged, to predict rankings on τ²-Bench Telecom. There, reported success ranges from 34% for GPT-4o to 49% for Claude 3.7 Sonnet. This tests whether the learned emphasis on particular kinds of mess generalizes beyond one live benchmark.

The note succeeds if the calibrated sandbox beats both clean sandboxes and BFCL on held-out τ, and shrinks the inflation gap for the synthetic-trained model. It fails informatively if uniform injection or BFCL does as well.