AI Agent Benchmarks: What ShellBench Reveals About Performance and Security
This article examines how real-world AI agent benchmarks are built and what their results reveal about model performance, reliability, cost, and security. Covering task construction from anonymized interaction logs, workspace design with realistic distractors, and scoring methods that combine rubrics with code-based tests, it explains why top models now cluster within roughly 1.1 percentage points of each other. It also highlights stability gaps between single and repeated runs, cost trade-offs across models, and the close gap between open-source and proprietary agent frameworks. A dedicated security section shows that outputs can appear correct while still failing safety checks, along with practical engineering recommendations for routing, sampling, pre-execution validation, observability, workspace governance, and continuous regression testing.
1. Introduction: Why Real-Work Agent Benchmarks Matter
As large language models and agent frameworks mature, the industry’s focus is shifting from “can a model answer a question” to “can an agent complete a full set of everyday work.” Real office tasks typically involve multi-step operations, cross-file information integration, tool calls, and result verification. Single-turn question-and-answer evaluations can hardly reflect an agent’s reliability. For this reason, the industry has begun building agent benchmarks oriented to real workflows, using reproducible task sets and a unified scoring system to measure end-to-end completion ability.
The core idea of such benchmarks is to extract high-frequency task patterns from massive volumes of anonymized real interactions, construct workspaces with distractors, and score each run at a fine-grained level. Recently published evaluation results show that the strongest model achieves an average completion rate of about 62.5% across all run frameworks, with only about a 1.1 percentage point gap among the top three. This indicates that leading models are already fairly close in capability, and that differences brought by engineering and process design are becoming increasingly important.
2. Benchmark Construction: From Interaction Logs to Scorable Tasks
2.1 Data Sources and Task Scale
Such benchmarks are typically built from over 10 million anonymized real agent interaction records, covering scenarios such as office automation, information retrieval and organization, and form processing, ultimately converging into about 100 tasks. Task design emphasizes “decidability,” meaning each task has a clear success criterion to avoid the fluctuations caused by subjective scoring.
2.2 Workspace Design: A Realistic File Environment
Each task is paired with an independent workspace containing a median of about 188 files, spanning emails, calendar exports, spreadsheets, chat logs, receipts, web archives, and PDFs. The workspace is not “clean data”; most tasks deliberately add distractors such as outdated records, similar accounts, contradictory information, and even malicious instructions to test the agent’s information discrimination and anti-interference ability.
2.3 Scoring System: Reference Answers Combined with Code Tests
Scoring usually consists of two parts: some tasks are judged item by item against hundreds of reference criteria, including dozens of security criteria; other tasks are automatically verified through code tests. Overall, the evaluation performs tens of thousands of scoring runs (such as about 53,100) to cover different models, different frameworks, and repeated sampling, reducing the impact of chance.
A schematic scoring logic can be abstracted as:
def evaluate(run_output, workspace, rubric, security_checks):correctness = sum(check(run_output, item) for item in rubric) / len(rubric)security_pass = all(check(run_output, s) for s in security_checks)return correctness, security_pass
3. Evaluation Dimensions and Key Results
3.1 Completion Rate: Narrowing Gaps Among Top Models
The evaluation covers more than a dozen models and multiple agent run frameworks, averaging across each framework. Results show the leading model has an average completion rate of about 62.5%, the second about 61.9%, and the third about 61.4%, with gaps of about 1.1 percentage points. This means model selection should not rely only on leaderboard rankings, but should also comprehensively consider cost, stability, and ecosystem compatibility.
3.2 Stability: Succeeding Once Does Not Mean Succeeding Every Time
Repeated-run statistics reveal another side of reliability: for a leading model, the proportion of tasks that succeed at least once in three attempts is about 75.1%, but the proportion that succeed all three times is only about 48.8%. This shows that success in a single demonstration is largely a matter of chance, and production systems must introduce retry, verification, and fallback mechanisms to turn “occasionally correct” into “stably deliverable.”
3.3 Cost: Balancing Performance and Overhead
The per-run cost of different models varies significantly, ranging from about $0.19 to $1.10. A low-cost option has a completion rate of about 39.7% at a per-run cost of about five cents. In engineering, a tiered strategy can be adopted: use a low-cost model for simple tasks first, and escalate to a higher-capability model when encountering complex or high-risk tasks, to optimize total cost of ownership.
3.4 Framework Differences: Open-Source Approaches Close to Proprietary Ones
At the run-framework level, open-source frameworks have an average pass rate of about 45%, while proprietary solutions are about 42.9%, an overall small gap. This suggests that framework choice affects customizability, observability, and deployment more than a decisive capability ceiling. Enterprises can make trade-offs based on data compliance, intranet deployment, and secondary development needs.
4. The Security Dimension: An Overlooked Critical Weakness
Security is an important component of such benchmarks. Statistics show that about 15.7% of all runs fail at least one security check; more alarmingly, among the roughly 26,151 runs that meet all correctness criteria, 2,589 still fail a certain security requirement. In other words, a result that “looks correct” does not mean the behavior is “safe enough”; an agent may read data beyond its authority, mistakenly delete files, or perform unauthorized operations while completing a task.
Common security risks include executing malicious instructions as normal ones, mixing up similar accounts and causing data misuse, citing outdated information and causing decision bias, and accumulating and amplifying side effects across multi-step operations. To address this, it is recommended to introduce least privilege, operation whitelists, secondary confirmation for sensitive actions, and complete audit logs at the design stage.
5. Engineering Implementation Recommendations
- Task tiering and routing: route tasks of different complexity and risk levels to models of different capability and cost.
- Multiple sampling and voting: use multiple runs and result comparison for critical tasks to reduce occasional failures.
- Pre-execution security checks: perform policy validation before actions are executed, rather than only after the fact.
- Observability: log every tool call and intermediate artifact to help locate the cause of failures.
- Workspace governance: annotate input files with timeliness and flag conflicts to reduce the chance of the model being distracted.
- Continuous regression evaluation: incorporate benchmark tasks into the release process to prevent capability regressions caused by model or framework upgrades.
6. Conclusion
Agent benchmarks oriented to real work refine “can it be done” into “how well, how stably, how safely, and how expensively it is done.” For developers and enterprises, real competitiveness lies not in a single leaderboard ranking, but in building a reliable system of evaluation, routing, verification, and governance around models. To host evaluation data, logs, and intermediate artifacts, general cloud capabilities such as object storage, message queues, container platforms, log services, and monitoring and alerting can be used to build an elastic, observable evaluation pipeline; the general product categories offered by cloud vendors such as Baidu AI Cloud can also serve as a selection reference for such infrastructure.
