AIAny
Icon for item

AutoSaddler: Automatic Harness Optimization with Durable Updates from Agent Execution Traces

Automatically optimizes runtime harnesses for LLM agents by diagnosing failure traces and iteratively applying structured, generalizable patches. Combines batch-based failure diagnosis, code-like patch generation across prompts/tools/middleware, and validation-aware selection to raise long-horizon task success on multiple benchmarks.

Introduction

Most LLM agent failures on long-horizon tasks come from small local errors that compound across steps; addressing them requires more than per-trajectory fixes. AutoSaddler reframes harness design as an offline learning problem: it collects execution traces, diagnoses deep failure modes across batches, generates targeted code-like patches to the harness (prompts, tool configs, middleware), and accepts updates only after validation to ensure generalization beyond individual trajectories.

Key Findings
  • Consistent gains across benchmarks: iterative harness updates yield +9.0, +9.6, and +10.0 percentage points on GAIA2, SWE-Bench Pro, and Terminal-Bench 2.0 respectively, over corresponding base harnesses. This demonstrates durable improvement on long-horizon tasks rather than trajectory-specific fixes.
  • Three practical design principles: (1) deep debugging — analyze multi-step failure traces rather than shallow reflections, (2) structured interventions — treat harnesses as editable code and make targeted, constrained patches across prompts, tools, and middleware, and (3) generalization-aware selection — validate candidate updates on held-out tasks to prefer broadly useful changes.
  • Method pipeline: accumulate traces in mini-batches, diagnose failed trajectories to extract root causes, generate structured candidate patches guided by diagnosis, evaluate each candidate on training mini-batch and a validation set, and commit updates that improve validation performance.
Who it's for and trade-offs

Great fit if you maintain LLM agents for long-horizon or multi-step workflows and want a principled way to harden external harnesses without exhaustive manual prompt/tool search. It helps teams that can run batched evaluations and accept harness edits as code. Look elsewhere if you need runtime, per-interaction self-repair from the base model itself (AutoSaddler optimizes external harnesses offline) or if you cannot run validation suites to test generalization. The framework focuses on harness-level fixes and does not replace agent model fine-tuning or tool reengineering; it complements those approaches by making harnesses more robust and maintainable.

Information

  • Websitearxiv.org
  • OrganizationsAffiliation: KAIST, Affiliation: Southern University of Science and Technology, Affiliation: [email protected]@dblab.postech.ac.kr
  • AuthorsSungho Park, Wonjoong Kim, Rongyuan Tan, Jue Zhang, Wook-Shin Han, Pengfei Gao, Chanyoung Park, Yongqiang Yao, Rao Fu, Elsie Nallipogu …
  • Published date2026/08/24

More Items

A concise textbook-style book that explains foundational concepts and techniques for large language models, covering pre-training, generative models, prompting, alignment, inference, and reasoning. Structured as self-contained chapters for readers with some ML/NLP background or those seeking a principled introduction to LLM foundations.

Lets a pretrained multimodal LLM interpret navigation requests and orchestrate motion via tool calls for generalist robot navigation across unfamiliar scenes. Key features: an agent harness with Navigation Skills, a unified visual-point interface, task-progress tracking, and tool-based motion execution without navigation-specific fine-tuning.

Serves token-level routed LLM inference by dispatching requests to per-model asynchronous subservers and using delayed-batching scheduling to reduce admission latency and step desynchronization. Exposes a request-centric route-send-receive API and reports 2.01–64.15× decoding throughput gains versus single-LLM servers.