Ecdysis: Efficient and Effective Training of Runtime Harnesses for LLM Agents
Ruiqing Yue, Yu Cui, Zhuoyu Sun, Sicheng Pan, Xianhong Xue, Tingyu Li, Ting Li, Wenzhuo Zhu, Yi Chen, Yifei Liu, Baohan Huang, Zhe Cui, Haibin Zhang, Cong Zuo
Abstract
Self-evolving runtime harnesses can substantially improve the capabilities of large language model (LLM) agents and provide a promising paradigm for optimizing agent execution. Existing failure-driven approaches often treat observed agent failures as direct evidence for harness modification. A key challenge in failure-driven harness evolution is that observed failures can reflect either limitations of the underlying model or systematic deficiencies of the harness. Directly optimizing against individual failures can therefore induce model-specific accommodation and impair generalization across tasks and models. We study whether failure evidence accumulated across task instances can provide a more reliable signal for harness training. Our key insight is that failures recurring across distinct tasks provide stronger inductive evidence for systematic harness deficiencies than isolated failures. Based on this insight, we propose Ecdysis, which aggregates failure evidence across task instances before promoting recurring failure patterns into persistent harness evolution, biasing evolution toward repairs that are more likely to generalize beyond individual model behaviors. Ecdysis further employs collaborative failure analysis to refine modification specifications, trading additional evolution-time reasoning for improved modification quality. Across multiple LLMs and benchmarks, Ecdysis improves the reasoning accuracy of evolved harnesses by 18.56% over existing harness evolution while achieving up to 1.84x faster harness training. Ecdysis also enables more data-efficient training. Fine-grained analysis shows that Ecdysis reduces model-specific accommodation during evolution, while the resulting harnesses exhibit stronger cross-LLM generalization and lower inference-time token consumption.
Create a lesson
Metadata
- Categories
- cs.SE, cs.AI
Related papers
Does Training-Free Delegation Improve Cost Efficiency in Multi-Agent Software Engineering Systems? An Empirical Study
Shared title terminologycs.SEMootez Saad, Mohammad Masudur Rahman, Tushar Sharma
Safe Continuation in LLM Agents: Runtime and Tool-Contract Boundaries
Shared title terminologycs.SEZihao Wang
One to More, More to One: Category-Aware Iterative Expert Training for Software Engineering Agents
Shared title terminologycs.SEJie Zhao, Ziyu Jiang, Suhang Zheng et al.
GameLogicBench: Evaluating Coding Agents on Runtime Game Logic with Tick-Level State Assertions
Shared title terminologycs.SEXinyu Che, Yunfei Ge, Shihao Li et al.
XAgent: eXecution-guided Agentic AI for Effective Localization and Resolution of GitHub Issues
Shared title terminologycs.SEHieu Huynh, Patanamon Thongtanunam, Michael Fu et al.
Horizontal Models, Vertical Systems: A Position on Where Domain Knowledge Belongs in Enterprise Agents
Shared title terminologycs.SELuciano Lucindo Chaves