How Agent Frameworks Shape the Real Performance of LLM Models

    This article examines why the same model weights can produce very different benchmark scores and real-world coding results depending on the agent framework around them. It breaks down the relationship Agent = Model + Harness, explains what a harness includes, and clarifies why a minimal "exam mode" built for benchmarking is not automatically better for production work. You will also find a reproducible evaluation method, practical guidance on choosing framework configurations by scenario, and a checklist of common attribution mistakes.

    1. The Starting Observation: Same Weights, Two Very Different Outcomes

    A curious pattern has been circulating in technical communities: the same set of model weights can show a sharp jump in benchmark pass rates once it is plugged into different agent frameworks. One independent evaluator ran a benchmark set with a crude, self-built toolset and passed only 44 out of 89. After switching to a complete, community-maintained framework, the score rose to 64 out of 89, an extra 20 problems solved. In real coding tasks, the same model struggled with even basic graphics drawing when connected directly to a general-purpose command-line tool, yet looked close to a first-tier model after switching to its companion framework.

    These comparisons attract attention because they touch on a long-underestimated fact: the capability boundary of an agent lies not only in the model, but also in the framework.

    2. The Core Formula: Agent = Model + Harness

    The industry is increasingly accepting a simple equation:

    1. Actual agent performance = model capability × harness fit × environment completeness

    Here, the harness (roughly, the “runtime shell” or “execution framework”) is the engineering layer wrapped around the model that turns its text output into real, executable actions. It typically includes:

    • Toolset: file read/write, terminal execution, retrieval, code search, and more;
    • Context management: history trimming, long-context compression, and reinjection of key information;
    • Prompt and protocol layer: tool-call formats, structured output constraints, and error retry strategies;
    • Execution environment: sandbox, dependencies, permissions, timeouts, and resource limits;
    • Feedback loop: feeding execution results, error stacks, and logs back to the model.

    The model handles “thinking,” while the framework handles “doing” and “remembering.” When the framework lacks critical tools or the feedback is incomplete, even a strong model can only act blindly. This is the origin of the so-called “blank-slate role.”

    3. Breaking Down “Minimal Mode”: It Was Built as an Exam Mode

    The “minimal mode” that has drawn community discussion has a counterpart in many coding agent frameworks. The default “standard mode” ships with more than twenty tools covering read/write, commands, retrieval, task planning, skill extensions, and sub-agent collaboration. Minimal mode keeps only two basic capabilities: a persistent terminal and a file editor, with everything else turned off.

    The key is its original design intent: minimal mode is a “clean exam room” built for running model benchmarks. Its purpose is to let different models be compared fairly under the same minimal environment and the same tool protocol, avoiding contamination from the framework’s built-in prompts, skill libraries, and retrieval augmentation.

    This explains a logical mismatch: taking “exam mode” straight into production work is not necessarily stronger. Exam mode strips away external assistance and highlights the model’s own reasoning and tool-use instincts, while production tasks depend heavily on external assistance. The two have different goals, so the conclusions cannot be transferred directly.

    4. Why Minimal Mode Can “Look Stronger”

    The impression that “performance surges after switching to minimal mode” usually comes from three explainable causes rather than some mysterious boost:

    1. Lower context noise. More tools mean longer system prompts and tool descriptions, and irrelevant information more easily dilutes key instructions and divides the model’s attention. Cutting tools shortens the prompt and reduces noise.
    2. A narrower decision space. When available actions shrink from twenty-plus to two, the model hesitates and misselects far less on “what to do next,” making the path more stable.
    3. An evaluation-alignment effect. Benchmark sets are designed under minimal assumptions, so running exams in exam mode is like returning to a native environment, and scores naturally recover.

    In other words, the gain more likely comes from “fewer distractions” than from “unlocking hidden abilities.” This is a reminder: any claim that “flipping one switch doubles performance” should first raise suspicion about whether the evaluation criteria are consistent.

    5. A Reproducible Evaluation Method: Don’t Let Conclusions Stop at Impressions

    To judge whether a configuration is truly better, it helps to build a minimal, trustworthy evaluation process:

    1. 1. Fix the model weights and decoding parameters (temperature, max output length, etc.)
    2. 2. Fix the problem set and grading script, covering single-step, multi-step, cross-file, and error-recovery cases
    3. 3. Change only the framework configuration, freezing all other variables
    4. 4. Record per problem: pass or fail, number of steps, tool-call count, elapsed time, and failure-reason category
    5. 5. Repeat multiple times and take mean and variance to avoid single-run flukes
    6. 6. Run both a "benchmark" set and a "production" set, and read the conclusions separately

    Beyond pass rate, also watch average interaction steps and invalid-call ratio: a configuration with a higher pass rate but a surge in steps may actually cost more.

    6. Engineering Practice: Choose Framework Configuration by Scenario

    • Production development: prefer the complete framework. Retrieval, code search, task planning, and sub-agents are essentials for connecting a model to a real codebase; removing them is like making the model edit code with its eyes closed.
    • Capability baseline and selection evaluation: use the minimal configuration to ensure horizontal comparability, so conclusions carry transfer value.
    • Cost-sensitive scenarios: build “on-demand loading” on top of the complete framework, for example enabling skills dynamically by task type instead of cutting tools globally.
    • Stability-first scenarios: strengthen the feedback loop by feeding back compile errors, test failures, and log summaries in a structured way; this improves the first-pass rate more than piling on tools.

    If cloud execution is involved, you can build isolated environments with general-purpose capabilities, for example using a container platform for sandboxes, object storage for build artifacts, and logging and monitoring services to trace each execution path, making evaluation data auditable and reproducible.

    7. A Checklist of Common Mistakes

    • Treating “benchmark scores” as “production results”;
    • Drawing conclusions from a single run while ignoring variance;
    • Comparing only pass rates, not steps and elapsed time;
    • Changing the framework and the model at the same time, causing attribution to fail;
    • Misreading gains from prompt denoising as a model’s “hidden abilities being activated.”

    8. Conclusion

    Minimal mode is not a nuclear bomb, but a calibration ruler. Its value lies in providing a clean, comparable evaluation baseline that helps us judge the model’s own capability, while real business results still depend on the completeness of the framework and environment, the quality of the feedback loop, and the rigor of the evaluation method. Understanding the synergy of “model + framework” matters more than chasing any single switch.