arXiv:2607.28691cs.SEcs.AI2026-07

让AI代理拥有可继承、可演化、受控的代码身体,实现人类主导的持续进化。

Code Is the Body: Agent-Owned Software Bodies for Recursive Evolution and Descent

论文配图:Code Is the Body: Agent-Owned Software Bodies for Recursive Evolution and Descent
图 1 · 摘自论文原文
  • 代理拥有一份带身份的可追溯代码体,包含行为逻辑与演化机制。
  • 支持人类审核下的自我演化和独立分支,实现多代继承与隔离更新。
  • 适合希望长期掌控和培育个性化AI的用户,尤其关注安全与可控性。

个性化AI代理通常可配置,但用户无法掌控决定其未来行为的产物。我们提出OurArk架构,聚焦于代理拥有的软件体:一种具有身份标识、可检查、可版本化的受人类保管的产物。该软件体包含行为代码、提示词、工具、技能、策略、测试用例及演化机制。记忆与凭证为私有实例状态,模型推理视为可替换的外部服务。OurArk定义了受控自演化与同一代码体的递归分枝。自演化生成隔离的候选变更,经人工验证、审查与合并,实现人机协同开发代理的软件体。分枝创建独立版本的后代,具备不同身份、使命、历史与全新私有状态边界;兼容的后代可继续分枝。分叉后,可选择性检视父代更改与同级技能进行本地适应。我们在开源的Genesis创作引擎与Enoch参考代理中实现该架构。四代理三分枝线性谱系及可执行回归测试,验证了递归创建、继承验证契约、隔离体变更、人工控制审查与失败更新恢复。OurArk为个人代理提供了可拥有、可治理、可专业化与可演化的具体基础。

原文摘要 · Abstract (English)

Personalized AI agents are often configurable without giving users control over the artifacts that determine their future behavior. We present OurArk, an architecture for persistent personal agents centered on an agent-owned software body: an identity-bearing, inspectable, and versioned artifact under human custody. The body contains behavior-defining code, prompts, tools, skills, policies, tests, and evolution mechanisms. Memories and credentials remain private instance state, while model inference is treated as a replaceable external service. OurArk defines governed self-evolution and recursive descent over the same body. Self-evolution produces isolated candidate changes that are validated, reviewed, and merged under human control, enabling human-agent co-development of the agent's software body. Descent creates an independently versioned descendant with a distinct identity, mission, history, and fresh private-state boundary; compatible descendants can themselves source further descent. After divergence, direct-parent changes and peer skills can be inspected for selective local adaptation. We implement the architecture in the open-source Genesis creation engine and Enoch reference agent. A four-agent, three-descent linear lineage and executable regression tests demonstrate recursive creation, inherited validation contracts, isolated body changes, human-controlled review, and failed-update recovery. OurArk provides a concrete substrate for personal agents that people can possess, govern, specialize, and evolve over time.

AI代理代码体自演化可继承

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。