AutoSaddler: Automatic Harness Optimization with Durable Updates from Agent Execution Traces
Sungho Park, Wonjoong Kim, Rongyuan Tan, Jue Zhang, WOOK SHIN HAN, Pengfei Gao, Chanyoung Park, Qingwei Lin, Saravan Rajmohan, Dongmei Zhang
NeurIPS page · Open on the map
Category: LLM Agents, Evals & Benchmarks › LLM Agent Evaluation · Type: new method · Keywords: LLM agent harness optimization, automatic harness improvement, failure trace diagnosis, structured patch generation, validation-based update selection
Areas: AI Agents › Agentic Decision Making › Agentic Optimization and Evaluation; Evaluation & Benchmarks › Language Model and Agent Benchmarks › Tool Use in LLM Agents; RL for LLMs & Agents › Language Model Agents › Agentic Reinforcement Learning
Summary
AutoSaddler is an automatic harness optimization framework that iteratively improves LLM agent harnesses using failure traces, achieving large performance gains on long-horizon tasks.
Explained to a 5-year-old
AutoSaddler helps computer helpers learn how to do hard tasks by themselves. It watches where they make mistakes and fixes their instructions. It tries many small changes and picks the best ones. This makes the helpers more reliable. It saves people from having to fix them by hand.
Explained to a 5-year-old, longer
AutoSaddler is a tool that helps computer helpers become better at doing long tasks. It looks at the mistakes the helper makes while working. From those mistakes, it learns how to improve the helper's instructions. It creates small fixes for the instructions, like a puzzle piece. It tests each fix on a small set of tasks to see if it works. The best fixes are kept and used to update the helper. This process repeats many times, making the helper more reliable. The result is that the helper can finish harder tasks without breaking. It also reduces the need for people to manually edit the instructions. The method was tested on two challenge sets, showing big improvements. It shows that teaching computers to fix themselves can be very useful. Overall, AutoSaddler makes agent systems more trustworthy and easier to maintain.
For a technical reader
AutoSaddler automates the improvement of LLM agent harnesses by treating harness code as a mutable artifact. It leverages failure traces from mini-batches to diagnose issues, generates structured patches, and selects updates via validation. The framework formulates harness optimization as an offline learning problem, iteratively refining prompts, tool configurations, and control logic. Experiments on GAIA2 and Terminal-Bench 2.0 demonstrate gains of roughly 9-10 percentage points over baseline harnesses. Ablation studies highlight the importance of deep debugging, targeted modifications, and generalization-aware selection for effective optimization.
Problem
LLM agents often fail on long-horizon tasks because small local failures accumulate, and designing effective external harnesses is a manual, costly process that requires extensive search over prompts, tools, and control logic.
Method
The approach formulates harness improvement as an offline learning problem, diagnoses failures from execution traces, generates structured patches treating the harness as code, and selects updates via validation on mini-batches.
Results
The approach improves agent performance by 9.0 percentage points on GAIA2 and 10.0 percentage points on Terminal-Bench 2.0 over base harnesses.
Contributions
It introduces an automatic harness optimization framework that learns from failure traces, generates targeted patches, and selects updates for generalization, along with ablation studies highlighting key ingredients for effective optimization.
Practical relevance
It enables more reliable and performant LLM agent systems by automating harness design, reducing manual effort and improving robustness.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction