The Coding Agent Era: Do Models or Harnesses Determine the Upper Limit? The Massive Impact of Agent Frameworks

    Recent benchmark tests in coding agent scenarios reveal a surprising trend: the choice of an agent harness (the framework wrapping the model) can have a massive impact on performance, sometimes even surpassing the model itself. This article delves into why the "model leaderboard" era is fading, why evaluating the "Model × Harness" combination is the new standard, and provides actionable advice for engineering teams to build combination-level evaluation pipelines and treat agent frameworks as evolving engineering assets.

    1. Starting with a Counterintuitive Benchmark Result

    A recent set of benchmark results for coding agent scenarios has sparked significant discussion in engineering circles. The testing methodology was straightforward: two open-source code models (referred to as Model A and Model B) were evaluated on the same software engineering benchmark (tasks involving fixing real-world repository issues). Each model was integrated with ten different Agent Harnesses—proxy frameworks wrapping the models, responsible for prompt organization, context management, tool calling, and loop decision-making. The Pass@1 scores of these combinations were then compared.

    The results were quite astonishing:

    • Model A’s Pass@1 ranged from a minimum of about 23% to a maximum of about 52%, more than doubling;
    • Model B improved from about 15% to 36%, also a doubling-level variation;
    • More critically, the ranking correlation coefficient of the ten harnesses across the two models was approximately -0.05, which statistically means “almost no correlation.”

    This implies that the Harness performing best on Model A might fall to the bottom when applied to Model B.

    2. What This Data Really Tells Us

    1. The Era of “Model Leaderboards” is Fading

    In scenarios like single-turn Q&A and code completion, model capability indeed dominates the outcome, and benchmark scores generally represent true proficiency. However, the task paradigm of a Coding Agent is entirely different: it is a multi-turn, multi-tool, closed-loop system with feedback. The model is merely a component within this system, while the Harness determines:

    • How context is organized: Repository structure, failure logs, related files—which enter the context, in what order, and how much token budget they consume;
    • How tool interfaces are designed: Parameter granularity, truncation and summarization strategies for returned results;
    • How retries are handled after failure: Blindly retrying, changing the approach, or rolling back the state;
    • How termination conditions are judged: Terminating too early loses points, while no termination burns through the budget.

    The impact of these decisions on the final pass rate is now comparable to, or even greater than, the strength of the model itself.

    2. The Correct Evaluation Subject is the “Model × Harness” Combination

    The most valuable conclusion from this test is not simply that “Harnesses are more important than models,” but rather a deeper insight: In the Agent stage, the fundamental unit of evaluation should be the “combination of model and framework,” not the isolated model.

    Analogous to traditional software: no matter how high a CPU’s standalone benchmark score is, it does not represent the actual throughput of an entire server. The model is the “CPU,” and the Harness is the “motherboard, memory scheduling, and operating system.” The final performance is determined by the overall architecture.

    3. Adaptation Issues Revealed by Uncorrelated Rankings

    The near-zero correlation coefficient is particularly alarming for engineering teams. It indicates a strong “adaptation effect” in different models’ preferences for Harnesses:

    • Models with different context window sizes have varying dependencies on context compression strategies;
    • Models with different instruction-following styles have varying sensitivities to prompt templates;
    • Models with different levels of tool-calling format training have different fault tolerance requirements for interface design.

    Therefore, directly adopting “someone else’s best Harness” might result in negative optimization on your model. Selection must use your target model as a variable and conduct combination-level comparative experiments.

    3. Practical Advice for Engineering Teams

    1. Build a Combination-Level Evaluation Pipeline

    Instead of only running model benchmarks, build an evaluation matrix like the following:

    1. for model in target_model_list:
    2. for harness in candidate_framework_list:
    3. run benchmark(model, harness, fixed_task_set)
    4. record: pass@1 / cost_token_count / average_turns / timeout_rate

    Use the same task set, the same compute budget, and the same scoring criteria to horizontally compare all combinations, rather than relying on hearsay that a certain framework is “very strong.”

    2. Focus on “Cost-Effectiveness” Rather Than Single-Point Pass Rates

    A Harness that boosts Pass@1 from 23% to 52% may not be a good deal if its token consumption is five times higher. It is recommended to simultaneously track:

    • The marginal cost of passing each task;
    • The proportion of “stuck in loops” versus “premature abandonment” in failed tasks;
    • The variance of results across multiple runs (stability itself is a quality factor).

    3. Treat the Harness as an Evolvable Engineering Asset

    Since the framework has such a massive impact on results, it should not be a “plug-and-play” black box but rather integrated into the team’s own iteration system: version-controlling prompt templates and tool definitions, A/B testing changes in each component, and accumulating root cause analyses for failed tasks. The ROI of this engineering effort may far exceed that of upgrading to a model with larger parameters.

    4. Applies Equally to Cloud Services

    If your team uses cloud provider services for intelligent coding (such as code generation or repository-level assisted development), you should also realize: the same underlying model, with different service-oriented packaging—context pipelines, tool integration, retrieval-augmented generation methods—will yield drastically different practical results. During evaluation, be sure to conduct end-to-end validation using real tasks from your own repository, rather than solely looking at the official model leaderboard scores.

    4. Conclusion

    The biggest takeaway this test offers the industry is methodological: “Model evaluation” in the Agent era is evolving into “system evaluation.” The interaction effects between the model and the Harness render any isolated number meaningless. For engineering teams, rather than asking “which model is the strongest,” it is better to establish a combination evaluation system tailored to your own business scenarios—this is both a more scientific approach to selection and a part of building core competitiveness.