MOSS: Self-Evolution through Source-Level Rewriting in Autonomous Agent Systems
On the map: LLM agents and tool use → General LLM agent frameworks and benchmarks
Abstract (arXiv)
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.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Placed in General LLM agent frameworks and benchmarks, one of 16 directions in LLM agents and tool use. Builds on 23 of its 31 references that are in the map. First posted on arXiv 21 May 2026.
Builds on
23 of 31 references.
Closest ancestors · 7
Same direction, newest first
- 2026Claw-Eval: Towards Trustworthy Evaluation of Autonomous Agents7 Apr
- 2025Darwin Godel Machine: Open-Ended Evolution of Self-Improving Agents29 May
- 2024Automated Design of Agentic Systems15 Aug
- 2024Large Language Model based Multi-Agents: A Survey of Progress and Challenges21 Jan
- 2023A Survey on Large Language Model based Autonomous Agents22 Aug
- 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Framework1 Aug
- 2023CAMEL: Communicative Agents for "Mind" Exploration of Large Language Model Society31 Mar
Other references · 16
- 2023GPT-4 Technical Reportcited by 18,132
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
- 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversationcited by 1,906
- 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,880
- 2023ChatDev: Communicative Agents for Software Developmentcited by 893
- 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 803
- 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 755
- 2025GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learningcited by 449
- 2026Meta-Harness: End-to-End Optimization of Model Harnessescited by 248
- 2026SkillClaw: Let Skills Evolve Collectively with Agentic Evolvercited by 76
- 2025A Self-Improving Coding Agentcited by 58
4 more
- 2025EvoAgentX: An Automated Framework for Evolving Agentic Workflowscited by 43
- 2026Hyperagentscited by 40
- 2026GenericAgent: A Token-Efficient Self-Evolving LLM Agent via Contextual Information Density Maximization (V1.0)cited by 10
- 2026From Procedural Skills to Strategy Genes: Towards Experience-Driven Test-Time Evolutioncited by 9
Built on by
Citing papers per year: 2026: 9.
9 papers.
- 2026TTHE: Test-Time Harness Evolutioncited by 12
- 2026AutoDesign: Meta-Harness Optimization for Long-Horizon Agentic Designcited by 5
- 2026Code Is the Body: Agent-Owned Software Bodies for Recursive Evolution and Descentcited by 3
- 2026Runtime-Independent Persistent Agents: Preserving Identity, Memory, and Code Across Models, Harnesses, and Serverscited by 2
- 2026EvolveNet: Collaborative Harness Evolution for Agent Self-Improvementcited by 1
- 2026Agents in the Large: Perception-Centered Architecture for Persistent Agentscited by 1
- 2026MetaRSI / RSI2: A Meta-Recursive Self-Improving System for Recursive Self-Improving Systems Themselvescited by 1
- 2026ADIAS: Automated Design of Interactive Agentic Systemscited by 0
- 2026Reflections on Trusting Trust, Revisited: Contaminating Self-Modifying AI Coding Agents with Poisoned Benchmarkscited by 0
- 2026Reflections on Trusting Trust, Revisited: Contaminating Self-Modifying AI Coding Agents with Poisoned Benchmarks15 Sep 2026
- 2026MetaRSI / RSI2: A Meta-Recursive Self-Improving System for Recursive Self-Improving Systems Themselves6 Sep 2026
- 2026Runtime-Independent Persistent Agents: Preserving Identity, Memory, and Code Across Models, Harnesses, and Servers1 Sep 2026
- 2026Agents in the Large: Perception-Centered Architecture for Persistent Agents31 Aug 2026
- 2026AutoDesign: Meta-Harness Optimization for Long-Horizon Agentic Design13 Aug 2026
- 2026EvolveNet: Collaborative Harness Evolution for Agent Self-Improvement5 Aug 2026
- 2026ADIAS: Automated Design of Interactive Agentic Systems3 Aug 2026
- 2026Code Is the Body: Agent-Owned Software Bodies for Recursive Evolution and Descent30 Jul 2026
- 2026TTHE: Test-Time Harness Evolution9 Jul 2026
Similar, not cited
Close in wording, no citation either way
- 2026Self-Evolving Coding Agents
- 2026AgentFactory: A Self-Evolving Framework Through Executable Subagent Accumulation and Reuse
- 2025A Survey of Self-Evolving Agents: What, When, How, and Where to Evolve on the Path to Artificial Super Intelligence
- 2026PACE: Two-Timescale Self-Evolution for Small Language Model Agents
- 2026EvoAgentBench: Benchmarking Agent Self-Evolution via Ability Transfer
- 2026Metis: Bridging Text and Code Memory for Self-Evolving Agents
- 2026One Recipe, Many Harnesses: What Self-Evolution Encodes Across Languages and Models ↗
- 2025A Comprehensive Survey of Self-Evolving AI Agents: A New Paradigm Bridging Foundation Models and Lifelong Agentic Systems