AutoSaddler: Automatic Harness Optimization with Durable Updates from Agent Execution Traces
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
LLM agents remain unreliable on long-horizon tasks, where small local failures can compound over extended interactions and lead to overall task failure. Although external harnesses can substantially improve robustness, harness design remains a manual and expensive process that requires searching over a large space of prompts, tool configurations, and control logic. We propose AutoSaddler, an automatic harness optimization framework that formulates harness improvement as an offline learning problem and iteratively updates the harness using failure signals from mini-batches. AutoSaddler combines failure-trace diagnosis, structured patch generation that treats the harness as code, and validation-based update selection. Experiments on GAIA2, SWE-Bench Pro, and Terminal-Bench 2.0 show that AutoSaddler substantially improves agent performance over the corresponding base harnesses, achieving gains of 9.0, 9.6, and 10.0 percentage points, respectively. Ablation studies further suggest that effective harness optimization benefits from three ingredients: deep debugging rather than shallow reflection, targeted modifications rather than unconstrained editing, and generalization-aware selection rather than trajectory-specific repair. Together, these results suggest that automatic harness optimization is a promising path toward more performant and reliable agent systems.
Key facts. Cited by 9 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 52 of its 70 references that are in the map. First posted on arXiv 24 Aug 2026.
Builds on
52 of 70 references.
Closest ancestors · 20
Same direction, newest first
- 2026HarnessCompass: Guiding Automatic Harness Evolution toward Generalizable and Effective Agent Harnesses3 Aug
- 2026DREvo: Distilling Recalibrated Historical Experience for Harness Self-Evolution29 Jul
- 2026Co-Harness: Co-Evolving Harnesses and Model Weights for LLM Agents17 Jul
- 2026MemoHarness: Agent Harnesses That Learn from Experience14 Jul
- 2026Self-Harness: Harnesses That Improve Themselves8 Jun
- 2026From Failed Trajectories to Reliable LLM Agents: Diagnosing and Repairing Harness Flaws4 Jun
- 2026Agentic Harness Engineering: Observability-Driven Automatic Evolution of Coding-Agent Harnesses28 Apr
- 2026HARBOR: Automated Harness Optimization22 Apr
- 2025DoVer: Intervention-Driven Auto Debugging for LLM Multi-Agent Systems7 Dec
- 2025Live-SWE-agent: Can Software Engineering Agents Self-Evolve on the Fly?17 Nov
- 2025Huxley-G"odel Machine: Human-Level Coding Agent Development by an Approximation of the Optimal Self-Improving Machine24 Oct
- 2025Where LLM Agents Fail and How They can Learn From Failures29 Sep
8 more
- 2025Who is Introducing the Failure? Automatically Attributing Failures of Multi-Agent Systems via Spectrum Analysis17 Sep
- 2025AgenTracer: Who Is Inducing Failure in the LLM Agentic Systems?3 Sep
- 2025AdaptFlow: Adaptive Workflow Optimization via Meta-Learning11 Aug
- 2025EvoAgentX: An Automated Framework for Evolving Agentic Workflows4 Jul
- 2025AlphaEvolve: A coding agent for scientific and algorithmic discovery16 Jun
- 2025Which Agent Causes Task Failures and When? On Automated Failure Attribution of LLM Multi-Agent Systems30 Apr
- 2024AFlow: Automating Agentic Workflow Generation14 Oct
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May
Other references · 32
- 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,020
- 2023Large Language Models as Optimizerscited by 830
- 2023ExpeL: LLM Agents Are Experiential Learnerscited by 814
- 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 628
- 2026Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfacescited by 515
- 2025GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learningcited by 449
- 2024Automated Design of Agentic Systemscited by 360
- 2025Darwin Godel Machine: Open-Ended Evolution of Self-Improving Agentscited by 294
- 2024Optimizing Instructions and Demonstrations for Multi-Stage Language Model Programscited by 270
- 2025SWE-Bench Pro: Can AI Agents Solve Long-Horizon Software Engineering Tasks?cited by 254
- 2025ReasoningBank: Scaling Agent Self-Evolving with Reasoning Memorycited by 253
- 2024TextGrad: Automatic "Differentiation" via Textcited by 250
20 more
- 2026Meta-Harness: End-to-End Optimization of Model Harnessescited by 248
- 2023PromptAgent: Strategic Planning with Language Models Enables Expert-level Prompt Optimizationcited by 226
- 2025A Survey of Self-Evolving Agents: What, When, How, and Where to Evolve on the Path to Artificial Super Intelligencecited by 155
- 2025Alita: Generalist Agent Enabling Scalable Agentic Reasoning with Minimal Predefinition and Maximal Self-Evolutioncited by 114
- 2026Externalization in LLM Agents: A Unified Review of Memory, Skills, Protocols and Harness Engineeringcited by 68
- 2026AutoHarness: improving LLM agents by automatically synthesizing a code harnesscited by 63
- 2026Natural-Language Agent Harnessescited by 54
- 2025FLEX: Continuous Agent Evolution via Forward Learning from Experiencecited by 51
- 2024Offline Training of Language Model Agents with Functions as Learnable Weightscited by 47
- 2026EvoX: Meta-Evolution for Automated Discoverycited by 45
- 2023Cost-Effective Hyperparameter Optimization for Large Language Model Generation Inferencecited by 40
- 2026Hyperagentscited by 40
- 2026Gaia2: Benchmarking LLM Agents on Dynamic and Asynchronous Environmentscited by 28
- 2025GraphTracer: Graph-Guided Failure Tracing in LLM Agents for Robust Multi-Turn Deep Searchcited by 22
- 2026PACEvolve: Enabling Progress-Aware Consistent Evolutioncited by 21
- 2025Automatic Failure Attribution and Critical Step Prediction Method for Multi-Agent Systems Based on Causal Inferencecited by 18
- 2026SIA: Self Improving AI with Harness & Weight Updatescited by 18
- 2026Evolving Agents in the Dark: Retrospective Harness Optimization via Self-Preferencecited by 17
- 2024AutoRAG-HP: Automatic Online Hyper-Parameter Tuning for Retrieval-Augmented Generationcited by 13
- 2025Improving Language Agents through BREW: Bootstrapping expeRientially-learned Environmental knoWledgecited by 3
Built on by
Citing papers per year: 2026: 9.
9 papers.
- 2026WHALE: A Simple Recipe for Joint Harness-Weight Optimizationcited by 9
- 2026Scanning the Harness: A Repository Study of Configuration Exposures in AI Coding Agentscited by 0
- 2026Bad Genius: Counterfactual-Guided Harness Evolution Beyond Task-Specific Shortcutscited by 0
- 2026Compositional Safety Failures in Harness Evolution: Identification and Runtime Monitoringcited by 0
- 2026Composing Task-specific Agent Harnesses at Test Time with Reusable Primitivescited by 0
- 2026Turbo Harness: Instance-Adaptive Harness Optimizationcited by 0
- 2026ActiveSaddler: Automated Curriculum Learning for Agent Harness Optimizationcited by 0
- 2026GUI-HARVEST: Self-Improving GUI Agents through Evidence-Driven Harness Evolutioncited by 0
- 2026Harness Compilation: Which Decisions Should a Small Vision-Language Model Keep?cited by 0
- 2026Harness Compilation: Which Decisions Should a Small Vision-Language Model Keep?8 Oct 2026
- 2026GUI-HARVEST: Self-Improving GUI Agents through Evidence-Driven Harness Evolution1 Oct 2026
- 2026ActiveSaddler: Automated Curriculum Learning for Agent Harness Optimization1 Oct 2026
- 2026Turbo Harness: Instance-Adaptive Harness Optimization30 Sep 2026
- 2026Composing Task-specific Agent Harnesses at Test Time with Reusable Primitives30 Sep 2026
- 2026Compositional Safety Failures in Harness Evolution: Identification and Runtime Monitoring27 Sep 2026
- 2026Bad Genius: Counterfactual-Guided Harness Evolution Beyond Task-Specific Shortcuts16 Sep 2026
- 2026Scanning the Harness: A Repository Study of Configuration Exposures in AI Coding Agents7 Sep 2026
- 2026WHALE: A Simple Recipe for Joint Harness-Weight Optimization31 Aug 2026
Similar, not cited
Close in wording, no citation either way
- 2026Adaptive Auto-Harness: Sustained Self-Improvement for Agentic System Deployment on Open-Ended Task Streams
- 2026VERSE: Verified Self-Evolving Optimizer for Agent Harnesses
- 2026Rethinking the Evaluation of Harness Evolution for Agents
- 2026HarnessOpt-Bench: Evaluating LLMs at Harness Optimization
- 2026TTHE: Test-Time Harness Evolution
- 2026Beyond Prompts: Measuring and Optimizing LLM Tool-Agent Harnesses
- 2026Harness-R1: Learning to Edit Executable Runtime Harnesses from Agent Failure Trajectories
- 2026Adapting the Interface, Not the Model: Runtime Harness Adaptation for Deterministic LLM Agents