FlowAgent: Achieving Compliance and Flexibility for Workflow Agents
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
The integration of workflows with large language models (LLMs) enables LLM-based agents to execute predefined procedures, enhancing automation in real-world applications. Traditional rule-based methods tend to limit the inherent flexibility of LLMs, as their predefined execution paths restrict the models' action space, particularly when the unexpected, out-of-workflow (OOW) queries are encountered. Conversely, prompt-based methods allow LLMs to fully control the flow, which can lead to diminished enforcement of procedural compliance. To address these challenges, we introduce FlowAgent, a novel agent framework designed to maintain both compliance and flexibility. We propose the Procedure Description Language (PDL), which combines the adaptability of natural language with the precision of code to formulate workflows. Building on PDL, we develop a comprehensive framework that empowers LLMs to manage OOW queries effectively, while keeping the execution path under the supervision of a set of controllers. Additionally, we present a new evaluation methodology to rigorously assess an LLM agent's ability to handle OOW scenarios, going beyond routine flow compliance tested in existing benchmarks. Experiments on three datasets demonstrate that FlowAgent not only adheres to workflows but also effectively manages OOW queries, highlighting its dual strengths in compliance and flexibility. The code is available at https://github.com/Lightblues/FlowAgent.
Key facts. Cited by 18 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 2 of its 33 references that are in the map. First posted on arXiv 20 Feb 2025.
Builds on
2 of 33 references.
References · 2
Built on by
Citing papers per year: 2025: 4; 2026: 14.
18 papers.
Sort:
By area:
- 2026Natural-Language Agent Harnessescited by 54
- 2025Get Experience from Practice: LLM Agents with Record & Replaycited by 22
- 2025Position: The Real Barrier to LLM Agent Usability is Agentic ROIcited by 12
- 2025CangLing-KnowFlow: A Unified Knowledge-and-Flow-fused Agent for Comprehensive Remote Sensing Applicationscited by 7
- 2025MindWatcher: Toward Smarter Multimodal Tool-Integrated Reasoningcited by 6
- 2026Evolving from Tool User to Creator via Training-Free Experience Reuse in Multimodal Reasoningcited by 6
- 2026Compile, Then Page: Executable SOP Programs and a Capability-Gated Runtime for Procedural LLM Agentscited by 4
- 2026Execution-State-Aware LLM Reasoning for Automated Proof-of-Vulnerability Generationcited by 3
- 2026Chat2Workflow: A Benchmark for Generating Executable Visual Workflows with Natural Languagecited by 2
- 2026PolicyGuide: From Guarding One Action to Guiding the Whole Workflow for Policy-Compliant LLM Agentscited by 2
- 2026Evaluating the Search Agent in a Parallel Worldcited by 1
- 2026Tools as Continuous Flow for Evolving Agentic Reasoningcited by 1
6 more
- 2026COVENANT: Natural-Language Workflow Compilation for Aligned Agent Executioncited by 1
- 2026Vibe AIGC: A New Paradigm for Content Generation via Agentic Orchestrationcited by 0
- 2026DiagFlowBench: Evaluating How Language Models Handle Off-Procedure Inputs in Grounded Diagnostic Dialoguecited by 0
- 2026Specifying AI-SDLC Processes: A Protocol Language for Human-Agent Boundariescited by 0
- 2026Natural-Language Workflows Are Not Software Yet: Artifact-Driven Compilation for Reliable Agent Executioncited by 0
- 2026How Strongly Should Task State Influence an LLM Agent?cited by 0
- 2026How Strongly Should Task State Influence an LLM Agent?22 Sep 2026
- 2026Natural-Language Workflows Are Not Software Yet: Artifact-Driven Compilation for Reliable Agent Execution21 Aug 2026
- 2026PolicyGuide: From Guarding One Action to Guiding the Whole Workflow for Policy-Compliant LLM Agents20 Aug 2026
- 2026COVENANT: Natural-Language Workflow Compilation for Aligned Agent Execution28 Jul 2026
- 2026Compile, Then Page: Executable SOP Programs and a Capability-Gated Runtime for Procedural LLM Agents13 Jul 2026
- 2026DiagFlowBench: Evaluating How Language Models Handle Off-Procedure Inputs in Grounded Diagnostic Dialogue16 Jun 2026
- 2026Specifying AI-SDLC Processes: A Protocol Language for Human-Agent Boundaries24 May 2026
- 2026Tools as Continuous Flow for Evolving Agentic Reasoning8 May 2026
- 2026Chat2Workflow: A Benchmark for Generating Executable Visual Workflows with Natural Language21 Apr 2026
- 2026Natural-Language Agent Harnesses26 Mar 2026
- 2026Evaluating the Search Agent in a Parallel World5 Mar 2026
- 2026Execution-State-Aware LLM Reasoning for Automated Proof-of-Vulnerability Generation14 Feb 2026
6 more
- 2026Vibe AIGC: A New Paradigm for Content Generation via Agentic Orchestration4 Feb 2026
- 2026Evolving from Tool User to Creator via Training-Free Experience Reuse in Multimodal Reasoning2 Feb 2026
- 2025MindWatcher: Toward Smarter Multimodal Tool-Integrated Reasoning29 Dec 2025
- 2025CangLing-KnowFlow: A Unified Knowledge-and-Flow-fused Agent for Comprehensive Remote Sensing Applications17 Dec 2025
- 2025Position: The Real Barrier to LLM Agent Usability is Agentic ROI23 May 2025
- 2025Get Experience from Practice: LLM Agents with Record & Replay23 May 2025
- 2025Get Experience from Practice: LLM Agents with Record & Replaycited by 22
- 2025Position: The Real Barrier to LLM Agent Usability is Agentic ROIcited by 12
- 2025CangLing-KnowFlow: A Unified Knowledge-and-Flow-fused Agent for Comprehensive Remote Sensing Applicationscited by 7
- 2025MindWatcher: Toward Smarter Multimodal Tool-Integrated Reasoningcited by 6
- 2026Compile, Then Page: Executable SOP Programs and a Capability-Gated Runtime for Procedural LLM Agentscited by 4
- 2026Evaluating the Search Agent in a Parallel Worldcited by 1
- 2026COVENANT: Natural-Language Workflow Compilation for Aligned Agent Executioncited by 1
- 2026Vibe AIGC: A New Paradigm for Content Generation via Agentic Orchestrationcited by 0
- 2026Specifying AI-SDLC Processes: A Protocol Language for Human-Agent Boundariescited by 0
- 2026Natural-Language Workflows Are Not Software Yet: Artifact-Driven Compilation for Reliable Agent Executioncited by 0
- 2026How Strongly Should Task State Influence an LLM Agent?cited by 0
- 2026How Strongly Should Task State Influence an LLM Agent?22 Sep 2026
- 2026Natural-Language Workflows Are Not Software Yet: Artifact-Driven Compilation for Reliable Agent Execution21 Aug 2026
- 2026COVENANT: Natural-Language Workflow Compilation for Aligned Agent Execution28 Jul 2026
- 2026Compile, Then Page: Executable SOP Programs and a Capability-Gated Runtime for Procedural LLM Agents13 Jul 2026
- 2026Specifying AI-SDLC Processes: A Protocol Language for Human-Agent Boundaries24 May 2026
- 2026Evaluating the Search Agent in a Parallel World5 Mar 2026
- 2026Vibe AIGC: A New Paradigm for Content Generation via Agentic Orchestration4 Feb 2026
- 2025MindWatcher: Toward Smarter Multimodal Tool-Integrated Reasoning29 Dec 2025
- 2025CangLing-KnowFlow: A Unified Knowledge-and-Flow-fused Agent for Comprehensive Remote Sensing Applications17 Dec 2025
- 2025Position: The Real Barrier to LLM Agent Usability is Agentic ROI23 May 2025
- 2025Get Experience from Practice: LLM Agents with Record & Replay23 May 2025
- 2026Natural-Language Agent Harnessescited by 54
- 2026Chat2Workflow: A Benchmark for Generating Executable Visual Workflows with Natural Languagecited by 2
- 2026PolicyGuide: From Guarding One Action to Guiding the Whole Workflow for Policy-Compliant LLM Agentscited by 2
- 2026DiagFlowBench: Evaluating How Language Models Handle Off-Procedure Inputs in Grounded Diagnostic Dialoguecited by 0
- 2026PolicyGuide: From Guarding One Action to Guiding the Whole Workflow for Policy-Compliant LLM Agents20 Aug 2026
- 2026DiagFlowBench: Evaluating How Language Models Handle Off-Procedure Inputs in Grounded Diagnostic Dialogue16 Jun 2026
- 2026Chat2Workflow: A Benchmark for Generating Executable Visual Workflows with Natural Language21 Apr 2026
- 2026Natural-Language Agent Harnesses26 Mar 2026
Similar, not cited
Close in wording, no citation either way
- 2024AutoFlow: Automated Workflow Generation for Large Language Model Agents
- 2026AgentSPEX: An Agent SPecification and EXecution Language
- 2026Beyond Generalist LLMs: Specialist Agentic Systems for Structured Code Workflow Execution
- 2026Characterizing Large Language Model Agentic Workflows: A Study on N8n Ecosystem
- 2026FlowScout: From Execution Feedback to Reliable Tool-Using Agent Workflows
- 2024WorkflowLLM: Enhancing Workflow Orchestration Capability of Large Language Models
- 2026From Static Templates to Dynamic Runtime Graphs: A Survey of Workflow Optimization for LLM Agents
- 2025Flow: Modularized Agentic Workflow Automation