工具链之工具链:多日自主软件开发与持续改进
研究论文 · 2026/09/02
本文研究自主软件开发,其中基于LLM的编码代理将高级需求转化为完整、功能可用且可用的软件系统,无需人工干预。我们提出了Harness-of-Harness(HoH)框架,使编码代理能够在自主开发过程中持续改进软件。HoH在现有编码代理工具链上运行,并将其执行组织为迭代的计划-编码-测试循环。为了在循环中持续改进,HoH平衡了修复与能力增长,将开发范围划分为小而可验证的增量,将实现时测试与独立评估分离,并约束可验证的输出而非规定代理工作流程。它逐步暴露交付物、角色特定工具和技能,鼓励重用而非重新创建,并维护版本化的项目历史。在GameCraft-Bench、FrontierSWE和ProgramBench上,三个工具链-模型对(Codex与GPT-5.5、OpenCode与DeepSeek-V4-Pro、Pi与MiniMax-M3)中,HoH始终优于相应的独立工具链,在三次迭代后平均相对增益为52.25%,最大增益为82.86%。在一次超过70次迭代的多日部署中,HoH自主开发了一款第一人称射击游戏,具有连贯的故事情节、完整实现的核心机制、可玩的人类体验、精美的视觉效果和集成的音频。GitHub: https://github.com/Flesymeb/HarnessOfHarness 项目页面: https://flesymeb.github.io/HarnessOfHarness/
该论文提出了一种新颖的框架,显著提升了自主软件开发中编码代理的性能,并在多个基准和实际部署中验证了有效性,对于AI辅助软件工程领域具有重要参考价值。
This paper studies autonomous software development, in which LLM-based coding agents transform high-level requirements into complete, functional, and usable software systems without human intervention. We introduce Harness-of-Harness (HoH), a framework that enables coding agents to continually improve software during autonomous development. HoH operates on existing coding-agent harnesses, and organizes their executions into iterative planning-coding-testing loops. To sustain improvement across loops, HoH balances repair with capability growth, scopes development into small and verifiable increments, separates implementation-time testing from independent evaluation, and constrains verifiable outputs rather than prescribing agent workflows. It progressively exposes deliverables, role-specific tools, and skills, encourages reuse rather than recreation, and maintains versioned project histories. On GameCraft-Bench, FrontierSWE, and ProgramBench, three harness-model pairs (Codex with GPT-5.5, OpenCode with DeepSeek-V4-Pro, and Pi with MiniMax-M3), HoH consistently outperforms the corresponding standalone harnesses, achieving an average relative gain of 52.25 percent and a maximum gain of 82.86 percent after three iterations. In a multi-day deployment with more than 70 iterations, HoH autonomously develops a first-person-shooter game, featuring a coherent storyline, fully implemented core mechanics, human-playable experience, polished visuals and integrated audio. Github: https://github.com/Flesymeb/HarnessOfHarness Project Page: https://flesymeb.github.io/HarnessOfHarness/