AgentFactory: A Self-Evolving Framework Through Executable Subagent Accumulation and Reuse
On the map: LLM agents and tool use → General LLM agent frameworks and benchmarks
also in 1 more
Abstract (arXiv)
Building LLM-based agents has become increasingly important. Recent works on LLM-based agent self-evolution primarily record successful experiences as textual prompts or reflections, which cannot reliably guarantee efficient task re-execution in complex scenarios. We propose AgentFactory, a new self-evolution paradigm that preserves successful task solutions as executable subagent code rather than textual experience. Crucially, these subagents are continuously refined based on execution feedback, becoming increasingly robust and efficient as more tasks are encountered. Saved subagents are pure Python code with standardized documentation, enabling portability across any Python-capable system. We demonstrate that AgentFactory enables continuous capability accumulation: its library of executable subagents grows and improves over time, progressively reducing the effort required for similar tasks without manual intervention. Our implementation is open-sourced at https://github.com/zzatpku/AgentFactory, and our demonstration video is available at https://youtu.be/iKSsuAXJHW0.
Key facts. Cited by 4 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 10 of its 35 references that are in the map. First posted on arXiv 18 Mar 2026.
Builds on
10 of 35 references.
Closest ancestors · 3
Same direction, newest first
- 2025Darwin Godel Machine: Open-Ended Evolution of Self-Improving Agents29 May
- 2023The Rise and Potential of Large Language Model Based Agents: A Survey14 Sep
- 2023A Survey on Large Language Model based Autonomous Agents22 Aug
Other references · 7
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2025A-MEM: Agentic Memory for LLM Agentscited by 1,000
- 2023ChatDev: Communicative Agents for Software Developmentcited by 893
- 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolutioncited by 521
- 2023PromptAgent: Strategic Planning with Language Models Enables Expert-level Prompt Optimizationcited by 226
- 2025MEM1: Learning to Synergize Memory and Reasoning for Efficient Long-Horizon Agentscited by 226
- 2023EvoPrompt: Connecting LLMs with Evolutionary Algorithms Yields Powerful Prompt Optimizerscited by 189
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026OpenSkill: Open-World Self-Evolution for LLM Agentscited by 9
- 2026Dynamic Agent Skills: A Lifecycle Survey and Taxonomy of Evolving Skill Librariescited by 6
- 2026Continual Learning in Transitioncited by 0
- 2026Do Self-Evolving Skills Generalize to Held-Out Tasks?cited by 0
- 2026Do Self-Evolving Skills Generalize to Held-Out Tasks?30 Sep 2026
- 2026Continual Learning in Transition6 Aug 2026
- 2026Dynamic Agent Skills: A Lifecycle Survey and Taxonomy of Evolving Skill Libraries11 Jul 2026
- 2026OpenSkill: Open-World Self-Evolution for LLM Agents4 Jun 2026
Similar, not cited
Close in wording, no citation either way
- 2026MOSS: Self-Evolution through Source-Level Rewriting in Autonomous Agent Systems
- 2026AgentFactory: Towards Automated Agentic System Design and Optimization
- 2026SEAGym: An Evaluation Environment for Self-Evolving LLM Agents
- 2026Socratic-SWE: Self-Evolving Coding Agents via Trace-Derived Agent Skills
- 2024MOSS: Enabling Code-Driven Evolution and Context Management for AI Agents
- 2026ADK Arena: Evaluating Agent Development Kits via LLM-as-a-Developer
- 2026AOrchestra: Automating Sub-Agent Creation for Agentic Orchestration
- 2026MetaSkill-Evolve: Recursive Self-Improvement of LLM Agents via Two-Timescale Meta-Skill Evolution