Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Zhang, Zhang, Lu, Shuqi, Qian, Hongjin, He, Di, Liu, Zheng
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:https://arxiv.org/abs/2603.18000
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866908898248622080
author Zhang, Zhang
Lu, Shuqi
Qian, Hongjin
He, Di
Liu, Zheng
author_facet Zhang, Zhang
Lu, Shuqi
Qian, Hongjin
He, Di
Liu, Zheng
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2603_18000
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle AgentFactory: A Self-Evolving Framework Through Executable Subagent Accumulation and Reuse
Zhang, Zhang
Lu, Shuqi
Qian, Hongjin
He, Di
Liu, Zheng
Artificial Intelligence
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.
title AgentFactory: A Self-Evolving Framework Through Executable Subagent Accumulation and Reuse
topic Artificial Intelligence
url https://arxiv.org/abs/2603.18000