Manuscript Offprint

arXiv:2610.23574

Darwin-Claw: Environment-Adaptive Experience Consolidation for Recursively Self-Evolving Agents

Mingze Yin, Xiaohan Wang, Dian Li, Longfei Luo, Jiahong Yan, Yiheng Zhu, Chang-Yu Hsieh

Mingze Yin1,2,∗^{1,2,*}, Xiaohan Wang2,∗^{2,*}, Dian Li2,†^{2,\dagger}, Longfei Luo1,3^{1,3}, Jiahong Yan2^{2}, Yiheng Zhu3,†^{3,\dagger} and Chang-Yu Hsieh1,†^{1,\dagger}

1^{1}Zhejiang University, 2^{2}Tencent, 3^{3}Zhongguancun Academy, ∗^{*}Equal Contribution, †^{\dagger}Corresponding Author

While Large Language Model (LLM) agents have demonstrated remarkable capabilities across complex tasks, they predominantly operate in isolated sessions, lacking the ability to continually learn from historical interactions or adapt to user-specific environments. Existing self-evolution paradigms often indiscriminately inject raw interaction trajectories into memory or skill modules, leading to obscured behavioral patterns and compromised update controllability. Furthermore, as foundational LLM reasoning improves, the bottleneck for agentic evolution shifts from accumulating generic knowledge to effectively managing situational experience. To address this, we propose Darwin-Claw, an environment-adaptive self-evolving framework that systematically distills episodic experiences to drive the comprehensive evolution of operational skills and durable memory. Theoretically grounded in an iterative agent-actor and evolver-critic co-adaptation, Darwin-Claw introduces a Hierarchical Experience Consolidation System that extracts fine-grained error attributions and generalizes them into dynamically updated prototype vectors. This structured situational experience serves as interaction patches for context-sensitive perception and explicit optimization signals for skill refinement. Practically, Darwin-Claw is a readily deployable, automated framework compatible with mainstream agent systems without requiring manual curation. Extensive experiments on WildClawBench demonstrate that Darwin-Claw yields substantial performance improvements, establishing a controllable and stable pathway for the continual, user-centric adaptation of autonomous agents in real-world ecosystems.

Keywords: Self-Evolving Agent, Agentic Skills, Experience-Driven Lifelong Learning

1. Introduction

By interacting with complex and dynamic environments, large language model (LLM) agents have demonstrated impressive capabilities across a broad spectrum of sophisticated tasks, including web navigation, vibe coding, healthcare monitoring, and deep research [1–5]. However, agents such as OpenClaw typically operate in isolation, lacking the ability to learn from prior successes and failures. In particular, users' stable preferences and operational requirements, which are gradually clarified through repeated interactions, remain restricted to the current session and are not transformed into reusable experience for environment awareness and autonomous evolution.

Therefore, self-evolving agent systems have recently emerged as a prominent research direction, aiming to leverage recurrent interaction experience through internal learning loops to support continual, user-centric adaptation and refinement. Most existing self-evolution paradigms directly use contrasted user interaction trajectories as conditioning signals to distill long-term memory or overwrite practical skills. However, indiscriminately injecting heterogeneous experiences without explicit attribution into designated modules can not only obscure the agent's behavioral patterns, but also introduce substantial challenges to update controllability. The absence of effective mechanisms

Corresponding author(s): goodli@tencent.com; zhuyiheng@zgci.ac.cn; kimhsieh@zju.edu.cn for controlled updating further compromises both the stability of the evolutionary trajectory and the validity of the acquired updates. Furthermore, as large language models continue to improve in reasoning and planning, and as external tool libraries become increasingly comprehensive, the relative contribution and marginal utility of cognitive and behavioral experience may diminish substantially. Under this trend, a core challenge for self-evolving agents is no longer merely how to accumulate generic experience, but rather how to systematically model, dynamically store, and efficiently retrieve situational experience, thereby enabling rapid self-evolution and effective adaptation to specific user environments.

It is not the strongest of the species that survives, nor the most intelligent; it is the one most adaptable to environmental change. — Charles Darwin

Inspired by this, we turn to the idea of accumulating environment-adaptive experience to facilitate agentic self-evolution. We propose Darwin-Claw, an environment-adaptive agentic self-evolving framework that automatically distills episodic experience to drive the comprehensive evolution of operational skills and durable memory.

Theoretically, the agentic self-evolution is grounded in the iterative co-adaptation between agent-actor trajectories and evolver-critic trajectories. Darwin-Claw views self-evolution not as parameter update in isolation, but as a closed-loop process in which interaction failures are first attributed, abstracted, and consolidated into implicit environment prototypes, and are then transformed into structured experience that supports both immediate behavioral correction and long-horizon capability growth. Specifically, the proposed Hierarchical Experience Consolidation System extracts fine-grained error attributions from user interaction trajectories and generalizes them into dynamically updated prototype vectors that organize situational experience across diverse environments. Built on this substrate, Experience-Driven Agentic Holistic Evolution treats consolidated situational experience as interaction patches for improving context-sensitive perception, while distilling operational experience into explicit optimization signals for external skills. Moreover, once environment-specific experience becomes sufficiently accumulated and refined, it can be elevated into a dreaming condition that further reshapes the agent's long-term memory. Darwin-Claw establishes a principled theory of self-evolving agents in which situational experience serves as the core medium linking environmental adaptation, skill refinement, and memory formation.

Practically, Darwin-Claw is designed as a general, environment-adaptive evolutionary framework that is compatible with a wide range of mainstream agent systems, incorporating OpenClaw, Claude-Code, Codex, and Hermes. Specifically, experience consolidation driven by runtime interaction without manual curation or explicit user intervention. Hierarchical experiential attribution supports efficient vector retrieval from a locally stored experience pool to enhance perception. Episodic experience-driven memory distillation and skill updates are generated through open-ended reasoning eliminating reliance on predefined rules. Furthermore, experimental results on WildClawBench demonstrate that Darwin-Claw yields substantial improvements across tasks, highlighting the effectiveness of stable and efficient self-evolution for building continuously improving agent systems in real-world scenarios.

The primary contributions of this paper are as follows:

(i) Environment-adaptive agentic evolution. Hierarchical experience consolidation system is constructed to attribute and accumulate situated experience from users' historical interaction trajectories, further dynamically driving reusable optimization of both agentic memory and skills.

(ii) Readily deployable agentic system. Darwin-Claw not only enables the optimization of agent's perception of specific interactive environments via a skill-plugin mechanism, but also supports the collective evolution of the skill ecosystem across multiple users.

(iii) Controllable evolutionary pathway evaluation. The comprehensive validation of experience knowledge accumulation and execution strategy optimization identifies a controllable pathway for agent self-evolution. Multiple agentic benchmarks demonstrate the superiority of stable evolution for task completion performance.

References (31)