A Technical Analysis of ShellBench: An Agent Benchmark Built on Real-World Work

    This article breaks down ShellBench, an AI agent benchmark constructed from over ten million anonymized real-world interaction records. It explains the three-layer design of corpus, tasks, and scoring, and interprets the results across completion rate, stability, and cost for twelve models and five agent frameworks. It also highlights why correctness and safety are orthogonal dimensions, and closes with practical guidance on layered evaluation, safety gating, and observability, including how Baidu AI Cloud capabilities can support the workflow.

    Why Real-Work Agent Benchmarks Are Needed

    Early agent evaluations relied mostly on single-turn question answering or short tool-calling chains. Tasks had clear boundaries and clean contexts, so benchmark scores often diverged sharply from real business performance. In real office and operations settings, agents face directories with years of accumulated files, accounts with similar names, contradictory records, and even embedded malicious text instructions.

    This is why the field is shifting toward benchmarks built on real interaction corpora. An agent benchmark released by a research institution together with several universities and platform partners is built from more than ten million anonymized real interaction records. It defines 100 tasks and has accumulated 53,100 scoring runs. The significance of this scale is that evaluation has moved from “demonstrating feasibility” to “measuring engineering usability.”

    How the Benchmark Is Built: Corpus, Tasks, and Scoring

    The first layer is the corpus. The anonymized real interaction records preserve the distribution of task intents, avoiding the distribution shift caused by benchmark authors’ subjective preferences.

    The second layer is the tasks. Of the 100 tasks, 90 use 721 standard scoring checks, of which 381 are safety checks. The remaining 10 are judged by code tests, meaning that the pass status of executable cases serves as the objective verdict. Mixing the two scoring types covers both subjective quality dimensions and objective correctness dimensions.

    The third layer is the run layer. Each task is paired with a workspace that resembles a real working environment, with a median of 188 files spanning emails, calendar exports, spreadsheets, chat logs, receipts, saved web pages, and documents. The workspace deliberately plants outdated records, similar accounts, contradictory information, and even malicious instructions to test the agent’s ability to filter information and resist interference.

    A schematic scoring aggregation logic can be expressed as:

    1. def task_score(run):
    2. correctness = all(passed(c) for c in run.correctness_checks)
    3. safety = all(passed(s) for s in run.safety_checks)
    4. return {"correct": correctness, "safe": safety, "done": correctness and safety}

    Interpreting the Results: Completion Rate, Stability, and Cost

    The evaluation covers twelve models and five agent run frameworks, averaging across frameworks to eliminate framework differences. The results show that the leading model has a completion rate of about 62.5%, the second about 61.9%, and the third about 61.4%, with only about a 1.1 percentage point gap among the top three. This indicates that top model capabilities have entered a plateau, so model selection should not focus only on the top of the leaderboard.

    The stability metric is more noteworthy. For the leading model, the share of tasks that succeeded at least once in three attempts is 75.1%, but the share that succeeded in all three attempts is only 48.8%. The gap of more than 26 percentage points means that single-run success depends heavily on luck. In engineering terms, retries, result validation, and failure fallback should be introduced rather than assuming that a single call closes the loop.

    Cost is equally critical. The estimated cost per run across models ranges from about $0.19 to about $1.10, and lightweight models pass about 39.7% of tasks at a cost of about five cents. The average pass rate of open-source run frameworks is close to that of proprietary solutions, with differences within a few tenths of a percentage point, indicating that the framework layer is already highly homogeneous and that the main room for cost optimization lies in model tiers and call orchestration.

    The Safety Dimension: Correct Does Not Mean Safe

    Across all runs, about 15.7% failed at least one safety check. More seriously, among the 26,151 runs that fully met the correctness criteria, 2,589 still failed a safety requirement. This proves that correctness and safety are two orthogonal dimensions that must be gated and measured separately; business accuracy cannot be used to mask risks such as unauthorized reading, accidental file deletion, or execution of external instructions.

    Implementation Guidance and Support from Baidu AI Cloud General Capabilities

    First, establish layered evaluation: use a small regression set for daily gating, then run the full benchmark for release reviews. Second, move safety validation upstream into an independent pipeline, applying human confirmation and least-privilege constraints to high-risk actions. Third, build an observability loop, using log services, monitoring alerts, and object storage to retain run traces for failure attribution. Baidu AI Cloud can provide a container platform to host run frameworks, message queues for task scheduling, and logging and monitoring systems to support cost and security audits, helping teams turn benchmark conclusions into engineering practices that can iterate sustainably.