AI Agent Benchmark ShellBench Reveals Task Completion Bottleneck
This article explains why AI agent evaluation is shifting from question answering to real-world task completion, using the ShellBench benchmark as an example. It covers how reproducible tasks are built from anonymized interactions, how realistic workspaces introduce noise and distractors, and how to interpret the three key metrics: completion rate, stability, and cost. It also highlights safety as a major failure source and outlines practical implications for enterprise adoption, including internal task sets, repeated-run evaluation, cost-tiered scheduling, workspace governance, and built-in security controls.
Why Real-World Task Benchmarks for AI Agents Are Needed
As large language models move from answering questions to executing tasks, evaluation methods must change accordingly. Traditional QA benchmarks focus on the correctness of a single-turn output, whereas agents must make continuous decisions across multiple steps, tools, and files. A single deviation at any step can accumulate into a final failure. For this reason, the industry has begun building agent benchmarks oriented toward everyday work, using reproducible task sets to measure whether work can be completed, done correctly, and done safely.
The core value of such benchmarks lies in three points: first, turning vague capability descriptions into quantifiable completion rates; second, exposing stability issues in long-workflow tasks; third, incorporating cost and safety into the same evaluation framework, avoiding a focus on results while ignoring the price paid.
Benchmark Construction: From Real Interactions to Scorable Tasks
A credible agent benchmark typically consists of four stages.
- Data source: Large-scale anonymized real interaction records serve as the raw material, covering high-frequency scenarios such as office work, collaboration, and information processing, ensuring the task distribution is close to real usage.
- Task design: Raw records are distilled into tasks with clear boundaries and deterministic outcomes, usually numbering in the hundreds, balancing diversity and executability.
- Scoring system: Most tasks are judged item by item with fine-grained criteria, while a small number are verified by automated tests; each criterion can be scored independently, making it possible to pinpoint the failing step.
- Repeated runs: To distinguish accidental success from stable capability, the same task is run multiple times and the distribution is measured. Tens of thousands of scoring runs in total are required to reach a credible conclusion.
Workspaces and Distractors: Where Realistic Difficulty Comes From
The difficulty of the benchmark lies not in the questions themselves but in the environment. Each task is paired with a simulated workspace whose median file count reaches into the hundreds, spanning emails, calendar exports, spreadsheets, chat logs, receipts, web archives, and documents. More importantly, distractors are commonly planted in the workspace:
- Outdated records: historical information that conflicts with the current state;
- Similar accounts and identically named entries: testing entity disambiguation;
- Contradictory information: requiring judgment of priority and credibility;
- Malicious instructions: inducements hidden in files, used to test resistance to injection.
This design turns evaluation from “solving a problem” into “making the right decisions amid noise,” which better reflects the messiness of real enterprise data environments.
Interpreting Results: The Triangle of Completion Rate, Stability, and Cost
The evaluation typically covers a dozen or so models and multiple agent runtime frameworks, with results averaged across frameworks to eliminate framework differences. The leading model reaches a completion rate of about 62.5%, the second about 61.9%, and the third about 61.4%. The gap at the top is only about one percentage point, indicating that overall capability has entered a plateau where single-point improvements are hard to translate into a decisive lead.
Stability metrics are even more telling: for one leading model, the tasks solved at least once across three attempts reach about 75.1%, but those solved successfully in all three attempts are only 48.8%. This means there is a huge gap between “can get it done” and “gets it done every time,” so production systems must rely on retry, validation, and rollback mechanisms.
Cost is equally critical. The per-run cost of different models can differ by an order of magnitude, from about five cents to more than one dollar; lower-cost options have lower completion rates but are suitable for high-volume, low-risk subtasks. Open-source and proprietary runtime frameworks have similar average pass rates, indicating that the framework itself is not the decisive factor and that task modeling and validation strategies matter more.
The Safety Dimension: An Overlooked Source of Failure
Safety is one of the most valuable outputs of such benchmarks. About 15.7% of all runs fail at least one safety check; even among runs that meet all correctness criteria, a considerable proportion still fail safety requirements. This shows that “correct results” do not equal “compliant processes”: an agent may complete a task while reading data beyond its authority, deleting files by mistake, or executing injected instructions.
In engineering terms, safety checks should be moved forward as a hard gate rather than treated as a post-hoc audit.
Implications for Enterprise Adoption
- Build your own task set: turn high-frequency workflows into scorable tasks to form an internal benchmark.
- Evaluate stability with repeated runs: make decisions based on the success-rate distribution rather than a single result.
- Tier scheduling by cost: use high-capability models for high-risk tasks and low-cost options for low-risk batch processing.
- Strengthen workspace governance: unify file naming, remove expired data, and label trusted sources.
- Build in safety: least privilege, operation allowlists, secondary confirmation for sensitive actions, and complete logs with monitoring and alerting.
# Skeleton: task execution with retries and a safety gatedef run_task(task, workspace, policy, max_retry=3):for attempt in range(max_retry):result = agent.execute(task, workspace)if not policy.is_safe(result.actions):policy.rollback(result)continueif task.verify(result):return resultreturn None
Overall, real-world agent evaluation is shifting the industry’s focus from “model scores” to a combined trade-off among task completion rate, stability, cost, and safety. By understanding and reusing this evaluation methodology, teams can make more rational decisions in model selection and architecture design. General-purpose capabilities such as container platforms, object storage, log services, and monitoring and alerting offered by Baidu AI Cloud can be combined to build a reproducible evaluation and runtime environment.
