Why AI Agents Score High on Benchmarks but Underperform in Production

    This article explains why general-purpose LLM agents often excel on public benchmarks yet struggle in real, multi-hour engineering work. It breaks down four root causes—misaligned evaluation goals, goal drift in long-horizon tasks, over-optimized uncertainty avoidance, and the lack of external verification loops—and presents a practical engineering playbook: goal contracts, externalized state, layered verification with rollback, output budgets, and review checklists. It also covers building a private evaluation set with pass rate, human takeover count, and expression efficiency metrics to turn agent capability into measurable engineering output.

    1. The Symptom: Great Scores, Weak Delivery

    Discussion around the latest generation of general-purpose LLM agents has been intense. One evaluation comes up repeatedly: on benchmark tasks such as 3D scene understanding, gamified interaction, GUI operation, and code generation, the agent clearly sits in the first tier. Yet when you put it into a real project and let it run for several hours straight, the experience often falls short of expectations. A long-term subscriber’s account is representative: the capability list looks impressive, but actual collaboration is frustrating.

    Abstracted from this feedback, the problem is not that the agent “cannot work”—it is that it “does not work on the right thing.” Three symptoms stand out:

    1. Weak goal progress: mid-way through a long task, the agent stops and repeatedly confirms trivial details (for example, whether a media file should be renamed) instead of advancing the main objective.
    2. Redundant expression and defensive hedging: a question that could be answered in one sentence is expanded into multiple paragraphs, and you still do not know the conclusion after reading.
    3. Insufficient judgment on design and trade-offs: it can produce runnable results, but shows little judgment on structure, naming, and interaction details.

    Together these produce one consequence: the trust cost of human-agent collaboration rises. Developers shift from “reviewing output” to “reverse-managing the model’s mood and pace,” and engineering efficiency actually drops.

    2. Root Causes: Why “High Scores, Low Capability” Happens

    2.1 Evaluation Goals Do Not Match Engineering Goals

    Public benchmarks are mostly short tasks with a clear endpoint and automatic scoring; engineering tasks have open-ended, long-cycle goals that require constant trade-offs. A model reinforced in an environment with explicit scoring criteria naturally gets better at maximizing the score than at shipping the project.

    2.2 Goal Drift in Long-Horizon Tasks

    Long tasks require continuously maintaining an implicit “task stack”: the current main goal, completed items, open items, and constraints. A larger context window does not equal better state management. When the context is filled with intermediate artifacts, the weight of the main goal is diluted, and the model shifts attention to the easiest-to-verify, safest small actions—hence “ran for two hours, then asked whether to rename a file.”

    2.3 Over-Optimized Uncertainty Avoidance

    To reduce the penalty for “saying the wrong thing,” the model tends to add qualifiers, extra premises, and stacked possibilities. This is an advantage in risk-warning scenarios and a disaster in troubleshooting: the user wants a diagnosis and receives a collection of disclaimers. The contrast mentioned in the original is typical—for the same performance issue, one side gives four paragraphs of analysis while the other identifies in one sentence that the storage medium is the bottleneck. The gap in information density translates directly into a gap in usability.

    2.4 No External Verification Loop

    The model has no reliable “sense of progress” or “sense of completion” of its own. Without external tests, logs, monitoring, and acceptance criteria as anchors, it can only use “asking questions” to reduce its own uncertainty, transferring decision cost to the user.

    3. Engineering Governance: Turning “Able to Work” into “Working Well”

    3.1 Contract the Goal: Write Acceptance First, Then Start

    Do not let the model interpret the goal on its own; write the goal as a verifiable contract. Four sections are recommended: goal statement, completion criteria, explicit non-goals, and acceptable trade-offs.

    1. goal: Reduce average batch job runtime by 30%
    2. acceptance:
    3. - Load test script meets target three consecutive times on a fixed dataset
    4. - Error rate no higher than baseline
    5. - No new external dependencies introduced
    6. out_of_scope:
    7. - Do not change external API fields
    8. - Do not adjust billing or quota logic
    9. escalation:
    10. - Interrupt to ask only when a blocker affects acceptance criteria

    The key is the escalation constraint: narrow “permission to ask” to blockers that affect acceptance, so the model does not substitute questions for thinking.

    3.2 Externalize State: Replace “Memory” with Files and Boards

    Move task state out of the context: task list files, progress logs, decision records. At each step, read back only the necessary fragment and write back structured results. This compresses context noise and makes the work auditable by humans.

    1. progress.md
    2. - [x] Reproduce slow query
    3. - [x] Collect metrics: CPU idle, IO wait at 78%
    4. - [ ] Verify storage medium bottleneck
    5. - [ ] Submit optimization patch
    6. decisions.md
    7. - 2026-xx-xx: Do not add a cache layer yet; rule out the hardware bottleneck first

    3.3 Layered Verification: Small Commits Plus Automatic Rollback

    Long tasks must be cut into verifiable small steps, each with automated criteria (unit tests, static checks, load tests, log and monitoring alerts). On failure, roll back immediately and do not let errors accumulate into a fait accompli. In engineering terms:

    1. def run_step(step, ctx):
    2. if not step.preconditions(ctx):
    3. return rollback(ctx, reason="precondition_failed")
    4. result = step.execute(ctx)
    5. report = verify(result, criteria=step.acceptance)
    6. if not report.passed:
    7. return rollback(ctx, reason=report.summary)
    8. ctx.commit(step.id, artifacts=result.artifacts)
    9. return advance(ctx)

    Combined with logging and monitoring alerts, this turns “the model says it is done” into “metrics prove it is done.”

    3.4 Expression Budget: Cap the Output

    For verbosity and defensive hedging, hard constraints work better than persuasion. Set limits in both prompts and workflow:

    • Conclusion first: the first sentence must state the judgment or answer.
    • Length budget: troubleshooting answers must not exceed a specified number of sentences; overflow goes into an appendix.
    • No empty qualifiers: do not allow “maybe,” “perhaps,” or “it depends” to stack without decision conditions.
    • Evidence requirement: attach one reproducible basis (log line, metric value, code location) after each conclusion.

    Example:

    1. Output rules:
    2. 1. State the conclusion in the first sentence;
    3. 2. Body no longer than 5 sentences;
    4. 3. Attach 1 piece of evidence per conclusion;
    5. 4. List uncertain items separately as "to be verified"; do not mix them into conclusions.

    3.5 Aesthetics and Trade-offs: Write the Standard as a Checklist

    Aesthetics are not mysticism; they can be broken into checkable items: naming consistency, directory layering, error-handling strategy, API idempotency, and whether interaction feedback blocks the main flow. Turn these into a review checklist that runs automatically on model output, and reject anything that fails. The gap in aesthetic judgment is filled by process.

    4. Selection and Acceptance: Build Your Own Evaluation Set

    Do not make decisions based on public leaderboards. A more reliable approach is to build a private evaluation set of 20–50 items drawn from your team’s real tasks, covering four scenario types: long-horizon multi-step tasks, cross-file refactoring, production troubleshooting, and documentation and expression. Each item carries automated criteria and records three metrics:

    • First-pass rate: the proportion that meets criteria without human intervention;
    • Human takeover count: average number of interruptions per task;
    • Expression efficiency: position of the conclusion sentence and total length.

    These three are closer to daily experience than any composite score. If you use general cloud capabilities (for example, object storage to hold evaluation samples, a message queue to schedule tasks, a container platform to run sandboxes, and logging and monitoring services to collect metrics), connect these metrics to a unified dashboard to form a sustainable regression baseline.

    5. Conclusion

    “High scores, low capability” is not a single defect but the combined result of the evaluation environment, long-horizon state management, uncertainty optimization, and the absence of external verification. For developers, the right response is not to wait for the next version but to turn uncontrollable intelligence into controllable process: contract the goal, externalize state, verify in small steps, cap expression, and checklist aesthetics. When acceptance criteria are given by metrics rather than narrative, improvements in model capability can truly convert into engineering output.