持久递归世界实现软件自主进化

·

其他资讯 · 2026/08/14

复杂软件系统的开发时间跨度超过任何单个编码代理的寿命。大多数代理软件系统通过持久会话、记忆、管理器或共享上下文来保持连续性。我们引入了 EvoX Genesis(以下简称 Genesis),它使软件项目持久化,同时允许本地代理保持有限寿命。Genesis 将软件表示为持久递归世界:每个本地世界由已接受的版本和仓库路径定位,有限寿命的代理提出局部更改,递归委派跨路径移动工作,只有被接受的后果推进持久版本历史。我们评估了这种组织在形成、延续和再开发中的表现。从一个没有编译器实现的仓库开始,Genesis 使用 DeepSeek V4 Flash 构建了一个基于 Rust 的 C 编译器,约 25 万行跟踪代码;运行持续超过 120 小时,归档了超过 1000 个代理片段,仅产生 44 美元的模型令牌费用。该编译器通过了完整的 c-testsuite 和大多数 LLVM 和 Csmith 测试。在使用 GLM 5.2 生成的另一个编译器世界中,开发在反复替换代理后继续,同时保持完整的测试性能。Genesis 还将 13 个 MESA 模块(超过 10 万行 Fortran)重新实现为 Rust 工作区,包含近 9 万行 Rust;在六个数值工作负载中,实现了 1.55--6.87 倍的中位加速。这些结果表明,长期软件开发可以围绕持久项目而非持久代理来组织。

该论文提出了一种新颖的软件代理架构,通过持久化项目而非代理来解决长期开发问题,实验证明其高效性和成本效益,对自主软件演化领域有重要启示。

Complex software systems develop over timescales that exceed the lifespan of any individual coding agent. Most agentic software systems preserve continuity through persistent sessions, memories, managers or shared context. We introduce EvoX Genesis (hereafter, Genesis), which instead makes the software project persistent while allowing local agents to remain finite-lived. Genesis represents software as a persistent recursive world: each local world is situated by an accepted version and a repository path, finite-lived agents propose local changes, recursive delegation moves work across paths, and only accepted consequences advance the persistent version history. We evaluate this organization across formation, continuation and redevelopment. Starting from a repository with no compiler implementation, Genesis used DeepSeek V4 Flash to build a Rust-based C compiler with about 250k tracked lines; the run lasted over 120 hours, archived over 1,000 agent episodes and incurred only US$44 in model-token charges. The compiler passed the complete c-testsuite and most LLVM and Csmith tests. In a separate compiler world generated with GLM 5.2, development continued after repeated agent replacement while retaining full test performance. Genesis also reimplemented 13 MESA modules with over 100k Fortran lines as a Rust workspace with nearly 90k Rust lines; across six numerical workloads, it achieved median speedups of 1.55--6.87x. These results show that long-horizon software development can be organized around a persistent project rather than a persistent agent.

阅读原文

参与讨论