AI Agent Benchmark ShellBench: Why the Best Task Completion Rate Is Only 62.5%

    This article breaks down a new AI agent benchmark, ShellBench, where the top model reached only a 62.5% task completion rate and open-source agent frameworks clustered around 45%. It explains why single-run success is a misleading metric, how to use all-success rate and expected cost per successful task for model selection, and why security checks must be measured separately from correctness. Readers will find practical guidance on retry budgets, independent verifiers, tiered model routing, and safety controls for moving agents from demos to production.

    The Technical Challenges Behind a 62.5% Completion Rate on the ShellBench Agent Benchmark

    A technical community, together with several research institutions, recently published a comprehensive benchmark of AI agent execution capabilities. The benchmark focuses on whether agents can close the loop on tasks in realistic command-line environments, and it covers multiple runtime frameworks and mainstream large language models. The best-performing model achieved only a 62.5% task completion rate after averaging across frameworks, while open-source runtime frameworks clustered around a 45% overall pass rate. More notably, a meaningful share of runs that were functionally correct still failed security checks. The results expose a clear gap between agents that can be demonstrated and agents that can be trusted.

    1. The 62.5% Ceiling: Why Task Completion Is Hard to Improve

    Under the benchmark’s unified evaluation criteria, the top models achieved completion rates of 62.5%, 61.9%, and 61.4% after averaging across frameworks. The gap among the top three is only 1.1 percentage points. That number carries two implications.

    The first is capability convergence. The differences among leading models have shrunk to the level of statistical noise, and the marginal return of switching models to gain task success is falling quickly. What can actually create separation on the engineering side is how context is organized, how tools are invoked, how failures are retried, and how results are verified.

    The second is that the absolute level remains low. More than a third of long-chain tasks fail to close, which means agents cannot yet take on unsupervised critical-path work in real production environments. For developers, a reasonable architectural choice is to position the agent as a copilot, keeping a controllable handoff point between human review and automated execution.

    From a methodology standpoint, task completion usually requires the final answer or the terminal environment state to match expectations exactly, and any deviation in an intermediate step fails the entire chain. This strict criterion amplifies the sensitivity of long workflows to accumulated errors, which also explains why short tasks perform far better than multi-step orchestration tasks.

    2. The Truth About Multiple Attempts: Stability Matters More Than Peak Capability

    The distribution across repeated runs is more informative than single-run completion. In the test, one leading model succeeded at least once in three attempts 75.1% of the time, but succeeded in all three attempts only 48.8% of the time. The gap of more than 26 percentage points shows that “occasionally getting it right” and “reliably getting it right” are two entirely different engineering states.

    This difference can be understood with a simple probability model. Assume a single-run success rate of p. The probability of at least one success in three independent runs is 1-(1-p)^3, and the probability of three successes is p^3. Plugging in the observed values suggests a single-run success rate of roughly 60%, consistent with the cross-framework average. A p^3 value close to 0.49, however, implies a mix of positive and negative correlations across runs rather than fully independent and identically distributed trials.

    The implication for engineering practice is direct: any automation pipeline that depends on agents must design fallback logic for the worst case. An illustrative retry and convergence control looks like this:

    1. def run_with_budget(task, max_attempts=3, verifier=None):
    2. history = []
    3. for i in range(max_attempts):
    4. result = agent.execute(task, history=history)
    5. if verifier and verifier(result):
    6. return result, i + 1
    7. history.append({"attempt": i, "error": result.error})
    8. return None, max_attempts # hand off to a human or a fallback flow

    Two points are critical. First, set an explicit attempt limit to avoid infinite loops that burn compute and cost. Second, introduce an independent verifier instead of letting the executor grade its own work, because self-assessment often marks a wrong answer as correct.

    3. Cost vs. Pass Rate: You Need a Cost-per-Success Metric

    The cost data is equally instructive. The top-ranked model costs an estimated $1.10 per run, the second about $0.83, and the third about $0.19, while a lightweight model completed 39.7% of tasks at roughly five cents per run.

    Looking only at unit price, the most expensive option is about twenty times the cheapest. But looking at the expected cost per successful task, which is the per-run cost divided by the success rate, the gap narrows considerably: the high-cost option is about $1.76 per successful task and the low-cost option about $0.126. A difference of an order of magnitude remains, but the conclusion shifts from “twenty times more expensive” to “about fourteen times more expensive,” and the low-cost option has a clear advantage in batch, low-risk scenarios.

    Teams should therefore introduce a tiered scheduling strategy when selecting models:

    • Route high-value tasks with strong consistency requirements to high-capability models with multiple verification layers.
    • Route high-volume tasks that can tolerate failure to low-cost models, combined with retries and sampled result audits.
    • Use a task classifier at the entry point to handle routing instead of applying a one-size-fits-all configuration.

    An implementable routing example:

    1. def route(task):
    2. if task.risk_level == "high" or task.steps > 8:
    3. return "strong_model", {"max_attempts": 3, "verify": True}
    4. if task.batch and task.tolerance > 0.2:
    5. return "cheap_model", {"max_attempts": 1, "sample_audit": 0.05}
    6. return "mid_model", {"max_attempts": 2, "verify": True}

    Combined with logging services and monitoring alerts, collecting the cost, step count, retry count, and final state of every run in one place is what makes a sustainable cost baseline possible.

    4. Open-Source Runtime Frameworks Are Catching Up With Proprietary Options

    The framework-level results are revealing. The average pass rates of the open-source options were 45.23%, 45.22%, 45.11%, and 45.04%, within 0.2 percentage points of one another, while an integrated proprietary option scored 42.87%. The open-source frameworks are not only slightly higher overall but also highly consistent with each other, indicating that the framework itself is no longer the main bottleneck. Model capability and task design are what determine the ceiling.

    For architecture selection, this means frameworks are highly replaceable. Teams should prefer options with clear interfaces that are easy to swap and self-host, and should accumulate their non-replaceable assets in task descriptions, verification rules, and evaluation sets. Engineering teams can use container platforms to isolate runtime environments, object storage to hold intermediate artifacts, and message queues to distribute tasks and smooth out peaks, building an execution foundation decoupled from any specific framework.

    At the same time, the overall level of around 45% suggests there is still considerable room for optimization at the framework layer, such as more complete context compression, finer-grained permission control, clearer tool description conventions, and state rollback after failures.

    5. The Security Dimension: Correct Does Not Mean Safe

    The security data is the most alarming. Across all 53,100 runs, 15.7% failed at least one security check. Among the 26,151 runs that met all correctness criteria, 2,589 still failed some security requirement, close to ten percent.

    This means functional correctness and security are orthogonal dimensions that must be measured separately. An agent that completes a task correctly may well have also performed unauthorized file access, concatenated dangerous commands, leaked sensitive information, or issued unexpected external requests. If an evaluation only counts whether the task was completed, these risks are systematically hidden.

    Practical safeguards include:

    1. Least privilege: assign the agent a dedicated low-privilege account and disable default directory traversal and global package-manager writes.
    2. Command allowlists and dangerous-pattern blocking: statically review commands before execution and require explicit confirmation for patterns such as deletion, formatting, and outbound network access.
    3. Sandboxing and network isolation: run inside a restricted container, route egress traffic through a controlled proxy, and keep logs.
    4. Dual-channel verification: correctness checks and security checks are owned by different components, and failing either one means failure.
    5. Full-chain auditing: write tool-call arguments to a logging service with environment variables redacted, so incidents can be traced after the fact.

    A skeletal safety check:

    1. DANGEROUS = ("rm -rf", "mkfs", "dd if=", ":(){", "curl | sh")
    2. def safety_check(plan):
    3. for cmd in plan.commands:
    4. if any(p in cmd for p in DANGEROUS):
    5. return False, f"blocked: {cmd}"
    6. if not in_whitelist(cmd):
    7. return False, f"not allowed: {cmd}"
    8. return True, "ok"

    6. A Practical Checklist for Developers

    Taken together, the data supports a pragmatic implementation path:

    • Use the all-success rate across repeated runs as the core metric, not single-run peak performance.
    • Establish independent verifiers and attempt budgets, and eliminate self-grading and unlimited retries.
    • Adopt a cost-per-success metric and tiered model scheduling.
    • Keep runtime frameworks replaceable, and accumulate assets in evaluation sets and rules.
    • Move security checks to the planning stage and keep them separate from correctness checks.
    • Improve observability, with monitoring and alerts covering cost, steps, failure causes, and security events.

    A 62.5% completion rate and a nearly ten percent “correct but unsafe” share together sketch the real state of agent technology today: capability is usable, but reliability and security still need engineering work. Whoever makes verification, rollback, auditing, and cost governance solid will be the first to move agents from demo environments into production.