mlsanityData to 7 Oct 2026

Grow the Harness, Not the Context: From Strategy-Free Scaffolds to Reusable Specialist Agents

arXiv 2609.26760 ↗First posted 22 Sep 2026cs.AI cs.SEcited by 2

On the map: LLM agents and tool use → Software engineering coding agents also fits: Agent skill learning and evolution

Abstract (arXiv)

Large language model (LLM) agents often handle streams of related tasks, yet standard harnesses repeatedly ask the model to reconstruct the same control decisions inside each task's context. We study whether task feedback can instead turn recurring control into reusable executable code, while reserving LLM calls for task-specific semantic reasoning. We introduce Growing Harness, a failure-guided training paradigm that learns the agent harness itself from a strategy-free scaffold that exposes fixed model and tool interfaces but encodes no task-solving controller. Function-level execution traces localize each failure to a bounded code surface, an optimizer repairs a window of failures jointly, and a success-first held-out gate rolls back repair sequences that harm prior capability. Accepted edits accumulate in one shared harness, allowing its control structure to emerge from task feedback. Across BrowseComp-Plus and WebArena-Verified with three deployment models from 4B to 120B parameters, Growing Harness achieves the highest mean success in five of six benchmark-model settings and trails the best mean by 0.7 pp. in the sixth. Relative to a Tool-Calling agent, it reduces LLM calls by 76.0-91.8% and deployed-agent inference cost by 74.4-98.6%. On WebArena-Verified, its success remains 44.7-45.3% across model scales, whereas Tool-Calling falls to 6.7% with the 4B model. Ablations show that trace-local edits, joint repair, and gate-based rollback each improve final success. These results show that persistent program growth can move recurring control out of model context and into low-cost code, yielding reusable specialist agents that remain effective with smaller deployment models.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 23 of its 34 references that are in the map. First posted on arXiv 22 Sep 2026.

Builds on

23 of 34 references.

Closest ancestors · 1

Same direction, newest first

  1. 2026VeRO: A Harness for Agents to Optimize Agents25 Feb

Other references · 22

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  2. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
  3. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  4. 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
  5. 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,020
  6. 2022Interleaving Retrieval with Chain-of-Thought Reasoning for Knowledge-Intensive Multi-Step Questionscited by 911
  7. 2023ExpeL: LLM Agents Are Experiential Learnerscited by 814
  8. 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 803
  9. 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 791
  10. 2024RouteLLM: Learning to Route LLMs with Preference Datacited by 633
  11. 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 628
  12. 2025GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learningcited by 449
10 more
  1. 2023Large Language Models as Tool Makerscited by 293
  2. 2024Optimizing Instructions and Demonstrations for Multi-Stage Language Model Programscited by 270
  3. 2026Meta-Harness: End-to-End Optimization of Model Harnessescited by 248
  4. 2024Is Your LLM Secretly a World Model of the Internet? Model-Based Planning for Web Agentscited by 144
  5. 2023CRAFT: Customizing LLMs by Creating and Retrieving from Specialized Toolsetscited by 122
  6. 2024AgentOccam: A Simple Yet Strong Baseline for LLM-Based Web Agentscited by 110
  7. 2025Holistic Agent Leaderboard: The Missing Infrastructure for AI Agent Evaluationcited by 83
  8. 2026AutoHarness: improving LLM agents by automatically synthesizing a code harnesscited by 63
  9. 2026Evolving Agents in the Dark: Retrospective Harness Optimization via Self-Preferencecited by 17
  10. 2026Do Agent Optimizers Compound? A Continual-Learning Evaluation on Terminal-Bench 2.0cited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Composing Task-specific Agent Harnesses at Test Time with Reusable Primitives
  2. 2026Learning to Control LLM Agent Harnesses with Offline Reinforcement Learning
  3. 2026Vestrum: Improving Agent Harnesses by Adapting Their Verification, Structure and Memory
  4. 2026Ecdysis: Efficient and Effective Training of Runtime Harnesses for LLM Agents
  5. 2026Harnesses for Inference-Time Alignment over Execution Trajectories
  6. 2026Adapting the Interface, Not the Model: Runtime Harness Adaptation for Deterministic LLM Agents
  7. 2026Harness-R1: Learning to Edit Executable Runtime Harnesses from Agent Failure Trajectories
  8. 2026LongHorizon-Harness: Advancing Long-Horizon Agents for Real-World Tasks