AI Agent Benchmarks: What ShellBench Reveals About Evaluation and Security

    This article breaks down ShellBench, an AI agent benchmark built around realistic office tasks, and explains what its results mean for engineering teams. It covers the benchmark's design (real interaction traces, workspace-based evaluation, distractors, and multi-dimensional scoring), its methodology, and key findings: roughly 60% task completion, a wide stability gap across repeated runs, more than 20x cost differences, near-identical open-source framework pass rates, and the fact that correctness does not guarantee safety. It closes with practical guidance for deploying agents in production, including internal task sets, dual correctness-and-safety gates, least privilege, prompt and data boundary isolation, tiered routing, and stability-based acceptance.

    Why Realistic Task Benchmarks for AI Agents Are Necessary

    Over the past two years, most large model evaluation has focused on single-turn question answering, code completion, and standardized exam-style questions. These evaluations share a common trait: clean inputs, short contexts, and a single correct answer. The situation changes completely once an AI agent is placed in a real office environment. Task goals are often vague, the required information is scattered across emails, calendar exports, spreadsheets, chat logs, receipts, archived web pages, and PDF documents, and the same workspace frequently contains outdated records, similarly named accounts, contradictory descriptions, and even embedded malicious instructions designed to mislead the agent.

    As a result, the industry has begun building agent benchmarks oriented toward everyday work tasks. The core design principles can be summarized in four points:

    • Real interactions as the corpus source: Tasks are derived from more than ten million anonymized real agent interaction records, keeping them grounded in actual usage.
    • The workspace as the minimum evaluation unit: Each task comes with a workspace that closely resembles a real one, with a median of roughly 180 files spanning mixed document formats.
    • Distractors to create difficulty: Most tasks deliberately include outdated data, similar entities, conflicting information, and malicious instructions to test an agent’s ability to distinguish reliable information.
    • Multi-dimensional scoring: Out of 100 tasks, 90 are graded against more than 700 scoring criteria (over 300 of which are safety criteria), while 10 are verified through code-based tests, producing more than 50,000 scoring runs in total.

    The value of this design is that it moves evaluation from “can the model answer” to “can the agent get the job done in a messy environment, and do it safely.”

    Evaluation Methodology: Tasks, Workspaces, and Scoring

    1. Task Scale and Scoring Density

    With 100 tasks, more than 700 scoring criteria, and over 50,000 scoring runs, each task is evaluated dozens of times independently on average. High scoring density brings two direct benefits: it reduces the randomness of any single evaluation, and it allows “correct result” and “safe process” to be measured as separate dimensions.

    2. Workspace Realism

    A median of more than 180 files means the agent must have basic filesystem capabilities: directory traversal, format recognition, content retrieval, and cross-document correlation. A long context window alone is not enough; the agent must also locate key evidence within a limited number of steps.

    3. Distractors and Safety Checks

    Distractors test robustness, while safety checks test boundary awareness. Combined, they reveal an important phenomenon: even when the final answer is correct, an agent may still trigger a safety failure during processing, such as executing an operation it should not have performed or trusting misleading text found in the workspace.

    Key Findings and Their Engineering Implications

    1. Completion Rate Around 60%, Absolute Capability Still Limited

    Across an evaluation covering 12 models and 5 agent runtime frameworks, the leading model achieved a completion rate of about 62.5% after averaging across frameworks, the second reached about 61.9%, and the third about 61.4%, with only about 1.1 percentage points separating the top three. The engineering implication is clear: the gap between leading models is now smaller than the gap introduced by framework implementation, prompt design, and tool-calling strategy. If model selection focuses only on benchmark scores, those gains will quickly be erased by engineering optimization.

    2. Stability Gap Across Multiple Attempts

    For the same leading model, the rate of succeeding at least once in three attempts was about 75.1%, while the rate of succeeding in all three attempts was only about 48.8%. The roughly 26-point difference shows that agent failures are clearly stochastic. The lesson for production systems is that a single-run success rate is not sufficient as an acceptance metric; teams should introduce success rate distributions across multiple runs, failure clustering, and retry strategy evaluation.

    The following pseudocode expresses the statistical approach for multi-run evaluation:

    1. # Run each task N times and measure three criteria
    2. runs = [run_agent(task, workspace) for _ in range(N)]
    3. pass_at_least_once = any(r.correct and r.safe for r in runs)
    4. pass_all_runs = all(r.correct and r.safe for r in runs)
    5. stability_gap = pass_at_least_once - pass_all_runs

    3. Extremely Wide Cost Range

    Estimated cost per run ranged from about $0.19 to $1.10, and a lightweight model completed about 39.7% of tasks at roughly five cents. That is a cost difference of more than 20x, while the completion rate gap is under 20 percentage points. This means enterprises must establish tiered task routing: high-value, high-risk tasks go to stronger models, bulk low-risk tasks go to lightweight models, and budget controls and circuit breakers are enforced at the gateway layer.

    4. Open-Source Frameworks Are Close to Proprietary Solutions

    The average pass rate across the five runtime frameworks clustered between 42% and 45%, with less than three percentage points separating them. The conclusion is that the framework layer has become highly homogeneous, and differentiation is shifting toward observability, access control, failure recovery, and data governance.

    Across all 50,000-plus runs, about 15.7% failed at least one safety check. More concerning, among the more than 20,000 runs that fully met the correctness criteria, about 2,589 still failed a safety requirement. In other words, “doing it right” does not mean “doing it safely.” Correctness cannot cover safety, and the two must be accepted independently.

    Practical Guidance for Deploying Agents in the Enterprise

    1. Build your own task set: Extract tasks from real tickets after anonymization, construct workspaces with distractors, and form an internal benchmark that supports regression testing.
    2. Dual gates for correctness and safety: If either one fails, the run is considered a failure; never use an average score to mask safety defects.
    3. Least privilege and sandboxing: Deny filesystem, network, and external calls by default, grant temporary authorization per task, and keep full audit trails.
    4. Isolate prompt and data boundaries: Treat workspace content as untrusted input, and explicitly isolate and filter instructional text found within it.
    5. Tiered routing and budget governance: Select model tiers based on task value and risk, supported by logging services, monitoring alerts, and object storage for archiving execution traces.
    6. Accept based on stability, not peak metrics: Use multi-run pass rates, failure clustering, and regression trends as the gate for going live.

    Conclusion

    The core signal from benchmarks built around real office scenarios is that AI agents have moved from “able to demo” to “requiring acceptance.” A completion rate of around 60%, clear variance across repeated runs, a cost range of more than 20x, and the evaluation fact that correctness cannot cover safety together determine that the focus of deployment must shift from chasing leaderboards to engineering governance, using internal task sets, dual-dimension acceptance, least privilege, and tiered routing to turn uncontrollable model capability into production capability that is measurable, rollback-capable, and auditable.