ChatPaper.aiChatPaper

持久递归世界使自主软件演化成为可能

Persistent Recursive Worlds Enable Autonomous Software Evolution

August 12, 2026
作者: Beichen Huang, Zhenyu Liang, Bowen Zheng, Ran Cheng
cs.AI

摘要

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