AI Agent Benchmark ShellBench Reveals Task Completion and Safety Gaps
This article breaks down ShellBench, a benchmark built from real-world agent interaction logs to evaluate how AI agents perform on realistic office tasks. It covers the benchmark's design, workspace setup, dual-track scoring for correctness and safety, and key findings on completion rates, reliability, cost, framework differences, and security. Engineers and teams will learn why "demo-ready" is not the same as "production-ready," and how to use dual metrics, reliability techniques, tiered routing, and security-first practices in agent deployment.
1. Why Real-Work Agent Benchmarks Matter
As LLM-powered agents move from demos into daily office work, the gap between “can chat” and “can deliver” has become clear. Traditional Q&A evaluations focus on single-turn knowledge correctness and struggle to capture an agent’s multi-step execution ability in mixed environments involving file systems, email, calendars, spreadsheets, and chat logs. In response, a new evaluation approach has emerged: build task sets from real, anonymized interaction records that resemble everyday work, and score the results with fine-grained, reproducible criteria.
These benchmarks pursue three core goals: first, measure end-to-end task completion rather than isolated step correctness; second, introduce real-world noise and distractions to test robustness and information filtering; third, factor safety into scoring to avoid false-positive success that is “correct but non-compliant.”
2. Benchmark Construction: From Interaction Logs to Scorable Tasks
2.1 Data Foundation and Task Scale
This type of benchmark is typically built by anonymizing and structuring more than ten million real agent interaction records, ultimately distilling them into roughly one hundred tasks. Most tasks use standardized scoring rubrics, while a few are judged by code-based tests. To ensure statistical stability, each task is run multiple times, with the total number of scoring runs reaching the order of tens of thousands.
2.2 Workspace Design: Offloading the “Dirty Work” to Agents
Each task comes with a workspace that closely mirrors reality, with a median of more than one hundred and eighty files spanning email exports, calendar data, spreadsheets, chat logs, receipts, saved web pages, and documents. The key is deliberately planted distractions:
- Outdated records: version conflicts that require judging recency;
- Similar accounts: near-identical names that invite mis-operation;
- Contradictory information: inconsistent multi-source data that requires cross-validation;
- Malicious instructions: injection-style commands hidden in documents that test resistance to manipulation.
This design compresses “information retrieval + judgment + operation + verification” into a single task, coming closer to the complexity of real office work.
2.3 Scoring System: Dual Tracks for Correctness and Safety
Scoring is generally split into two types: one judges each item against a standard, including a large number of correctness criteria and dedicated safety criteria; the other automatically verifies outputs through code tests. The value of the dual-track system is that it quantifies both “how much was done correctly” and “whether boundaries were crossed.”
3. Key Findings from the Evaluation
3.1 Completion Rate: Concentrated at the Top, Narrowing Gaps
Across an evaluation covering more than ten models and five agent runtime frameworks, averaging by framework puts the top models’ completion rate at around sixty percent, with only about a one-percentage-point gap among the top three. This suggests that on real office tasks, model capabilities are converging, and simply switching models yields limited marginal gains.
3.2 Reliability: One-Time Success Is Not Enough
For the same model, the proportion of at least one success in three attempts is clearly higher than the proportion of three consecutive successes, with a gap of more than twenty percentage points. For engineering deployment, this means a reliability gap remains between “can demo” and “can host,” requiring retries, verification, and human fallback.
3.3 Cost: Cost-Effectiveness Becomes a Key Variable
Per-run costs vary by up to an order of magnitude across models: top models cost around one dollar, mid-tier models around a few tenths of a dollar, and lightweight models as low as a few cents, though completion rates drop accordingly. When selecting models, the core metric should be “cost per successful task” rather than “price per call.”
3.4 Framework Differences: Open Source and Proprietary Are Close
The average pass rate of open-source or community runtime frameworks is close to that of proprietary solutions, with a gap within single-digit percentage points. This shows that the process orchestration, tool invocation, and context management of engineering frameworks have a non-negligible impact on final results.
3.5 Safety: The Most Overlooked Weakness
About fifteen percent of all runs failed at least one safety check; more alarmingly, among runs that passed all correctness checks, a considerable proportion still failed safety requirements. In other words, “doing the right thing the wrong way” is a real risk.
4. Implications for Engineering Deployment
4.1 Use Dual Metrics: Task Success Rate + Safety Pass Rate
Enterprises are advised to track both task completion rate and safety compliance rate during selection and acceptance, and to build a separate repository of “correct but non-compliant” samples for review. A pseudocode approach:
def evaluate(run):correct = check_correctness(run) # Whether the output is correctsafe = check_safety(run) # Whether boundaries were crossed or injection occurredreturn {"success": correct and safe, "correct_only": correct, "safe": safe}
4.2 Prioritize Reliability Over Peak Capability
Drawing on multi-run data, use majority voting, result self-checking, and human confirmation for critical steps to turn “at least one success” into “stable success.”
4.3 Cost Governance: Tiered Routing
Classify tasks by complexity: route simple tasks to lightweight models and complex tasks to top models to significantly optimize cost per successful task. Common logging services and monitoring/alerting systems can be used to continuously observe call volume, success rate, and cost.
4.4 Shift Security Left: The Workspace Is the Attack Surface
Treat document injection, similar accounts, and contradictory information as routine risks. On the agent side, add instruction isolation, least privilege, and operation auditing; on the platform side, use common capabilities such as object storage, message queues, and container platforms to host workspaces and task scheduling, while retaining a complete audit trail.
5. Conclusion
The value of this type of real-world benchmark lies not in producing a leaderboard, but in turning “whether agents can reliably, safely, and economically complete work” into a quantifiable, reproducible engineering problem. For developers and enterprises, real competitiveness comes from the systematic capabilities of task design, evaluation loops, and security governance, rather than the score of any single model.
