Back to Feed
Agents / Benchmarks & Evals

Automating Agent Harness Optimization

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

Listen to the summary

Uses a voice available on your device

Audio options
On this page 4 sections
Related concepts 2 concepts

Key Takeaways

  • AutoSaddler outperforms base harnesses by 9.0 percentage points on GAIA2, 9.6 points on SWE-Bench Pro, and 10.0 points on Terminal-Bench 2.0.
  • The framework reaches 72.3 percent development accuracy on GAIA2 using approximately 1,000 task executions, significantly more efficient than existing baselines.
  • Optimization is highly data-efficient, requiring only 147 traces to reach peak performance, which is about 10 times fewer traces than Meta-Harness.
  • The approach uses three specialized agents implemented via the Claude Agent SDK for diagnosis, reflection, and evolution of harnesses.

Summary & Methodology Analysis

AutoSaddler automates the improvement of agent harnesses by treating the optimization process as a supervised learning problem. The framework utilizes three specific agents, namely a Diagnosis-Patch Agent, a Reflection Agent, and an Evolution Agent, which are implemented using the Claude Agent SDK. These agents iteratively analyze task execution traces to identify performance bottlenecks and generate structural updates to the harness code. By leveraging a training set of tasks paired with gold answers and success metrics, the system automatically discovers improvements that generalize beyond the training batch, resulting in performance gains of 9.0 percent on GAIA2, 9.6 percent on SWE-Bench Pro, and 10.0 percent on Terminal-Bench 2.0 compared to base harnesses. This represents a clear improvement over existing automated baselines like GEPA and Meta-Harness. The framework exhibits high efficiency in its optimization loop, achieving peak performance on GAIA2 after consuming 147 traces, which is approximately 10 times fewer traces than the 1,400 traces required by Meta-Harness. It reaches 72.3 percent development accuracy within approximately 1,000 total task executions, whereas other baselines like GEPA and Meta-Harness saturate at 64.6 percent and 61.5 percent accuracy despite requiring approximately 2,800 executions. Despite these gains, the framework has notable limitations. It relies on the availability of a training set of tasks with ground-truth answers and clear success signals, which may be costly or unavailable in many real-world production environments. Furthermore, the current scope is restricted to stateless and independent tasks, leaving stateful settings, memory integration, and broad LLM family validation as areas for future research.

Interactive System Flowchart

Click diagram to expand and zoom

Cross-Examination & FAQs

A deeper dive clarifying mechanics, constraints, and baseline evaluations.

Q1. What is the primary goal of AutoSaddler?

The primary goal is to automate the optimization of agent harnesses, reducing the manual effort required to improve agent performance on complex tasks.

Q2. Which benchmarks were used to evaluate this system?

The authors evaluated AutoSaddler on three agent benchmarks: GAIA2, SWE-Bench Pro, and Terminal-Bench 2.0.

Q3. How does it compare to other existing methods?

AutoSaddler outperforms baselines like GEPA and Meta-Harness, achieving higher accuracy while requiring significantly fewer task executions.

Q4. What is the role of the Claude Agent SDK in this framework?

The Claude Agent SDK is used to implement the three agents involved in the system, specifically the Diagnosis-Patch Agent, Reflection Agent, and Evolution Agent.

Q5. How much data does AutoSaddler require to reach its best performance?

AutoSaddler achieves its best performance on GAIA2 after consuming 147 traces, which is approximately 10 times fewer than the 1,400 traces used by Meta-Harness.

Q6. What are the main limitations identified by the authors?

The framework assumes the availability of training tasks with gold answers and clear success metrics, which may be expensive to obtain, and it is currently limited to stateless, independent tasks.

Q7. How does the execution efficiency compare to GEPA and Meta-Harness?

AutoSaddler reaches 72.3 percent accuracy with approximately 1,000 task executions, whereas GEPA and Meta-Harness saturate at 64.6 percent and 61.5 percent after approximately 2,800 executions.

Q8. Does AutoSaddler support stateful task environments?

No, the current scope is limited to stateless, independent tasks.

Q9. Is there a requirement for ground-truth data?

Yes, the framework treats harness optimization as a supervised learning problem and requires a training set of tasks paired with gold answers and a success metric.

Flag an issue

What is wrong with this summary?

What is wrong?