AgentEvo: cost-aware agentic workflow generation via adaptive multi-stage evolution
The automation of agentic workflow generation is increasingly important for deploying LLMs in complex tasks. However, current optimization methods often incur substantial token-based cost due to structural redundancy and token inflation, a phenomenon we term empirical additive bias exhibited by LLM-based optimizers under workflow-improvement optimization prompts. To address this, we propose AgentEvo, a cost-aware framework for agentic workflow generation that balances accuracy and token-based cost without human intervention. Specifically, we introduce (1) an adaptive multi-stage evolution strategy that decouples exploration, refinement, and crossover for redundancy pruning and operator fusion, and (2) a cost-aware parent-selection policy that preserves diverse Pareto-optimal candidates. Experimental evaluations on the MATH, GSM8K, HumanEval, and MBPP benchmarks show that AgentEvo consistently improves the accuracy–cost trade-offs over strong automated workflow optimization baselines. On MATH it attains an accuracy of 52.47% while reducing the average computational cost by 40% relative to the strongest baseline.
Authors
- Ke Xu (ORCID: https://orcid.org/0000-0001-5855-3810)
- Haiyang Liu (ORCID: https://orcid.org/0000-0003-0397-5770)
- Xi Zhang (ORCID: https://orcid.org/0000-0002-4638-3997)
- Bo Xiao
- Yitong Wang
- Yanning Hou
Institutions
- Anhui University (CN)
Publication Details
- Journal
- Complex & Intelligent Systems
- Published
- 2026-05-22
- DOI
- https://doi.org/10.1007/s40747-026-02325-0
- Primary Topic
- Scientific Computing and Data Management
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Innovative Research Group Project of the National Natural Science Foundation of China
- National Natural Science Foundation of China
- Key Technologies Research and Development Program