AutoSaddler:自动优化智能体框架并防回退

Rohan Paul · @rohanpaul_ai · X·2026-08-27 07:49·3天前
AI 导读

AutoSaddler 从失败轨迹中自动重写智能体的提示词、工具与中间件,但只保留能提升留出开发集性能的更新。论文发现,若无泛化校验,自动优化结果反而不如手写框架;建议用补丁未针对的任务集评估净收益,而非仅看修复数。

Rohan Paul@rohanpaul_ai
36AI 编辑部评分,满分 100

AutoSaddler:自动优化智能体框架并防回退

2026-08-27 07:49· 3天前
AI 导读

AutoSaddler 从失败轨迹中自动重写智能体的提示词、工具与中间件,但只保留能提升留出开发集性能的更新。论文发现,若无泛化校验,自动优化结果反而不如手写框架;建议用补丁未针对的任务集评估净收益,而非仅看修复数。

Automatically patching an agent's harness is easy; keeping the patches that help is the hard part.

So if you let a model rewrite your prompts, tools, and hooks from failure traces, spend the rollout budget on a held-out split that catches collateral damage.

Harness optimization does work, but this paper finds that without a check on whether an update generalizes, the result lands below the hand-written harness it started from.

AutoSaddler diagnoses failed traces from a mini-batch, treats the harness as code, patches prompts, tools, and middleware, and keeps only updates that also improve a held-out development set.

If you're tuning an agent by hand or with an LLM in the loop, hold out a set of tasks that the patch was not written for, and score fixes minus regressions rather than fixes alone.

– arxiv. org/abs/2608.23041

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