AutoFlow: Automated Workflow Generation for Large Language Model Agents
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Recent advancements in Large Language Models (LLMs) have shown significant progress in understanding complex natural language. One important application of LLM is LLM-based AI Agent, which leverages the ability of LLM as well as external tools for complex-task solving. To make sure LLM Agents follow an effective and reliable procedure to solve the given task, manually designed workflows are usually used to guide the working mechanism of agents. However, manually designing the workflows requires considerable efforts and domain knowledge, making it difficult to develop and deploy agents on massive scales. To address these issues, we propose AutoFlow, a framework designed to automatically generate workflows for agents to solve complex tasks. AutoFlow takes natural language program as the format of agent workflow and employs a workflow optimization procedure to iteratively optimize the workflow quality. Besides, this work offers two workflow generation methods: fine-tuning-based and in-context-based methods, making the AutoFlow framework applicable to both open-source and closed-source LLMs. Experimental results show that our framework can produce robust and reliable agent workflows. We believe that the automatic generation and interpretation of workflows in natural language represent a promising paradigm for solving complex tasks, particularly with the rapid development of LLMs. The source code of this work is available at https://github.com/agiresearch/AutoFlow.
Key facts. Cited by 76 papers in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 32 of its 49 references that are in the map. First posted on arXiv 1 Jul 2024.
Builds on
32 of 49 references.
Closest ancestors · 1
Same direction, newest first
Other references · 31
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
- 2021CLIPScore: A Reference-free Evaluation Metric for Image Captioningcited by 2,388
- 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
- 2018DARTS: Differentiable Architecture Searchcited by 1,782
- 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,422
- 2023CAMEL: Communicative Agents for "Mind" Exploration of Large Language Model Societycited by 1,348
- 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,057
- 2018Regularized Evolution for Image Classifier Architecture Searchcited by 902
19 more
- 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
- 2023Reasoning with Language Model is Planning with World Modelcited by 846
- 2018Efficient Neural Architecture Search via Parameter Sharingcited by 831
- 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 803
- 2023LLM+P: Empowering Large Language Models with Optimal Planning Proficiencycited by 496
- 2024TravelPlanner: A Benchmark for Real-World Planning with Language Agentscited by 385
- 2020Visual Transformers: Token-based Image Representation and Processing for Computer Visioncited by 333
- 2022Demonstrate-Search-Predict: Composing retrieval and language models for knowledge-intensive NLPcited by 316
- 2023OpenAGI: When LLM Meets Domain Expertscited by 196
- 2024StateFlow: Enhancing LLM Task-Solving through State-Driven Workflowscited by 65
- 2017Simple And Efficient Architecture Search for Convolutional Neural Networkscited by 40
- 2024Formal-LLM: Integrating Formal Language and Natural Language for Controllable LLM-based Agentscited by 39
- 2023LLM as OS, Agents as Apps: Envisioning AIOS, Agents and the AIOS-Agent Ecosystemcited by 35
- 2024FlowMind: Automatic Workflow Generation with LLMscited by 30
- 2023Flows: Building Blocks of Reasoning and Collaborating AIcited by 25
- 2018GNAS: A Greedy Neural Architecture Search Method for Multi-Attribute Learningcited by 17
- 2023GPT is becoming a Turing machine: Here are some ways to program itcited by 16
- 2020VEST: Automatic Feature Engineering for Forecastingcited by 14
- 2022AutoLossGen: Automatic Loss Function Generation for Recommender Systemscited by 10
Built on by
Citing papers per year: 2024: 9; 2025: 37; 2026: 30.
76 papers.
Sort:
By area:
- 2025Agent Laboratory: Using LLM Agents as Research Assistantscited by 405
- 2024AFlow: Automating Agentic Workflow Generationcited by 395
- 2024Automated Design of Agentic Systemscited by 360
- 2025A Survey of Self-Evolving Agents: What, When, How, and Where to Evolve on the Path to Artificial Super Intelligencecited by 155
- 2024AgentSquare: Automatic LLM Agent Search in Modular Design Spacecited by 141
- 2025Multi-Agent Design: Optimizing Agents with Better Prompts and Topologiescited by 106
- 2025FlowReasoner: Reinforcing Query-Level Meta-Agentscited by 56
- 2026Natural-Language Agent Harnessescited by 54
- 2025FLEX: Continuous Agent Evolution via Forward Learning from Experiencecited by 51
- 2025ScoreFlow: Mastering LLM Agent Workflows via Score-based Preference Optimizationcited by 50
- 2025LLM-based Agents Suffer from Hallucinations: A Survey of Taxonomy, Methods, and Directionscited by 49
- 2026A Survey of Agentic Reasoning for Large Language Models: Towards Recursively Self-Improving and Collective Agentscited by 47
38 more
- 2025EvoAgentX: An Automated Framework for Evolving Agentic Workflowscited by 43
- 2024Benchmarking Agentic Workflow Generationcited by 36
- 2024ComfyBench: Benchmarking LLM-based Agents in ComfyUI for Autonomously Designing Collaborative AI Systemscited by 30
- 2024WorkflowLLM: Enhancing Workflow Orchestration Capability of Large Language Modelscited by 28
- 2026From Static Templates to Dynamic Runtime Graphs: A Survey of Workflow Optimization for LLM Agentscited by 22
- 2026From Failed Trajectories to Reliable LLM Agents: Diagnosing and Repairing Harness Flawscited by 21
- 2025Weak-for-Strong: Training Weak Meta-Agent to Harness Strong Executorscited by 20
- 2025AI Scientists Fail Without Strong Implementation Capabilitycited by 20
- 2025RobustFlow: Towards Robust Agentic Workflow Generationcited by 19
- 2025Failure-Driven Workflow Refinementcited by 19
- 2025A Survey on Agentic Multimodal Large Language Modelscited by 19
- 2025SwarmAgentic: Towards Fully Automated Agentic System Generation via Swarm Intelligencecited by 17
- 2025A Survey on Agent Workflow -- Status and Futurecited by 14
- 2026MemoHarness: Agent Harnesses That Learn from Experiencecited by 14
- 2026Harness-R1: Learning to Edit Executable Runtime Harnesses from Agent Failure Trajectoriescited by 13
- 2025DebFlow: Automating Agent Creation via Agent Debatecited by 10
- 2025Sherlock: Reliable and Efficient Agentic Workflow Executioncited by 10
- 2026Agentic Environment Engineering for Large Language Models: A Survey of Environment Modeling, Synthesis, Evaluation, and Applicationcited by 8
- 2025GeoFlow: Agentic Workflow Automation for Geospatial Taskscited by 7
- 2026WirelessAgent++: Automated Agentic Workflow Design and Benchmarking for Wireless Networkscited by 7
- 2024MineAgent: Towards Remote-Sensing Mineral Exploration with Multimodal Large Language Modelscited by 6
- 2025Fine-Tune an SLM or Prompt an LLM? The Case of Generating Low-Code Workflowscited by 6
- 2025PowerChain: A Verifiable Agentic AI System for Automating Distribution Grid Analysescited by 6
- 2026HELIX: Model-Harness Co-evolution for Recursive Self-Improvementcited by 6
- 2025Inefficiencies of Meta Agents for Agent Designcited by 5
- 2025Cache Mechanism for Agent RAG Systemscited by 5
- 2026A-MapReduce: Executing Wide Search via Agentic MapReducecited by 5
- 2025Compound AI Systems Optimization: A Survey of Methods, Challenges, and Future Directionscited by 4
- 2025AdaptFlow: Adaptive Workflow Optimization via Meta-Learningcited by 4
- 2025Experience-Guided Adaptation of Inference-Time Reasoning Strategiescited by 3
- 2026GraphFlow: A Graph-Based Workflow Management for Efficient LLM-Agent Servingcited by 3
- 2026BayesFlow: A Probability Inference Framework for Meta-Agent Assisted Workflow Generationcited by 2
- 2026Exploration and Exploitation Errors Are Measurable for Language Model Agentscited by 2
- 2026Small Model as Master Orchestrator: Learning Unified Agent-Tool Orchestration with Parallel Subtask Decompositioncited by 2
- 2026Chat2Workflow: A Benchmark for Generating Executable Visual Workflows with Natural Languagecited by 2
- 2024Action Engine: Automatic Workflow Generation in FaaScited by 1
- 2024Bel Esprit: Multi-Agent Framework for Building AI Model Pipelinescited by 1
- 2025AIAP: A No-Code Workflow Builder for Non-Experts with Natural Language and Multi-Agent Collaborationcited by 1
50 most cited of 76 All 76 (JSON)
- 2026Robust Workflow Generation via Adversarial Learning for Audio Deepfake Detection17 Sep 2026
- 2026Natural-Language Workflows Are Not Software Yet: Artifact-Driven Compilation for Reliable Agent Execution21 Aug 2026
- 2026Graph Engineering in the Era of LLM Agents: From Individual Intelligence to System Intelligence21 Aug 2026
- 2026HELIX: Model-Harness Co-evolution for Recursive Self-Improvement14 Aug 2026
- 2026FlowScout: From Execution Feedback to Reliable Tool-Using Agent Workflows10 Aug 2026
- 2026ADIAS: Automated Design of Interactive Agentic Systems3 Aug 2026
- 2026Harness-R1: Learning to Edit Executable Runtime Harnesses from Agent Failure Trajectories3 Aug 2026
- 2026Progressive Agent Skill Generation via Reinforcement Learning3 Aug 2026
- 2026DataFlow-Harness: A Grounded Code-Agent Platform for Constructing Editable LLM Data Pipelines18 Jul 2026
- 2026MemoHarness: Agent Harnesses That Learn from Experience14 Jul 2026
- 2026From Search to Synthesis: Training LLMs as Zero-Shot Workflow Generators29 Jun 2026
- 2026Agentic Environment Engineering for Large Language Models: A Survey of Environment Modeling, Synthesis, Evaluation, and Application10 Jun 2026
38 more
- 2026From Failed Trajectories to Reliable LLM Agents: Diagnosing and Repairing Harness Flaws4 Jun 2026
- 2026A Sober Look at Agentic Misalignment in Automated Workflows22 May 2026
- 2026GraphFlow: A Graph-Based Workflow Management for Efficient LLM-Agent Serving21 May 2026
- 2026Coupled Hierarchical Search over Topology and Execution for Agentic Workflow Synthesis20 May 2026
- 2026AgentCo-op: Retrieval-Based Synthesis of Interoperable Multi-Agent Workflows19 May 2026
- 2026Chat2Workflow: A Benchmark for Generating Executable Visual Workflows with Natural Language21 Apr 2026
- 2026Post-training is (Massive) Supervised Learning20 Apr 2026
- 2026Small Model as Master Orchestrator: Learning Unified Agent-Tool Orchestration with Parallel Subtask Decomposition18 Apr 2026
- 2026Exploration and Exploitation Errors Are Measurable for Language Model Agents14 Apr 2026
- 2026Natural-Language Agent Harnesses26 Mar 2026
- 2026From Static Templates to Dynamic Runtime Graphs: A Survey of Workflow Optimization for LLM Agents23 Mar 2026
- 2026WirelessAgent++: Automated Agentic Workflow Design and Benchmarking for Wireless Networks28 Feb 2026
- 2026FlowMind: Execute-Summarize for Structured Workflow Generation from LLM Reasoning12 Feb 2026
- 2026Vibe AIGC: A New Paradigm for Content Generation via Agentic Orchestration4 Feb 2026
- 2026A-MapReduce: Executing Wide Search via Agentic MapReduce1 Feb 2026
- 2026BayesFlow: A Probability Inference Framework for Meta-Agent Assisted Workflow Generation29 Jan 2026
- 2026SCULPT: Constraint-Guided Pruned MCTS that Carves Efficient Paths for Mathematical Reasoning19 Jan 2026
- 2026A Survey of Agentic Reasoning for Large Language Models: Towards Recursively Self-Improving and Collective Agents18 Jan 2026
- 2025FutureWeaver: Planning Test-Time Compute for Multi-Agent Systems with Modularized Collaboration12 Dec 2025
- 2025GLOW: Graph-Language Co-Encoding for Agentic Workflow Performance Prediction11 Dec 2025
- 2025AnimAgents: Coordinating Multi-Stage Animation Pre-Production with Human-Multi-Agent Collaboration22 Nov 2025
- 2025Experience-Guided Adaptation of Inference-Time Reasoning Strategies14 Nov 2025
- 2025AutoSynth: Automated Workflow Optimization for High-Quality Synthetic Dataset Generation via Monte Carlo Tree Search12 Nov 2025
- 2025FLEX: Continuous Agent Evolution via Forward Learning from Experience9 Nov 2025
- 2025Cache Mechanism for Agent RAG Systems4 Nov 2025
- 2025Sherlock: Reliable and Efficient Agentic Workflow Execution1 Nov 2025
- 2025AutoStreamPipe: LLM Assisted Automatic Generation of Data Stream Processing Pipelines27 Oct 2025
- 2025A Survey on Agentic Multimodal Large Language Models13 Oct 2025
- 2025Failure-Driven Workflow Refinement11 Oct 2025
- 2025Classifier-Augmented Generation for Structured Workflow Prediction10 Oct 2025
- 2025Inefficiencies of Meta Agents for Agent Design8 Oct 2025
- 2025SPOGW: a Score-based Preference Optimization method via Group-Wise comparison for workflows5 Oct 2025
- 2025RobustFlow: Towards Robust Agentic Workflow Generation26 Sep 2025
- 2025LLM-based Agents Suffer from Hallucinations: A Survey of Taxonomy, Methods, and Directions23 Sep 2025
- 2025OnlineMate: An LLM-Based Multi-Agent Companion System for Cognitive Support in Online Learning18 Sep 2025
- 2025(P)rior(D)yna(F)low: A Priori Dynamic Workflow Construction via Multi-Agent Collaboration18 Sep 2025
- 2025PowerChain: A Verifiable Agentic AI System for Automating Distribution Grid Analyses23 Aug 2025
- 2025AdaptFlow: Adaptive Workflow Optimization via Meta-Learning11 Aug 2025
50 newest of 76 All 76 (JSON)
- 2025Agent Laboratory: Using LLM Agents as Research Assistantscited by 405
- 2024Automated Design of Agentic Systemscited by 360
- 2025A Survey of Self-Evolving Agents: What, When, How, and Where to Evolve on the Path to Artificial Super Intelligencecited by 155
- 2024AgentSquare: Automatic LLM Agent Search in Modular Design Spacecited by 141
- 2025Multi-Agent Design: Optimizing Agents with Better Prompts and Topologiescited by 106
- 2025ScoreFlow: Mastering LLM Agent Workflows via Score-based Preference Optimizationcited by 50
- 2025LLM-based Agents Suffer from Hallucinations: A Survey of Taxonomy, Methods, and Directionscited by 49
- 2025EvoAgentX: An Automated Framework for Evolving Agentic Workflowscited by 43
- 2024Benchmarking Agentic Workflow Generationcited by 36
- 2024ComfyBench: Benchmarking LLM-based Agents in ComfyUI for Autonomously Designing Collaborative AI Systemscited by 30
- 2024WorkflowLLM: Enhancing Workflow Orchestration Capability of Large Language Modelscited by 28
- 2026From Static Templates to Dynamic Runtime Graphs: A Survey of Workflow Optimization for LLM Agentscited by 22
12 most cited of 43 All 43 (JSON)
- 2026Natural-Language Workflows Are Not Software Yet: Artifact-Driven Compilation for Reliable Agent Execution21 Aug 2026
- 2026Graph Engineering in the Era of LLM Agents: From Individual Intelligence to System Intelligence21 Aug 2026
- 2026FlowScout: From Execution Feedback to Reliable Tool-Using Agent Workflows10 Aug 2026
- 2026ADIAS: Automated Design of Interactive Agentic Systems3 Aug 2026
- 2026Harness-R1: Learning to Edit Executable Runtime Harnesses from Agent Failure Trajectories3 Aug 2026
- 2026Progressive Agent Skill Generation via Reinforcement Learning3 Aug 2026
- 2026DataFlow-Harness: A Grounded Code-Agent Platform for Constructing Editable LLM Data Pipelines18 Jul 2026
- 2026MemoHarness: Agent Harnesses That Learn from Experience14 Jul 2026
- 2026Agentic Environment Engineering for Large Language Models: A Survey of Environment Modeling, Synthesis, Evaluation, and Application10 Jun 2026
- 2026From Failed Trajectories to Reliable LLM Agents: Diagnosing and Repairing Harness Flaws4 Jun 2026
- 2026A Sober Look at Agentic Misalignment in Automated Workflows22 May 2026
- 2026Coupled Hierarchical Search over Topology and Execution for Agentic Workflow Synthesis20 May 2026
12 newest of 43 All 43 (JSON)
- 2024AFlow: Automating Agentic Workflow Generationcited by 395
- 2025FLEX: Continuous Agent Evolution via Forward Learning from Experiencecited by 51
- 2026A Survey of Agentic Reasoning for Large Language Models: Towards Recursively Self-Improving and Collective Agentscited by 47
- 2025Sherlock: Reliable and Efficient Agentic Workflow Executioncited by 10
- 2025Experience-Guided Adaptation of Inference-Time Reasoning Strategiescited by 3
- 2026GraphFlow: A Graph-Based Workflow Management for Efficient LLM-Agent Servingcited by 3
- 2025FutureWeaver: Planning Test-Time Compute for Multi-Agent Systems with Modularized Collaborationcited by 1
- 2026SCULPT: Constraint-Guided Pruned MCTS that Carves Efficient Paths for Mathematical Reasoningcited by 0
- 2026FlowMind: Execute-Summarize for Structured Workflow Generation from LLM Reasoningcited by 0
- 2026GraphFlow: A Graph-Based Workflow Management for Efficient LLM-Agent Serving21 May 2026
- 2026FlowMind: Execute-Summarize for Structured Workflow Generation from LLM Reasoning12 Feb 2026
- 2026SCULPT: Constraint-Guided Pruned MCTS that Carves Efficient Paths for Mathematical Reasoning19 Jan 2026
- 2026A Survey of Agentic Reasoning for Large Language Models: Towards Recursively Self-Improving and Collective Agents18 Jan 2026
- 2025FutureWeaver: Planning Test-Time Compute for Multi-Agent Systems with Modularized Collaboration12 Dec 2025
- 2025Experience-Guided Adaptation of Inference-Time Reasoning Strategies14 Nov 2025
- 2025FLEX: Continuous Agent Evolution via Forward Learning from Experience9 Nov 2025
- 2025Sherlock: Reliable and Efficient Agentic Workflow Execution1 Nov 2025
- 2024AFlow: Automating Agentic Workflow Generation14 Oct 2024
- 2025A Survey on Agentic Multimodal Large Language Modelscited by 19
- 2025A Survey on Agentic Multimodal Large Language Models13 Oct 2025
- 2025Cache Mechanism for Agent RAG Systemscited by 5
- 2025Cache Mechanism for Agent RAG Systems4 Nov 2025
- 2025FlowReasoner: Reinforcing Query-Level Meta-Agentscited by 56
- 2026Natural-Language Agent Harnessescited by 54
- 2025AI Scientists Fail Without Strong Implementation Capabilitycited by 20
- 2025Failure-Driven Workflow Refinementcited by 19
- 2024MineAgent: Towards Remote-Sensing Mineral Exploration with Multimodal Large Language Modelscited by 6
- 2025Fine-Tune an SLM or Prompt an LLM? The Case of Generating Low-Code Workflowscited by 6
- 2026HELIX: Model-Harness Co-evolution for Recursive Self-Improvementcited by 6
- 2025Compound AI Systems Optimization: A Survey of Methods, Challenges, and Future Directionscited by 4
- 2026Small Model as Master Orchestrator: Learning Unified Agent-Tool Orchestration with Parallel Subtask Decompositioncited by 2
- 2026Chat2Workflow: A Benchmark for Generating Executable Visual Workflows with Natural Languagecited by 2
- 2024Action Engine: Automatic Workflow Generation in FaaScited by 1
- 2024Bel Esprit: Multi-Agent Framework for Building AI Model Pipelinescited by 1
12 most cited of 21 All 21 (JSON)
- 2026Robust Workflow Generation via Adversarial Learning for Audio Deepfake Detection17 Sep 2026
- 2026HELIX: Model-Harness Co-evolution for Recursive Self-Improvement14 Aug 2026
- 2026From Search to Synthesis: Training LLMs as Zero-Shot Workflow Generators29 Jun 2026
- 2026AgentCo-op: Retrieval-Based Synthesis of Interoperable Multi-Agent Workflows19 May 2026
- 2026Chat2Workflow: A Benchmark for Generating Executable Visual Workflows with Natural Language21 Apr 2026
- 2026Post-training is (Massive) Supervised Learning20 Apr 2026
- 2026Small Model as Master Orchestrator: Learning Unified Agent-Tool Orchestration with Parallel Subtask Decomposition18 Apr 2026
- 2026Natural-Language Agent Harnesses26 Mar 2026
- 2025AnimAgents: Coordinating Multi-Stage Animation Pre-Production with Human-Multi-Agent Collaboration22 Nov 2025
- 2025AutoStreamPipe: LLM Assisted Automatic Generation of Data Stream Processing Pipelines27 Oct 2025
- 2025Failure-Driven Workflow Refinement11 Oct 2025
- 2025Classifier-Augmented Generation for Structured Workflow Prediction10 Oct 2025
12 newest of 21 All 21 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2026Characterizing Large Language Model Agentic Workflows: A Study on N8n Ecosystem
- 2025SEW: Self-Evolving Agentic Workflows for Automated Code Generation
- 2026AgentFactory: Towards Automated Agentic System Design and Optimization
- 2024Designing Algorithms Empowered by Language Models: An Analytical Framework, Case Studies, and Insights
- 2025Scaling LLM Planning: NL2FLOW for Parametric Problem Generation and Rigorous Evaluation
- 2025A2Flow: Automating Agentic Workflow Generation via Self-Adaptive Abstraction Operators
- 2026FlowBot: Inducing LLM Workflows with Bilevel Optimization and Textual Gradients
- 2024ChainBuddy: An AI Agent System for Generating LLM Pipelines