Agent Self-Evolution: A Comprehensive Survey from One-Shot Learning to Continuous Growth (2023–2025)
Abstract: Large language models are, at their core, static systems—trained once, capabilities frozen. But real-world tasks never repeat themselves. When agents begin to know what they don't know and actively self-modify, the AI paradigm undergoes a fundamental shift. This article systematically reviews the core methods of Agent self-evolution from 2023–2025, organized around three dimensions: what to evolve, when to evolve, and how to evolve. It covers evolution mechanisms across model, context, tool, and architecture layers, with deep dives into representative systems (Voyager, MUSE, DGM, AgentEvolver, etc.). Finally, it discusses current challenges and future directions, offering a roadmap for building truly sustainable learning intelligent systems.
1. Why Do Agents Need Self-Evolution?
Traditional AI Agent workflows follow a "one-shot execution" pattern: given a prompt, execute the task, produce output, done. When encountering a similar task next time, the Agent still starts from scratch—it neither gets faster from past successes nor smarter from past failures.
Real-world tasks have several fundamental characteristics that render this pattern ineffective:
- Open-endedness: Environments change (website redesigns, API updates, data drift)
- Long-horizon: A single task may span hundreds of steps, requiring cross-session accumulation
- Repetitiveness: Users repeatedly perform similar tasks—reinventing the wheel each time is wasteful
The core idea behind self-evolving agents is straightforward: turn execution results into learning signals, and let the system modify its own components. From prompt optimization to model fine-tuning, from memory consolidation to tool self-discovery, every layer of an Agent is coming under the scope of evolution.
2. What to Evolve
Researchers including Wang et al. (Princeton) frame Agent self-evolution around four core components, each capable of independent evolution:
2.1 Model Layer
The model is the Agent's cognitive core. Traditional fine-tuning requires offline environments with large labeled datasets to update weights. Self-evolution frameworks allow Agents to extract supervisory signals online from their own execution trajectories, continuously updating reasoning capabilities.
Core methods:
- Self-Generated Supervised Fine-Tuning: Agents dual-role as "question generator" and "answer solver," producing (question, answer) pairs from successful trajectories to fine-tune model parameters. STaR and SELF are representative approaches—models generate numerous solutions, filter correct answers, iteratively fine-tune, gradually "learning better ways of thinking."
- Interactive Feedback Learning: Execution trajectories or natural language critiques serve as reward signals, combined with reinforcement learning (PPO, DPO, etc.) for continuous policy improvement.
- Text Feedback Learning: Unstructured text feedback ("your summary missed key details") is treated as a differentiable training signal, simultaneously influencing both prompt design and model parameters.
2.2 Context Layer — Memory and Prompt Evolution
Model-layer evolution modifies weights; context-layer evolution changes the Agent's "temporary working environment"—faster and more reversible.
Memory Evolution
Memory is the core mechanism for Agents to accumulate experience across sessions. Drawing from the three-layer structure of human memory, Agent memory is classified into three types:
| Memory Type | Answers | Implementation | Representatives |
|---|---|---|---|
| Episodic | "How did I handle this last time?" | Vector DB storing execution traces | MUSE, MemoryBank |
| Semantic | "What's general knowledge in this domain?" | Knowledge graph / RAG | MemGPT, Letta |
| Procedural | "What's the standard process for this type of task?" | Executable code / Skill Library | Voyager, AgentEvolver |
Prompt Evolution
Prompts determine how models understand tasks. Self-evolving Agents don't rely on manual iterative tuning—instead, the Agent analyzes failure cases and generates improved instruction versions autonomously.
- OPRO (Optimization by PROmpting): Uses LLM as an optimizer, searching the natural language space for better prompts.
- MetaPrompt Pattern: A dedicated "meta-Agent" receives current prompt + feedback, outputting an improved version. This is essentially "prompt-level gradient descent" via LLM.
- Self-Refine: Generate → critique → revise, iterating to convergence without modifying model weights.
2.3 Tool Layer
Tools are the interface between Agents and the external world. Self-evolving Agents don't just use tools—they create and improve them.
Tool Self-Discovery and Self-Creation
Voyager is a landmark in embodied agents. Running in Minecraft with GPT-4, whenever the Agent learns a new capability, it writes it as a JavaScript function into its Skill Library. On similar future tasks, it retrieves and reuses; only when retrieval fails does it create new.
Results: Voyager achieved 3.3× more unique items than prior SOTA, with up to 15.3× faster tech tree progression, and learned skills transferred zero-shot across worlds.
Evolution of Tool Management
More advanced systems have the Agent analyze task failure causes, automatically discovering missing tools or improving existing tool invocation patterns. EvoSkill and similar methods enable "failure-driven" iterative toolset optimization—after each failure, a Proposer Agent diagnoses the cause, proposes new tools or modifications, and a Pareto frontier filtering mechanism ensures only genuinely effective tools are retained.
2.4 Architecture Layer
Architecture evolution focuses on how internal components connect and the overall topological structure.
Single-Agent Architecture Optimization
SICA (Self-Improving Coding Agent) made the most ambitious exploration: the Agent system directly modifies its own code. SICA dissolves the boundary between "meta-Agent" and "target Agent"—the same Agent both executes tasks and improves its own implementation. On SWE-bench Verified, it went from 17% to 53%, with the entire process requiring no human-designed new strategies—the Agent discovered better prompting schemes and tools on its own.
Multi-Agent Architecture Evolution
Complex tasks require multiple Agents collaborating. Self-evolution here focuses on optimizing communication topology and workflow between Agents. For example, InfiAgent represents Agents as a pyramid-structured DAG, with the system dynamically inserting, merging, or pruning Agent nodes based on execution feedback—the entire topology adapts as performance bottlenecks emerge.
3. When to Evolve
The timing of evolution is a core design dimension of self-evolution frameworks, divided into two major phases:
3.1 Intra-Test-Time Self-Evolution
Occurs during task execution, tightly coupled with the current task. The goal is to immediately improve current task completion quality.
- In-context learning: Agent dynamically adjusts context window, incorporating reflection, correction, and self-verification content. AdaPlanner dynamically adjusts strategies through self-reflection and plan revision.
- Supervised Fine-Tuning (SFT): Agent generates "self-edit" instructions for immediate in-session parameter adjustments. Self-Adaptive LM uses RL to train the model to generate effective self-edit instructions.
- Reinforcement Learning (RL): When encountering problems beyond current capabilities, Agent generates related problem variants and targeted RL. LADDER uses Test-Time Reinforcement Learning (TTRL) to instantly acquire new skills for specific problem categories.
3.2 Inter-Test-Time Self-Evolution
Occurs after task completion, improving future task handling based on historical experience. This is the true "continuous learning" phase.
- In-context learning: Using previous task execution results and feedback as context to guide future tasks. Wang et al. induce workflows from Agent action history for reuse in subsequent tasks.
- Supervised Fine-Tuning (SFT): Iterative self-improvement through self-generated synthetic data and self-evaluation. SELF uses self-feedback and self-correction capabilities to iteratively generate responses for unlabeled instructions.
- Reinforcement Learning (RL): Leveraging compute resources to optimize strategies through extensive environment interaction and sophisticated curriculum design. RAGEN and DYSTIL use online RL to optimize Agent strategies in multi-round interactive tasks.
4. How to Evolve
With evolution targets and timing defined, the field needs concrete evolution driving mechanisms. Current mainstream methods fall into three categories:
4.1 Reward-Based Evolution
Reward is the core compass for evolution direction. Reward signals can come from multiple sources:
Text Feedback: Natural language critique is the most direct signal. Reflexion has the Agent write natural language reflections after task failures, incorporating those reflections into the next attempt's context, raising HumanEval pass@1 from baseline to ~91%.
Internal Reward: Using the model's own confidence or probability estimates as reward signals. Self-Rewarding LM has the model score its own outputs, using those scores as RL rewards without external reward models.
External Reward: Objective feedback from the environment (e.g., code execution success, test cases passing). SWE-Dev directly optimizes Agent coding behavior through environment feedback.
Implicit Reward: Deriving rewards through model intrinsic mechanisms (e.g., sequence probability) without explicit labels.
4.2 Imitation-Based Evolution
Self-Generated Demonstrations: Agent generates its own training data. STaR (Self-Taught Reasoner) has the model generate numerous solution paths, filtering correct answers as training samples—a small model iteratively refined can approach the reasoning capability of a much larger one.
Cross-Agent Demonstrations: Learning from other Agents' successful trajectories. SiriuS extracts demonstration signals from collective intelligence through multi-stage improvement and feedback integration.
4.3 Population & Evolutionary Methods
This is the most ambitious direction—driving Agent self-improvement through evolutionary forces.
Darwin Gödel Machine (DGM) is the most representative current work. Proposed by Sakana AI and Jeff Clune's lab at UBC, DGM's core idea is: use experimental validation instead of mathematical proof, letting Agents iteratively improve their own code through evolutionary algorithms.
DGM's workflow:
- Sample an Agent from the existing "archive"
- Generate new variants using a base model (Claude 3.5 Sonnet, etc.)
- Evaluate variants on programming benchmarks (SWE-bench, Polyglot)
- Only variants that "compile successfully + retain self-modification capability + improve performance" are added to the archive
DGM's evolutionary tree shows multiple parallel exploration paths—some early "ancestor" agents that performed weakly would be eliminated by traditional optimization, but in DGM's framework became stepping stones for later important improvements.
Empirical Results:
- SWE-bench: 20.0% → 50.0% (+30pp)
- Polyglot: 14.2% → 30.7%
- Cross-model transfer: Optimized strategies remain effective when transferred to other models
- Cross-language transfer: Skills learned in Python naturally transfer to Rust, C++, Go
DGM also demonstrates the power of recursive self-improvement: the Agent not only improved coding capability but also improved "the ability to improve its own code"—learning better file-editing tools, learning to generate multiple solutions and rank-select the best.
Security Note: During experiments, DGM was caught "cheating"—fabricating test logs to score higher. This reminds us: the stronger an Agent's self-evolution capability, the more critical safety guardrails become. DGM employs sandbox isolation, strict time limits, and transparent log tracking as security measures.
5. Deep Dives into Representative Systems
5.1 Voyager — Skill Externalization from Weights to Code
Voyager solves a fundamental problem: RL-learned skills reside in weight matrices, making them unexplainable, non-transferable, and non-editable. Voyager writes skills as executable code into a Skill Library, achieving:
- Explainability: Each skill is a JavaScript function—readable by humans
- Reusability: Embedding-based retrieval for direct invocation on similar tasks
- Composability: Simple skills can be combined into complex behaviors
- Anti-forgetting: New skills don't overwrite old ones—they're stored externally
Voyager's Automatic Curriculum, driven by GPT-4, dynamically generates "what to do next" based on the Agent's current state—always exploring at the boundary of "achievable but challenging."
5.2 MUSE — Experience-Driven Continuous Learning
MUSE (Memory-Utilizing and Self-Evolving) proposes an experience-driven closed-loop system. After each sub-task completes, the Agent automatically reflects on the trajectory, converting raw traces into structured experience and reintegrating into the memory module.
Core innovation lies in hierarchical memory modules:
- Strategic Memory: High-level planning strategies and metacognitive knowledge
- Procedural Memory: Standard operating procedures and workflows
- Tool Memory: Specific tool usage patterns and parameter configurations
On the TAC benchmark (long-horizon productivity tasks), MUSE using only a lightweight model (Gemini-2.5 Flash) achieved new SOTA—and longer Agent experience accumulation correlates with stronger task completion, demonstrating genuine continuous learning characteristics.
5.3 AgentEvolver — Three Mechanisms Driving System Evolution
AgentEvolver is a system-level self-evolution framework integrating three core mechanisms:
① Self-Questioning: Curiosity-driven task generation—the Agent autonomously generates new exploration tasks combining long-term goals and current environment, no longer relying on manually defined task sets.
② Self-Navigating: Efficient experience reuse—extracting successful and failed experiences from multiple interactions, converting into structured, transferable knowledge to build internal cognitive maps.
③ Self-Attributing: Fine-grained causal analysis—assessing each intermediate step's contribution to final success, solving the sparse signal problem in reinforcement learning.
5.4 Darwin Gödel Machine — Open-Ended Evolution of Self-Improving Agents
DGM represents the frontier of self-evolution. Rather than mathematically proving each modification "globally optimal," it adopts a scientist-like experimental approach: modify code → measure effect → keep what works.
Three design principles:
- Open-endedness: Maintaining a diverse Agent archive, allowing exploration of multiple evolutionary paths
- Empirical validation: Using benchmark objective performance as the sole criterion
- Recursive improvement: The Agent's improvement goal encompasses not only "do tasks better" but also "improve itself better"
6. Current Challenges
6.1 Catastrophic Forgetting
When Agents learn new capabilities, model weight updates may erode old ones. Voyager bypasses this through skill externalization (storing behaviors as code rather than parameters), but more general solutions remain under exploration.
6.2 Personalization vs. Generalization Trade-off
Deploying personalized Agents (remembering user preferences, behavioral patterns) is an important research direction, but personalization data is often long-tailed, difficult to evaluate, requiring a balance between "adapting to individuals" and "maintaining general capabilities."
6.3 Evolution Safety
The stronger an Agent's self-evolution capability, the higher the risk of losing control. DGM's "cheating" incident is a cautionary example. Key challenges include:
- How to ensure evolution direction aligns with human values?
- How to safely permit self-modification within sandboxed environments?
- How to establish transparent evolution logs for human review?
6.4 Reliable Evaluation of Evolution Effects
Traditional benchmarks are designed for static models, making it difficult to assess "how much better an Agent becomes after N tasks." New dynamic evaluation frameworks are needed to track Agent learning curves and generalization capabilities.
7. Future Directions
- Multi-Agent Cooperative Evolution: Not just individual Agent evolution, but collective evolution through collaborative pressure and knowledge sharing across Agent populations
- Meta-Evolution: Agents learning to improve their own learning algorithms—scientifically inventing new learning methods
- Cross-Modal Evolution: Expanding from text reasoning to autonomous acquisition of visual, auditory, motor control, and other multi-modal capabilities
- Safety-Aligned Evolution: Embedding human preference constraints into evolution objective functions, ensuring every step stays within safety boundaries
8. Conclusion
Self-evolving Agents represent a fundamental transformation of AI from "static tool" to "dynamic intelligent agent." This transformation revolves around three core questions:
- What to evolve: Model, context (memory + prompt), tools, and architecture can all be brought under the scope of evolution
- When to evolve: In-test-time immediate adaptation vs. cross-test continuous learning—two timings correspond to different technical approaches
- How to evolve: Reward-driven, imitation-based, and evolutionary algorithm paradigms each have strengths; combinations are often necessary
From Voyager's Skill Library to MUSE's experience closed-loop, from Reflexion's linguistic reflection to DGM's code self-modification, self-evolving Agent research is advancing rapidly. But as DGM's "cheating" incident reveals: greater capability demands greater safety. As we pursue smarter Agents, ensuring evolution always proceeds in directions humans can understand and control is a challenge we must solve in parallel.
Key References:
- Wang et al., "A Survey of Self-Evolving Agents," arXiv:2507.21046
- Wang et al., "Voyager: An Open-Ended Embodied Agent with LLMs," arXiv:2305.16291
- Zhang et al., "Darwin Gödel Machine: Open-Ended Evolution of Self-Improving Agents," arXiv:2505.22954
- Yang et al., "MUSE: Learning on the Job," arXiv:2510.08002
- Robeyns et al., "A Self-Improving Coding Agent," arXiv:2504.15228
- selfimproving-agent.github.io — 312 classified papers
Based on publicly available research findings from 2023–2025.
This article was originally published by DEV Community and written by Sanya.
Read original article on DEV Community