The Real Ceiling on AI Coding Agents: It's the Harness, Not the Model
When people evaluate AI coding agents, the first question is almost always "which model does it use?" A hands-on test against a real codebase suggests a more uncomfortable answer: what separates good agents from useless ones is usually the engineering system wrapped around the model — the harness. This article walks through the test, the results, and the seven engineering factors that actually decide the ceiling. You'll learn how to benchmark agents with evolution-style tasks instead of generation tasks, which metrics to read together, and why caching, retries, and the provider layer matter as much as raw model capability.
Introduction: The Truth Hidden Behind Model Rankings
When evaluating AI coding agents, most people start with “which model does it use,” as if model strength directly determines the ceiling on engineering productivity. But a hands-on test against a real codebase produced a more cautionary conclusion: what actually separates the strong from the weak is usually not the parameter-level capability of the underlying model, but the entire engineering system wrapped around it — what is commonly called the harness.
Put the same model inside two different execution frameworks and it can behave like two completely different systems. One barely did anything. The other pushed a substantive, multi-file refactor forward in a little over ten minutes. That means the ceiling on agentic coding capability is set jointly by the model, the harness, task orchestration, context management, the tool loop, caching, retries, and the overall runtime design. Staring at leaderboards alone makes it very easy to reach conclusions that are badly out of line with reality.
The Test Task: Why This Benchmark Was Closer to Real Engineering
The test was deliberately shaped to resemble what engineering teams do day to day. In a roughly 10,000-line desktop application project (a component-based frontend framework plus a statically typed language), the agent was asked to look for opportunities to simplify and remove duplication — with a focus on cutting down the complex type definitions created by null / undefined values, and the null checks scattered across the codebase.
The value of this kind of task lies in avoiding two extremes:
- It is not “generate a to-do app from scratch,” which demands very little understanding of existing code.
- It is not “fix a single bug,” where the scope is well defined and the context converges quickly.
Instead, it is a typical medium-complexity evolution task — exactly the kind of work that reveals whether a coding agent can actually code or can only chat. It puts four kinds of pressure on the agent:
- Understanding existing structure: can it read module boundaries, dependency relationships, and data flow?
- Finding repeated patterns across files: can it spot similar logic in multiple files that could be merged?
- Making continuous changes without breaking behavior: every edit has to stay semantically equivalent.
- Maintaining type consistency and containing local regression risk: types still have to be coherent afterward, with no new runtime hazards introduced.
Let any one of those slip, and the final output looks busy while being effectively useless.
Results: Same Model, Different Fates
To strip out product-specific characteristics, the structural differences exposed by the test are presented anonymously as Approaches A / B / C. The numbers illustrate a trend; they are not an assessment of any specific system.
- Approach A (model X + framework one): about 15 minutes, higher cost, over a hundred calls, roughly 6.9M prompt tokens consumed, about 88% cache hit rate. It changed 2 files, with net additions and deletions in the single digits. The author’s subjective read: it barely did anything.
- Approach B (the same model X + framework two): also about 15 minutes, slightly lower cost, with comparable call and token counts and about a 95% cache hit rate — but it changed 8 files with 40-odd net lines. This one clearly looked like it was actually executing the task.
- Approach C (model Y + framework two): about 7 minutes, the lowest cost, fewer calls, lower token consumption, about 95% cache hit rate, 16 files changed and nearly 100 net lines — considered the best overall result and the cheapest.
The most cautionary point: A and B used the same model. Only the outer framework changed, and the quality of the output differed by an order of magnitude. Model capability is the raw material; the framework decides whether that material gets organized into effective action.
Two further observations: some models perform respectably under one tech stack but tend to “overshoot” the scope of changes, writing in plenty of unnecessary lines; and some open-source models behave noticeably differently in stability depending on the access channel used — switching to another integration method actually made them more stable. This reinforces the point: the runtime and access layer beyond the model also shape the final result profoundly.
A Closer Look: The Engineering Factors That Set the Ceiling on Agentic Coding
Attribute the differences in results to their real causes, and what did the work was not the model itself but a whole set of engineering mechanisms.
1. The Harness: the Model’s Operating System
The harness translates the user’s natural-language intent into a series of actions the model can execute, verify, and iterate on. A well-designed harness gives the model clear task decomposition, accurate tool descriptions, and stable feedback signals. A crude harness leaves the same model unable to perform, because the context is muddled or the tools are limited. It is like putting the same CPU under different operating systems and schedulers: actual throughput can differ enormously.
2. Orchestration: Cutting a Large Task into Executable Steps
Real engineering work proceeds in stages: scout, locate, edit, then verify. The orchestration layer decides whether the agent attempts one giant change or moves in small steps with incremental verification. Good orchestration lets the agent build a global picture first, then work file by file and self-check at key points. Poor orchestration makes it start editing blindly, producing heavy rework. Approach A’s “barely did anything” quite likely came from an orchestration layer that never carried the task through to a landed change.
3. Context Packing: Deciding What the Model Actually Sees
A model can only reason from what makes it into the context window. Given a limited token budget, how the most relevant code snippets, type definitions, and call relationships are packed in directly determines the quality of its judgment. Done well, the model can see the key type definitions and call sites and accurately decide which null checks can be merged. Done poorly, either a flood of irrelevant code dilutes the signal, or essential context is missing and the model misjudges.
4. The Tool Loop: Letting the Agent Look While It Works
The tool loop is the closed loop between the agent and the codebase: read a file, run a search, execute a type check, issue an edit, then decide the next step from the feedback. A robust tool loop looks like this:
read context → propose a change → apply the edit↑ ↓└── type check / build verify ←────┘(on failure: fix and retry; on success: converge)
It triggers verification after the edit, feeds errors back to the model, supports multiple iterations until the checks pass, and avoids “confidently” plowing ahead when there is no feedback at all.
5. Caching: the Invisible Lever on Efficiency and Cost
In codebase scenarios, a large share of the prompt prefix is repeated and stable (system prompts, project notes, existing context). An efficient caching mechanism reuses the computed result for those prefixes, cutting latency and significantly lowering token cost. In the test, 95% versus 88% cache hit rate looks like a difference of a few percentage points, but multiplied by millions of tokens and hundreds of calls, the gap in cost and time is amplified sharply.
6. Retries and Fault Tolerance: Stability Sets the Floor
Real engineering is full of uncertainty: failed tool calls, compilation errors, context overflow. Retry strategy decides whether an agent degrades gracefully or deadlocks when something goes wrong. Sensible retries — with backoff and context correction — let the agent recover from errors. Poor ones trap it in unproductive loops that burn cost for nothing.
7. Runtime and Provider Layer: the Invisible Source of Stability
The same model can be dramatically more or less stable depending on the access channel or runtime. Aggregated access, hosted cloud endpoints, and local execution each differ in latency, rate limiting, and failure rate. This explains why some open-source models “became more stable after switching the integration method”: the model’s intelligence is fixed, but the quality of the pipe delivering that intelligence is not.
Practical Takeaways for Evaluation and Selection
If you are evaluating AI coding agents for a real engineering environment, a few things are worth holding onto:
- Benchmark with evolution tasks, not generation tasks. Have the agent refactor, de-duplicate, or migrate within an existing codebase — work that requires understanding context and making continuous changes — because that is where real gaps show up.
- Look at the effectiveness of changes, not the volume. More files changed is not automatically better, and code that has been inflated is usually a liability. What matters is net benefit and regression risk.
- Read cache hit rate, call count, cost, and elapsed time together. These metrics jointly describe the engineering maturity of the harness, rather than a single model benchmark score.
- Watch how it recovers from failure. Retry and degradation behavior when the network drops, the build fails, or the context overflows often decides whether an agent is usable in production.
- Don’t overlook the access and runtime layer. Stability, latency, and rate limiting sit outside the model but directly shape the experience.
Conclusion
Competition in agentic coding has never been purely an arms race over model parameters. The real dividing line is who can hone the harness, orchestration, context packing, tool loop, caching, retries, and runtime into a single coherent system. The same model can behave like two different creatures under different engineering systems — which is a reminder to move your attention when evaluating AI coding agents: away from “the model’s name” and toward the entire system design around it. Get a grip on these key variables, and you stand a real chance of picking an agent that actually finishes the job, and finishes it well, in real engineering conditions.
