MOSS: Self-Evolution through Source-Level Rewriting in Autonomous Agent Systems
Qianshu Cai, Yonggang Zhang, Xianzhang Jia, Wei Xue, Jun Song, Xinmei Tian, and Yike Guo

TL;DR
MOSS is a system enabling autonomous agents to self-evolve by source-level rewriting, improving their robustness and performance through deterministic, automated updates based on failure evidence.
Contribution
It introduces a novel source-level self-rewriting system for autonomous agents, surpassing text-only evolution methods and ensuring structural failure correction.
Findings
MOSS increased the mean grader score from 0.25 to 0.61 in one cycle.
Self-rewriting at source level addresses structural failures unreachable by text modifications.
Automated, deterministic pipeline reduces need for human intervention.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
