mlsanityData to 7 Oct 2026

FlowAgent: Achieving Compliance and Flexibility for Workflow Agents

arXiv 2502.14345 ↗First posted 20 Feb 2025cs.AIcited by 18

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

  1. 2024Scaling Synthetic Data Creation with 1,000,000,000 Personascited by 397
  2. 2023KnowledGPT: Enhancing Large Language Models with Retrieval and Storage Access on Knowledge Basescited by 52

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 4; 2026: 14.

18 papers.

Sort:

By area:

  1. 2026Natural-Language Agent Harnessescited by 54
  2. 2025Get Experience from Practice: LLM Agents with Record & Replaycited by 22
  3. 2025Position: The Real Barrier to LLM Agent Usability is Agentic ROIcited by 12
  4. 2025CangLing-KnowFlow: A Unified Knowledge-and-Flow-fused Agent for Comprehensive Remote Sensing Applicationscited by 7
  5. 2025MindWatcher: Toward Smarter Multimodal Tool-Integrated Reasoningcited by 6
  6. 2026Evolving from Tool User to Creator via Training-Free Experience Reuse in Multimodal Reasoningcited by 6
  7. 2026Compile, Then Page: Executable SOP Programs and a Capability-Gated Runtime for Procedural LLM Agentscited by 4
  8. 2026Execution-State-Aware LLM Reasoning for Automated Proof-of-Vulnerability Generationcited by 3
  9. 2026Chat2Workflow: A Benchmark for Generating Executable Visual Workflows with Natural Languagecited by 2
  10. 2026PolicyGuide: From Guarding One Action to Guiding the Whole Workflow for Policy-Compliant LLM Agentscited by 2
  11. 2026Evaluating the Search Agent in a Parallel Worldcited by 1
  12. 2026Tools as Continuous Flow for Evolving Agentic Reasoningcited by 1
6 more
  1. 2026COVENANT: Natural-Language Workflow Compilation for Aligned Agent Executioncited by 1
  2. 2026Vibe AIGC: A New Paradigm for Content Generation via Agentic Orchestrationcited by 0
  3. 2026DiagFlowBench: Evaluating How Language Models Handle Off-Procedure Inputs in Grounded Diagnostic Dialoguecited by 0
  4. 2026Specifying AI-SDLC Processes: A Protocol Language for Human-Agent Boundariescited by 0
  5. 2026Natural-Language Workflows Are Not Software Yet: Artifact-Driven Compilation for Reliable Agent Executioncited by 0
  6. 2026How Strongly Should Task State Influence an LLM Agent?cited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2024AutoFlow: Automated Workflow Generation for Large Language Model Agents
  2. 2026AgentSPEX: An Agent SPecification and EXecution Language
  3. 2026Beyond Generalist LLMs: Specialist Agentic Systems for Structured Code Workflow Execution
  4. 2026Characterizing Large Language Model Agentic Workflows: A Study on N8n Ecosystem
  5. 2026FlowScout: From Execution Feedback to Reliable Tool-Using Agent Workflows
  6. 2024WorkflowLLM: Enhancing Workflow Orchestration Capability of Large Language Models
  7. 2026From Static Templates to Dynamic Runtime Graphs: A Survey of Workflow Optimization for LLM Agents
  8. 2025Flow: Modularized Agentic Workflow Automation