$A^2Flow:$ Automating Agentic Workflow Generation via Self-Adaptive Abstraction Operators

Mingming Zhao, Xiaokang Wei, Yuanqi Shao, Kaiwen Zhou, Lin Yang +3 more
11/23/2025
cs.AIcs.MA

Official code: pandawei-ele/A2FLOW (5 stars, last commit 2025-11-12).

Abstract

Large language models (LLMs) have shown strong potential in automating the design of agentic workflows. However, existing methods still rely heavily on manually predefined operators, limiting generalization and scalability. To address this issue, we propose $A^2Flow$, a fully automated framework for agentic workflow generation based on self-adaptive abstraction operators. $A^2Flow$ employs a three-stage operator extraction process: 1) Case-based Initial Operator Generation: leveraging expert demonstrations and LLM reasoning to generate case-specific operators; 2) Operator Clustering and Preliminary Abstraction: grouping similar operators across tasks to form preliminary abstractions; and 3) Deep Extraction for Abstract Execution Operators: applying long chain-of-thought prompting and multi-path reasoning to derive compact and generalizable execution operators. These operators serve as reusable building blocks for workflow construction without manual predefinition. Furthermore, we enhance node-level workflow search with an operator memory mechanism, which retains historical outputs to enrich context and improve decision-making. Experiments on general and embodied benchmarks show that $A^2Flow$ achieves a 2.4\% and 19.3\% average performance improvement and reduces resource usage by 37\% over state-of-the-art baselines. Homepage:https://github.com/pandawei-ele/A2FLOW

View on arXivView PDF

Code Implementations(1)

A2Flow: Automating Agentic Workflow Generation via Self-Adaptive Abstraction Operators

50Nov 12, 202511 months ago

Similar Papers

Cite this paper

@article{zhao2025aflow,
  title  = {$A^2Flow:$ Automating Agentic Workflow Generation via Self-Adaptive Abstraction Operators},
  author = {Mingming Zhao and Xiaokang Wei and Yuanqi Shao and Kaiwen Zhou and Lin Yang and Siwei Rao and Junhui Zhan and Zhitang Chen},
  year   = {2025},
  eprint = {2511.20693},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.20693v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2511.20693.svg)](https://codeofpaper.com/paper/2511.20693)

Discussion