mlsanityData to 14 Oct 2026

Software Self-Extension with SelfEvolve: an Agentic Architecture for Runtime Code Generation

arXiv 2604.16314 ↗First posted 6 Feb 2026cs.SEcited by 0

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

Traditional self-adaptive systems automatically reconfigure existing components in response to changing requirements, but provide limited support for the generation of novel functionalities. The software generation capabilities of large language models (LLMs) open the possibility to create entirely new modules at runtime, enabling a form of self-evolution beyond traditional self-adaptation. We present SelfEvolve, an orchestrated agentic pipeline architecture enabling runtime self-extension--the autonomous addition of new capabilities during execution--as a preliminary form of self-evolution. Self-extension focuses on the autonomous generation and integration of new functions, based on user requests, without requiring a system restart or developer intervention. Evaluation of our architecture across 11 self-extension tasks demonstrates an average Pass@1 of 92.7% (51/55), outperforming developer-focused code generation baselines like AutoGen, MetaGPT, and AgentCoder. SelfEvolve achieves 61.8% improvement over the best baseline, i.e. Autogen, with statistical significance. This work demonstrates the feasibility of runtime capability extension through autonomous code generation. This provides preliminary evidence for a paradigm in which systems autonomously evolve to satisfy user needs, paving the way towards individualised, self-improving systems.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 14 of its 32 references that are in the map. First posted on arXiv 6 Feb 2026.

Builds on

14 of 32 references.

Closest ancestors · 2

Same direction, newest first

  1. 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation16 Aug
  2. 2023Self-collaboration Code Generation via ChatGPT15 Apr

Other references · 12

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  2. 2021Program Synthesis with Large Language Modelscited by 3,637
  3. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
  4. 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,808
  5. 2023Teaching Large Language Models to Self-Debugcited by 988
  6. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
  7. 2025A Comprehensive Survey of Self-Evolving AI Agents: A New Paradigm Bridging Foundation Models and Lifelong Agentic Systemscited by 183
  8. 2023Self-planning Code Generation with Large Language Modelscited by 124
  9. 2024Evolutionary Computation in the Era of Large Language Model: Survey and Roadmapcited by 90
  10. 2022Natural Language to Code Generation in Interactive Data Science Notebookscited by 87
  11. 2024Safeguarding Large Language Models: A Surveycited by 78
  12. 2023Exploring the Potential of ChatGPT in Automated Code Refinement: An Empirical Studycited by 44

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Self-Evolving Coding Agents
  2. 2026SEMAG: Self-Evolutionary Multi-Agent Code Generation
  3. 2024Self-Organized Agents: A LLM Multi-Agent Framework toward Ultra Large-Scale Code Generation and Optimization
  4. 2025SEW: Self-Evolving Agentic Workflows for Automated Code Generation
  5. 2026Self-Evolving Software Agents
  6. 2026MOSS: Self-Evolution through Source-Level Rewriting in Autonomous Agent Systems
  7. 2026Constraint Decay: The Fragility of LLM Agents in Backend Code Generation
  8. 2025A Survey on Code Generation with LLM-based Agents