If you only read model release blog posts, you'd think autonomous agents solved knowledge work six months ago. If you actually ship agents to production, you already know a very different story.

Late last month, a coalition from the OpenClaw Foundation, Hugging Face, Red Hat, and UC Berkeley released ShellBench, built from over 10 million anonymized real-world agent interactions. Unlike clean coding puzzles or multiple-choice exams, ShellBench drops an agent into a messy simulated workspace—a median of nearly 200 files spanning PDFs, chat logs, calendar exports, receipts, and legacy docs—with a short user prompt and a strict rubric.

The headline numbers should be mandatory reading for anyone pitching an agentic roadmap right now:

At the same time, engineering teams have been quietly retiring legacy coding leaderboards like SWE-bench Verified after audits exposed flawed test assertions and benchmark saturation, while Gartner's warning that over 40% of agentic AI projects risk cancellation over runaway costs and missing ROI is starting to look less like analyst pessimism and more like a post-mortem.

The conclusion for practicing engineers is straightforward: stop treating the LLM as an autonomous employee, and start treating it as a stochastic CPU inside a deterministic harness.

When an agent fails in a 200-file workspace, the model usually didn't "forget how to reason." One of four systems problems broke underneath it.

A >15% safety and privacy violation rate in ShellBench should permanently kill the idea that you can secure an agent by writing NEVER leak credentials or send external emails without confirmation in all caps.

Prompt instructions are advisory. They live in the same token stream as untrusted PDFs, email threads, and calendar invites. The moment an agent ingests messy workspace data, you are running untrusted input through your control plane.

The engineering fix: Move policy enforcement out of the prompt and into the tool boundary.

Most agent harnesses append every tool output straight into the conversation transcript until the context window turns into a landfill. By step 14 of reconciling receipts against a spreadsheet, half the context is raw JSON dumps and truncated PDF text from step 3.

Even models with massive context windows degrade sharply in precision when signal-to-noise ratio collapses. Better harnesses aggressively manage working memory:

One of the most expensive mistakes in early agent loops is letting the model decide when it's done. LLMs are aggressively optimistic: they will see a partial match, write a confident summary, and exit with status 0.

In a real harness, generation and verification must be separate components:

from dataclasses import dataclass
from typing import Callable, Any

@dataclass
class ToolPolicy:
    allowed_write_paths: tuple[str, ...]
    require_approval_for: frozenset[str]

def execute_verified_step(
    agent_step: Callable[[dict], dict],
    state: dict,
    validators: list[Callable[[dict], tuple[bool, str]]],
    max_attempts: int = 3,
) -> dict:
    """Separate stochastic generation from deterministic invariant checks."""
    feedback: list[str] = []
    for attempt in range(1, max_attempts + 1):
        proposal = agent_step({**state, "validator_feedback": feedback})
        failures = [
            msg for check in validators
            for ok, msg in [check(proposal)]
            if not ok
        ]
        if not failures:
            return proposal
        feedback = [f"Attempt {attempt} failed checks: {'; '.join(failures)}"]
    raise RuntimeError(f"Agent failed invariants after {max_attempts} attempts: {feedback}")

This pattern isn't glamorous, and it won't make a viral demo. It does turn silent 35% failure rates into explicit, bounded, debuggable failures—and lets you feed exact deterministic error messages back into the loop.

pass@1 when production requires pass^k ShellBench's reproducibility finding is the one most teams still overlook. If an agent solves a workflow once out of three runs (pass@3 looks great!), your engineering demo goes well and your on-call rotation becomes a nightmare.

In production, you care about pass^k: the probability that an agent succeeds every single time across k independent runs on the same task.

k = 5 runs, 0.75^5 = 23.7%. 0.85^4 = 52.2%. If you aren't running your eval tasks at least 3–5 times each and tracking worst-case variance alongside mean accuracy, you are flying blind.

If you're maintaining or building an AI agent system right now, here is the highest-leverage shift you can make—without waiting for the next model release:

pass^3, cost per task, and policy violations—beats every public chart. Models will keep getting smarter every quarter. That's the part you don't own. The harness—your state model, tool contracts, sandboxing, verifiers, and evals—is the part you do own, and right now it's the difference between a clever demo and software you can actually trust.

原文来源:dev.to