mlsanityData to 7 Oct 2026

SHarP: Saliency-based Pruning of Agent Harnesses

arXiv 2610.04178 ↗First posted 3 Oct 2026cs.AIcited by 0

On the map: LLM agents and tool use → Tool learning and function calling also fits: General LLM agent frameworks and benchmarks

Abstract (arXiv)

Agent harnesses are systems that coordinate model calls, tool use, and task execution to help large language models complete complex tasks. To meet task requirements and address failures, these systems are often iteratively refined by amending and patching their instructions, tools, and workflows, continuously increasing harness complexity. It is therefore unclear whether some resulting harness modules are redundant, introducing substantial token overhead with little, if any, performance gain. Inspired by neural network pruning, in this paper, we study harness pruning as a means of striking a better balance between task performance and token cost. We propose SHarP (Saliency-based Harness Pruning), a simple yet effective pruning strategy based on the saliency of each harness module with respect to performance and efficiency. Specifically, we first identify tools, instructions, and supporting mechanisms as components that can be individually disabled. We then estimate the saliency of each module by ablating it and assessing its task performance and token cost relative to the full set of single-module ablations. Modules with the smallest contribution to performance or largest computational overhead are subsequently pruned. Our evaluation across various harnesses on held-out validation sets reveals a surprising finding: most harnesses that we studied are highly redundant and can maintain comparable performance and efficiency even after a substantial portion of their modules are pruned. Our pruning approach and empirical findings provide new perspectives on agent harness design and optimization.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Tool learning and function calling, one of 16 directions in LLM agents and tool use. First posted on arXiv 3 Oct 2026.

Builds on

No reference list yet.

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Exploring the Limits of Pruning: Task-Specific Neurons, Model Collapse, and Recovery in Task-Specific Large Language Models
  2. 2026Dynamic Expert Pruning for Multi-Agent Systems
  3. 2026Composing Task-specific Agent Harnesses at Test Time with Reusable Primitives
  4. 2025From Local to Global: Revisiting Structured Pruning Paradigms for Large Language Models
  5. 2026Higher-order pruning of experts in mixture-of-experts language models
  6. 2026SWE-Pruner: Self-Adaptive Context Pruning for Coding Agents
  7. 2026Squeez: Task-Conditioned Tool-Output Pruning for Coding Agents
  8. 2026Harnesses for Inference-Time Alignment over Execution Trajectories