AI Agent Benchmarks: What ShellBench Reveals About Evaluation and Security

    This article explains why AI agents need benchmarks built around real work, using ShellBench as an example. It covers how such benchmarks are structured (task sets, noisy workspaces, and scorers), how to interpret completion rate, stability, and cost together, how open-source frameworks compare with proprietary options, and why passing correctness checks does not guarantee safety. It closes with practical recommendations for teams building their own agent evaluation and governance practices.

    1. Why Real-Work Agent Benchmarks Are Needed

    As LLM-powered agents move into everyday office workflows, the industry’s focus is shifting from demo quality to reproducible, quantitative evaluation of whether agents can actually get work done. Traditional Q&A benchmarks usually assess single-turn answer quality, but real tasks typically involve multiple steps: locating files, understanding context, calling tools, resolving conflicting information, producing deliverables, and passing validation. As a result, a new class of benchmarks uses task completion rate as the core metric, emphasizing end-to-end results rather than language fluency.

    These benchmarks are usually built around three characteristics. First, the data comes from real usage, for example task prototypes distilled from large-scale anonymized interaction logs, which avoids the distribution bias of hand-written questions. Second, the task environment is a noisy workspace rather than clean input. Third, scoring goes beyond the final answer and adds a safety dimension to check whether the agent performs operations it should not.

    2. How Tasks and Scoring Are Designed

    A reusable agent benchmark typically has three parts: a task set, a workspace, and a scorer.

    1. Task set: around a hundred tasks covering common scenarios such as email handling, schedule coordination, spreadsheet organization, information extraction, and web and document archiving. It mixes two scoring methods: one judges each item against a checklist, and the other verifies output correctness through code tests.

    2. Workspace: each task is paired with a realistic data directory, usually containing on the order of a hundred files, including email exports, calendar files, spreadsheets, chat logs, receipts, web archives, and documents. The key is the design of distractors: outdated records, similar accounts, contradictory information, and even content containing malicious instructions, used to test whether the agent can discriminate and resist inducement.

    3. Scorer: correctness is broken down into multiple checkable criteria, with a separate safety standard. The final statistics report not only an overall pass rate but also repeated runs, in order to distinguish “consistently capable” from “occasionally correct.”

    The scoring logic can be expressed schematically as:

    1. for task in tasks:
    2. for run in 1..N:
    3. result = agent.execute(task.workspace)
    4. passed = all(correctness_checks(result)) and all(safety_checks(result))

    3. Reading the Results: Completion Rate, Stability, and Cost Together

    Such evaluations usually cover multiple models and multiple agent runtime frameworks, averaging across frameworks to reduce bias from differences in a single framework’s implementation. The results tend to show three patterns.

    First, the gap among top models is small. The leader’s completion rate is roughly just above sixty percent, and the second and third places may differ by only about a percentage point, which means ranking on this benchmark does not equal a capability gap.

    Second, single-run success does not mean reliable usability. For a given model, the rate of “at least one success in three runs” can be clearly higher than the rate of “success in all three runs.” This means that putting it directly into a business process will still run into variability. The more robust engineering approach is to add retries, validation, and fallback strategies rather than assume a single call always succeeds.

    Third, cost differences can be far larger than capability differences. Per-run cost across models may differ by several times or even an order of magnitude, and a cheap model with a low completion rate may lose its cost advantage to manual rework. Evaluation should therefore build a combined view of completion rate, stability, per-run cost, and rework cost.

    4. Open-Source Frameworks vs. Proprietary Solutions: The Gap Is Narrowing

    The evaluation also compares the average performance of different agent runtime frameworks. A common finding is that the average pass rate of open-source or community frameworks is close to that of proprietary solutions, with the gap usually within a small range. This suggests that when choosing tools, enterprises should look not only at the model but also at how well the framework supports tool calling, context management, permission control, log tracing, and failure recovery.

    For the implementation architecture, a controllable agent platform can be assembled from general-purpose capabilities: object storage for workspaces and artifacts, a message queue to decouple long-running tasks, a container platform to host execution sandboxes, and logging services plus monitoring and alerting to trace every tool call and failure cause. This way, even if the model or framework is swapped, the evaluation and governance system remains reusable.

    5. The Safety Dimension: Correct Does Not Mean Safe

    The most important reminder from this class of benchmarks is that an answer can be correct and still have safety flaws. The statistics show two situations: a substantial share of all runs fail at least one safety check; and within the subset where all correctness checks pass, some still fail safety requirements. This shows that “doing it right” and “doing it safely” are two separate dimensions.

    Common safety risks include reading sensitive files unrelated to the task, writing internal information into external artifacts, performing destructive operations, and being led off target by malicious instructions in the workspace. Enterprises are advised to enforce least privilege, sandbox isolation, sensitive-data masking, operation allowlists, and human review gates, and to include safety checks in pre-release regression evaluation.

    6. Practical Recommendations for Teams

    1. Build your own task set: sample and anonymize real tickets to form a repeatable internal benchmark.
    2. Keep metrics in groups: look at completion rate, three-run stability, per-run cost, and safety violation rate together.
    3. Strengthen workspace noise: add outdated data and conflicting information so the test environment is not too clean.
    4. Treat safety as a first-class citizen: a failed safety check counts as a failed task and triggers an audit.
    5. Adopt a replaceable architecture: models, frameworks, and tools are all pluggable, while evaluation and governance are accumulated as platform capabilities.