Minimal-Tool Agent Performance and Post-Training Preference Shifts
This article analyzes why the same model performs better with a minimal toolset (command execution plus text editing) than with a full standard toolkit, and explains why the root cause is not classic overfitting to the minimal environment but a policy preference shift toward low-tool-count, linear tool chains. It covers the difference between minimal and standard modes, the sources of minimal mode's advantages, the mechanism of preference drift, a layered evaluation matrix for diagnosing it, and engineering recommendations including progressive tool disclosure, tool routing, mixed training, and regression testing.
Minimal-Tool Agent Performance and Post-Training Preference Shifts
In agent engineering practice, one phenomenon recurs: with model parameters unchanged, merely adjusting the available toolset and run mode produces markedly different task success rates, call paths, and failure patterns. The typical scenario is a “minimal mode” that exposes only two basic tools — command-line execution and text file editing — versus a “standard mode” equipped with retrieval, bulk file operations, task decomposition, planning plugins, sub-agents, and more than twenty capabilities in total. A consistent community observation is that agents score higher and follow more convergent paths on single-objective software engineering tasks in minimal mode; in standard mode, with a full toolkit, they become hesitant, take divergent paths, and even produce invalid calls and task failures.
How should this be evaluated? Has the official post-training overfit to minimal mode? This article provides a layered, general technical analysis: minimal mode’s advantages come from decision-space compression and a linear tool-chain loop, but its capability ceiling is manually locked. At the post-training level, there is no narrow-sense overfitting to “only minimal prompts or a two-tool set”; the more accurate description is a policy preference shift and path dependence — the model is reinforced to prefer a low-tool-count, linear tool-chain decision paradigm and adapts poorly to high-freedom, multi-tool environments.
1. Problem Definition: The Essential Difference Between Minimal and Standard Modes
Minimal mode is not a “weaker mode”; it is a “controlled narrow environment.” Its toolset is compressed to the minimal viable set, typically retaining only two capabilities: executing commands and reading/writing text files. The model need not choose among dozens of tools, and attention concentrates on the clean loop of “plan — modify files — execute terminal — iterate/debug.” Standard mode introduces retrieval, bulk operations, task-splitting sub-agents, planning plugins, and other capabilities, significantly expanding the decision space.
From an information-theoretic and decision-cost perspective, adding tools brings three costs. First, tool-selection cost: the model must judge “which one to use” among more candidates. Second, description-comprehension cost: tool names, parameters, return formats, and boundary conditions require more context. Third, error-recovery cost: once the wrong tool is chosen, the subsequent trajectory can drift off the main line. Minimal mode eliminates decision noise, giving tasks strong convergence. In single-objective, single-repository, locally verifiable software engineering tasks, it more easily reproduces the excellent level seen in early validation.
But it must be emphasized: minimal mode’s high score is a “high score in a controlled narrow environment” and does not mean stronger general agent capability. It lacks web retrieval, multi-file bulk tools, task-splitting sub-agents, external document reading, and other capabilities. When a task depends on external knowledge, cross-repository large-scale refactoring, or multi-stage complex engineering, the ceiling is reached quickly. It is suitable as a baseline evaluation substrate and a lightweight local automation substrate, but it cannot be used directly as the default configuration for an online agent.
2. Minimal Mode’s Advantages: Constraints Remove Noise, Linear Chains Converge
2.1 Environmental constraints eliminate decision noise, yielding strong convergence
When the tool set is compressed to the minimal viable set, the model does not make fruitless attempts among dozens of tools and can more easily enter the clean loop of “plan → modify files → execute terminal → iterate/debug.” For standardized benchmark evaluation and single-repository local development automation, this linear chain significantly reduces the probability of trajectory divergence. Each step’s goal is clearer: either read/write a file or execute a command to verify. The decision tree narrows, and error propagation paths shorten.
2.2 Well-suited to long-chain engineering tasks, with a clean reasoning chain
Without extra branches such as retrieval, sub-agents, or complex skill plugins, the model’s attention focuses on code modification and environment verification. Long-chain tasks suffer most from “too many mid-task branches contaminating the context.” Minimal mode reduces differences in tool return formats, handoff losses between sub-tasks, and repeated replanning by planning plugins. The reasoning chain stays clean, making failures easier to localize and reproducible benchmark evaluation easier.
2.3 Robustness: fewer tool hallucinations and invalid calls
When many tools are injected simultaneously, models tend to hallucinate nonexistent functions, parameters, or tool names (tool hallucination), and may also produce repeated calls, invalid calls, or parameter format errors. Minimal mode drastically compresses the hallucination space because few tools are available, parameter boundaries are clear, and return structures are stable. For deterministic automation tasks, this robustness advantage is very practical.
2.4 Built-in limitation: constrained optimum and weak generalization
Minimal mode is a “constrained optimum”: near-optimal within the given narrow environment, but its scenario capabilities are manually locked. It cannot smoothly transfer to a standard multi-tool environment. The decision paradigm the model develops under minimal constraints cannot be directly applied to tool-rich standard mode. This is the core reason why the same model behaves very differently in the two modes. Minimal mode is suitable only for evaluation and lightweight automation, not as the default online agent configuration.
3. Has Post-Training Overfit to Minimal Mode? Narrow-Sense Overfitting Does Not Hold; Preference Shift Does
3.1 From the training-pipeline perspective, the premise of narrow-sense overfitting is not met
Traditional overfitting means the model performs well on the training distribution but generalizes poorly to the target distribution, usually because training data is too narrow or the training objective mismatches the target. If official post-training fed only minimal two-tool trajectories, it could indeed form “overfitting only to minimal prompts/toolsets.” However, actual post-training material usually includes not only minimal two-tool trajectories but also cases covering few-tool, many-tool, and long-chain sub-agent settings. The training set does not contain only minimal-environment data, so the premise of standard overfitting is not met.
3.2 Root cause: policy preferences are reinforced, forming path dependence
The more accurate description is a policy preference shift. Reinforcement learning or preference optimization in post-training reinforces high-reward trajectories. If low-tool-count, linear tool-chain trajectories yield more stable rewards, are easier to verify, and have lower failure costs, the model’s policy will gradually favor “choose fewer tools, advance in a linear order, avoid high exploration.” This is not memorizing minimal prompts; it is forming a decision habit: tool-selection entropy decreases, the first tool choice becomes more conservative, and in multi-tool environments the model tends to fall back on familiar linear paths. When standard mode provides a full toolkit, the model instead hesitates, diverges, and fails.
3.3 Three manifestations of the preference shift
First, conservative tool selection: when facing retrieval, bulk operations, sub-agents, and similar tools, the model tends not to use them or to use them late, serializing tasks that could be parallelized or divided. Second, insufficient planning depth: in minimal mode, “modify file — run command” closes the loop, so the model may weaken multi-stage planning capability. Third, monotonous failure recovery: when facing cross-repository tasks or external document dependencies, the model lacks tool routing and fallback strategies and repeatedly retries the same path.
4. Diagnostic Method: Use a Layered Evaluation Matrix to Identify Preference Shifts
Do not evaluate a model solely by its “minimal mode score.” Instead, build an evaluation matrix with gradients of tool counts and task types. An example configuration:
tool_profiles:minimal:tools: [command_runner, text_editor]sub_agents: 0planning_plugin: falsemedium:tools: [command_runner, text_editor, search, batch_file_ops]sub_agents: 0planning_plugin: truestandard:tools: [command_runner, text_editor, search, batch_file_ops, doc_reader, task_splitter]sub_agents: 2planning_plugin: truetask_suite:- single_file_bugfix- multi_file_refactor- cross_repo_migration- external_doc_dependent_task
Evaluation metrics should include: task success rate, average number of steps, invalid-call rate, tool-hallucination rate, tool-selection entropy, first-tool-choice accuracy, failure-recovery rate, and cross-environment transfer success rate. Diagnose with ablations: fix the model and vary only the number of tools; fix the tool count and vary only the completeness of tool descriptions; fix the toolset and toggle only planning plugins and sub-agents. If the minimal mode’s success rate is significantly higher, the standard mode’s invalid-call rate rises, and tool-selection entropy drops abnormally, a policy preference shift can be identified rather than a simple capability shortfall.
5. Engineering Recommendations: Progressive Disclosure and Mixed Training
For production, do not default to minimal mode, and do not expose all tools at once. A more reasonable approach is progressive disclosure: provide basic tools first, then dynamically open retrieval, bulk operations, sub-agents, and other capabilities according to task stage; use a routing layer to classify task types — single-file tasks follow the linear chain, cross-repository tasks follow a divide-and-conquer chain; standardize tool descriptions, clarifying parameters, return formats, failure semantics, and usage boundaries; set call budgets and fallback strategies to keep the model from repeatedly probing in multi-tool environments.
At the post-training level, keep the training trajectory distribution consistent with the target production distribution: mix few-tool, many-tool, and long-chain samples; apply moderate regularization to tool-selection entropy to avoid excessive conservatism; use curriculum learning to progress from linear tasks to high-freedom tasks; and incorporate tool-usage efficiency and failure-recovery quality into rewards, not just final success rate. At the evaluation level, use minimal mode as the baseline substrate while adding standard mode and mixed mode to regression testing, to prevent “high minimal-mode scores, standard-mode mismatches.”
Conclusion
Minimal mode is an excellent benchmark substrate and lightweight local automation substrate: it unlocks the model’s engineering capability ceiling in a controlled narrow environment. But it is a high score within a controlled narrow environment, not evidence of stronger general agent capability. The official post-training does not exhibit narrow-sense overfitting to only minimal prompts/toolsets; rather, there is a more precise policy preference shift — the post-training trajectories are highly biased toward the low-tool-count, linear tool-chain paradigm, which adapts poorly to high-freedom, multi-tool environments. In engineering, use layered evaluation to identify preference shifts, and use progressive disclosure, tool routing, mixed training, and regression testing to improve cross-environment generalization — avoiding the mistake of treating a minimal-mode evaluation score as a production default.
