Agent Performance and Policy Bias Shift Under a Minimal Tool Set

    This article examines why the same model weights can score higher in coding and automation benchmarks with only a few tools exposed, while struggling in a standard setup with twenty-plus tools, subagents, and planning plugins. It separates model capability from the agent runtime's action space, explains the convergence gains of a minimal tool set, outlines the capability ceiling and transfer gap it creates, and argues the effect is a policy bias shift rather than narrow overfitting. It closes with practical engineering suggestions and a two-track evaluation approach.

    1. Background: Why One Model Shows “Two Personalities”

    In intelligent coding and automated operations scenarios, a recurring observation is that the same model weights score noticeably higher on benchmarks in a “minimal mode” that exposes only a handful of tools (for example, terminal execution and file editing), while in a “standard mode” with twenty-plus tools, subagent delegation, and planning plugins, the model is more likely to hesitate, diverge across paths, or fail the task outright.

    This looks contradictory, but it is a common structural outcome of agent systems engineering. To understand it, separate “model capability” from “the agent runtime’s action space”: the former is a prior distribution encoded in the weights, while the latter consists of externally injected tool contracts, prompt templates, and orchestration policies. Score differences usually do not mean the weights changed; they mean the decision problem was reformulated.

    2. Advantages of Minimal Mode: A Simpler Decision Problem

    2.1 A Smaller Action Space Improves Convergence

    At every step, an agent must choose among candidate actions. Cutting candidates from twenty-plus down to two sharply reduces choice entropy, so the probability of sampling the “correct next step” naturally rises. More importantly, fewer tools mean shorter tool descriptions in context and less attention competition between instructions and tool contracts, making it easier for the model to settle into a stable loop: locate the problem, modify the file, run verification, read the error, modify again.

    Illustrative comparison of action spaces:

    1. Standard mode candidate actions (illustrative):
    2. search_code / read_file / write_file / edit_file / run_shell /
    3. run_tests / git_diff / http_fetch / spawn_subagent / plan_step ... (20+)
    4. Minimal mode candidate actions:
    5. run_shell
    6. str_replace_editor

    2.2 Fewer Tool Hallucinations and Wasted Calls

    When tool count balloons, the typical failure mode is “tool hallucination”: the model references subcommands, parameters, or return fields that do not exist, or repeatedly searches when it should edit a file directly. A minimal environment compresses the surface for error, lowering the share of invalid calls, producing cleaner logs, and making evaluation results more stable and reproducible.

    2.3 A Natural Fit for Single-Goal Benchmarks

    Most software engineering benchmarks are single-repository, single-goal tasks with automatically verifiable pass or fail outcomes. The optimal strategy for such tasks is already close to a linear tool chain, so minimal mode effectively aligns the evaluation environment with the task distribution. Prominent scores are therefore unsurprising.

    3. A Locked Capability Ceiling: The Cost of a Restricted Optimum

    3.1 Missing Key Capability Branches

    Minimal mode typically lacks web retrieval, bulk multi-file operations, task decomposition, and parallel subagents. Once a task depends on external documentation, cross-repository refactoring, or a multi-stage pipeline, the model can only degrade into serial manual work, and its ceiling is reached quickly.

    3.2 A Transfer Gap

    Policy habits formed in a narrow environment (edit first then verify, probe less) do not transfer directly to a high-freedom environment. A multi-tool environment truly tests the meta-decision of tool selection, call ordering, and when to stop, and that capability is barely trained or assessed in minimal mode.

    4. The Core Debate: Overfitting or a Policy Bias Shift

    The conclusion should be precise: the more accurate description is a policy bias shift, not overfitting in the narrow sense.

    The reasoning spans three layers:

    1. Data layer: agent reinforcement learning samples in mainstream post-training pipelines usually cover both few-tool and many-tool trajectories, so the training distribution is not limited to a single minimal template and the premise of “fitting only on minimal samples” does not hold.
    2. Optimization layer: reinforcement learning amplifies the prior of high-return trajectories. If linear few-tool trajectories are more stable and lower in variance in terms of reward, the policy converges toward that mode and forms path dependence.
    3. Evaluation layer: benchmark scores only reflect success rates in a restricted environment and cannot prove stronger general agent capability, which is a validity boundary issue.

    An actionable test: fix the weights, change only the tool set and prompt templates, and run a cross-evaluation matrix.

    1. Minimal tool set Standard tool set
    2. Trained minimal High Low
    3. Trained multi-tool Medium High

    If the same weights differ sharply between the two columns and the gap widens with task complexity, the evidence supports a policy bias shift. If the score is high only in the minimal column and collapses as soon as the task template changes, the behavior is closer to overfitting.

    5. Engineering Recommendations

    • Curriculum-style tool exposure: start with few tools and open them up gradually, letting the policy learn meta-decisions in a controlled, incrementally growing action space.
    • Add a “path efficiency” term to reward shaping: apply small penalties for invalid calls and repeated retrieval to suppress divergence.
    • Tool contract governance: trim descriptions and unify naming and return structures to reduce tool hallucination.
    • Layered orchestration: let an outer planning component handle decomposition and retrieval while the inner execution layer keeps a small action space, balancing convergence and coverage.
    • Two-track evaluation: report both minimal and standard scores and disclose tool set differences, so a single number does not mislead tool selection decisions.

    6. Conclusion

    High scores in minimal mode are the product of alignment among environment, task, and policy. It is an excellent benchmark baseline and a lightweight automation baseline, but treating it as proof of general agent capability leads to misjudgment. The direction more worth investing in engineering is teaching the model to select tools under increasing complexity, rather than relying on humans to trim the world down to two buttons.