Grow the Harness, Not the Context: From Strategy-Free Scaffolds to Reusable Specialist Agents· 从无策略支架到可重用专家代理
Large language model (LLM) agents often handle streams of related tasks, yet standard harnesses repeatedly ask the model to reconstruct the same control decisions inside each task's context. We study whether task feedback can instead turn recurring control into reusable executable code, while reserving LLM calls for task-specific semantic reasoning. We introduce Growing Harness, a failure-guided training paradigm that learns the agent harness itself from a strategy-free scaffold that exposes fixed model and tool interfaces but encodes no task-solving controller. Function-level execution traces localize each failure to a bounded code surface, an optimizer repairs a window of failures jointly, and a success-first held-out gate rolls back repair sequences that harm prior capability. Accepted
通过任务反馈将重复控制转换为可重用代码,提升LLM代理效率。
- 核心方法
- 引入Growing Harness,一种基于失败指导的训练范式,从无策略支架学习代理框架,通过函数级执行跟踪定位失败,优化器修复失败窗口,成功优先的保留门回滚有害修复序列。
- 适合谁读
- 研究者 / 工程师
- 要解决的问题
- 大语言模型代理在处理相关任务时,标准框架要求模型反复重建相同的控制决策,效率低下。
- 关键实验
- 未提供
- 主要贡献
- 提出了一种新的训练方法,能够将大语言模型代理的重复控制决策转化为可重用的执行代码,提高代理的效率和可扩展性。
- 意义与局限
- 该方法提高了LLM代理处理相关任务的效率,减少了模型调用次数,但具体实验结果和适用范围尚未明确。