arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2605.22794cs.AIcs.LG
收藏

MOSS:自主智能体系统中通过源代码级重写的自我进化

MOSS: Self-Evolution through Source-Level Rewriting in Autonomous Agent Systems

University of Science and Technology of China(中国科学技术大学);Hong Kong Generative AI Research & Development Center(香港生成式AI研究与开发中心);The Hong Kong University of Science and Technology(香港理工大学);Hong Kong Baptist University(香港 Baptist大学)

Qianshu Cai, Yonggang Zhang, Xianzhang Jia, Huajiang Zheng, Wei Xue, Jun Song, Xinmei Tian, Yike Guo

AI总结:

提出MOSS系统,通过源代码级重写实现自主智能体系统的自我进化,利用生产故障证据自动批处理和多阶段确定性流水线,在OpenClaw上单周期内将平均评分从0.25提升至0.61。

摘要:

自主智能体系统在部署后基本是静态的:它们不会从用户交互中学习,重复的失败会持续存在,直到下一次人工驱动的更新发布修复。自我进化的智能体应运而生,但所有进化都局限于文本可变的工件——技能文件、提示配置、记忆模式、工作流图——而智能体框架本身保持不变。由于路由、钩子排序、状态不变量和调度存在于代码中而非任何文本工件中,整个结构故障类别在文本层上是物理上不可达的。我们认为源代码级适应是一种本质上更通用的媒介:它是图灵完备的,是每个文本可变范围的严格超集,通过确定性方式生效而非基础模型合规性,并且不会在长上下文漂移下退化。我们提出了MOSS,一个在生产智能体基板上执行源代码级自我重写的系统。每次进化都锚定在自动策划的生产故障证据批次上,并通过确定性的多阶段流水线进行;代码修改委托给可插拔的外部编码智能体CLI,而MOSS保留阶段顺序和判定。候选者通过在临时试验工作器中重放批次来验证,然后通过用户同意门控的就地容器交换和健康探针门控的回滚进行推广。在OpenClaw上,MOSS在单周期内无需人工干预将四个任务的平均评分从0.25提升至0.61。

英文摘要:

Autonomous agentic systems are largely static after deployment: they do not learn from user interactions, and recurring failures persist until the next human-driven update ships a fix. Self-evolving agents have emerged in response, but all confine evolution to text-mutable artifacts -- skill files, prompt configurations, memory schemas, workflow graphs -- and leave the agent harness untouched. Since routing, hook ordering, state invariants, and dispatch live in code rather than in any text artifact, an entire class of structural failure is physically unreachable from the text layer. We argue that source-level adaptation is a fundamentally more general medium: it is Turing-complete, a strict superset of every text-mutable scope, takes effect deterministically rather than through base-model compliance, and does not erode under long-context drift. We present MOSS, a system that performs self-rewriting at the source level on production agentic substrates. Each evolution is anchored to an automatically curated batch of production-failure evidence and proceeds through a deterministic multi-stage pipeline; code modification is delegated to a pluggable external coding-agent CLI while MOSS retains stage ordering and verdicts. Candidates are verified by replaying the batch against the candidate image in ephemeral trial workers, then promoted via user-consent-gated, in-place container swap with health-probe-gated rollback. On OpenClaw, MOSS lifts a four-task mean grader score from 0.25 to 0.61 in a single cycle without human intervention.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑