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

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Cai, Qianshu, Zhang, Yonggang, Jia, Xianzhang, Zheng, Huajiang, Xue, Wei, Song, Jun, Tian, Xinmei, Guo, Yike
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866913159190675456
author Cai, Qianshu
Zhang, Yonggang
Jia, Xianzhang
Zheng, Huajiang
Xue, Wei
Song, Jun
Tian, Xinmei
Guo, Yike
author_facet Cai, Qianshu
Zhang, Yonggang
Jia, Xianzhang
Zheng, Huajiang
Xue, Wei
Song, Jun
Tian, Xinmei
Guo, Yike
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2605_22794
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle MOSS: Self-Evolution through Source-Level Rewriting in Autonomous Agent Systems
Cai, Qianshu
Zhang, Yonggang
Jia, Xianzhang
Zheng, Huajiang
Xue, Wei
Song, Jun
Tian, Xinmei
Guo, Yike
Artificial Intelligence
Machine Learning
I.2.11
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.
title MOSS: Self-Evolution through Source-Level Rewriting in Autonomous Agent Systems
topic Artificial Intelligence
Machine Learning
I.2.11
url https://arxiv.org/abs/2605.22794