atlas

Research map / Large language models / Agents, code and math

AFlow: Automating Agentic Workflow Generation

ICLR 2025 · Large language models › Agents, code and math · approach: LLMs for optimization and heuristics · 7 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes AFlow, which automates generation and optimization of agentic workflows by searching over code-represented workflows with MCTS guided by execution feedback.

Problem

Constructing agentic workflows for LLMs requires substantial human effort, limiting scalability and generalizability; the paper targets automating workflow generation and optimization.

Approach

Represents workflows as code-based node graphs and searches over them with Monte Carlo tree search, where an LLM-based optimizer rewrites workflow nodes and edges using execution feedback on validation tasks.

Key results

Limitations

Experimental setup

Datasets: HumanEval MBPP GSM8K MATH HotpotQA DROP

Benchmarks: HumanEval MBPP GSM8K MATH HotpotQA DROP

Metrics: accuracy pass@1 F1 cost

Baselines: CoT ComplexCoT MultiPersona Self-Consistency LLM-Debate Self-Refine ADAS AutoAgents

Builds on: chain-of-thought ReAct MaAS AutoGPT

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy