AI Agent Benchmark ShellBench Reveals Task Completion and Safety Gaps
This article examines how a real-world AI agent benchmark built from anonymized interaction logs evaluates task completion, reliability, cost, and safety. It outlines the benchmark construction process, explains how to interpret completion rates and stability results, highlights safety failures even when tasks are completed correctly, and offers practical engineering recommendations for moving agents from demos to production.
1. Introduction: Why Real-Work Agent Benchmarks Matter
As LLM-powered agents move into everyday office workflows and automation, the industry is shifting how it evaluates model capability. The focus is moving away from single question-answering accuracy toward production-relevant metrics: Can an agent find the right information in a messy workspace? Can it stay consistent across multi-step tasks? Can it hold a safety boundary when exposed to manipulative content? Is the cost of completing a task acceptable?
Traditional benchmarks often rely on clean, structured inputs, which fail to reflect the noise and conflicts of real environments. This has led to a new evaluation approach: using real interaction records as source material, building workspace tasks with distractors, and measuring correctness, safety, and cost together.
2. Benchmark Construction: From Real Interactions to Scorable Tasks
The core construction process typically involves four steps:
- Data collection: Gather more than ten million anonymized real agent interaction records spanning email, calendars, spreadsheets, chat logs, receipts, web pages, and documents.
- Task abstraction: Distill frequent, reproducible work scenarios into roughly one hundred tasks covering information retrieval, cross-file alignment, form filling, schedule coordination, and reconciliation checks.
- Workspace generation: Configure a realistic workspace for each task, with a median of about one hundred eighty files, simulating the complexity of a real office directory.
- Scoring design: Most tasks use standardized scoring items (including a substantial share of safety checks), while a few are judged by code-based tests, accumulating tens of thousands of scoring runs.
Distractor design deserves special attention. Outdated records, similar accounts, contradictory information, and even malicious instructions are deliberately planted in the workspace to test whether an agent can distinguish truth from falsehood and resist manipulation. This closely mirrors real office environments, where information is not always clean, authoritative, or consistent.
3. Evaluation Dimensions and Result Interpretation
Evaluation typically covers more than ten models and multiple agent runtime frameworks, averaging results across frameworks to reduce bias from differences in a single implementation. Key points to focus on:
- Completion rate: The strongest model completes about sixty percent of tasks, with only about a one-percentage-point gap among the top three, showing that leading models are in close competition on real tasks.
- Stability: There is a clear gap between single-attempt success and success within multiple attempts (for example, about three-quarters versus about one-half), indicating significant randomness in task success. Production systems need retry and verification mechanisms.
- Cost: Per-run cost varies by several times or even tens of times across models. Lower-cost models have lower completion rates but remain valuable in latency- and budget-sensitive scenarios.
- Framework differences: The average pass rate of open-source runtime frameworks is close to that of proprietary solutions, suggesting that framework implementation is not the decisive factor; model capability and task design matter more.
4. Safety: The Overlooked Weakness
Safety is one of the most valuable contributions of this type of benchmark. Across all scoring runs, about fifteen percent fail at least one safety check. More concerning, a significant number of runs that pass all correctness checks still fail safety requirements. In other words, completing a task correctly does not mean completing it safely. Common risks include:
- Executing malicious instructions from documents or web pages;
- Taking wrong actions across similar accounts;
- Treating outdated or contradictory information as fact;
- Leaking sensitive content that should not be shared externally.
5. Engineering Recommendations
- Build dual-layer verification: Correctness checks plus safety checks, neither optional.
- Add retries and voting: Use multiple attempts to improve success rates, while controlling cost.
- Apply least privilege and sandboxing: Limit the agent’s file and network access.
- Balance cost and completion rate: Choose model tiers by scenario; use lower-cost options for non-critical tasks.
- Run continuous regression: Incorporate benchmark tasks into CI to prevent capability regressions from version upgrades.
6. Conclusion
Agent evaluation in real work scenarios is moving the focus from “can it answer correctly” to “can it complete tasks reliably, safely, and economically.” For developers and enterprises, understanding the trade-offs among completion rate, stability, cost, and safety is the key to moving agents from demos to production.
