mlsanityData to 14 Oct 2026

Diagnosis-Driven Automatic Repair for Agentic Workflow via Symbolic Inference

arXiv 2607.02882 ↗First posted 3 Jul 2026cs.SEcited by 0

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

Platform-orchestrated agentic workflows have become a popular paradigm for developing LLM-based applications. However, their reliability remains a major challenge due to the uncertainty of LLM outputs, complex inter-node dependencies, and heterogeneous tool interactions. Existing agentic workflow optimization and agent enhancement methods primarily rely on trajectory-level feedback. Without explicitly identifying the underlying failure root causes, their resulting repair plans are often insufficiently targeted. We propose FlowFixer, a diagnosis-driven automated repair framework for agentic workflows. FlowFixer first transforms workflow executions into unified symbolic traces and performs symbolic inference to derive executable behavioral specifications that capture node correctness, temporal dependencies, and causal relationships. Based on specification verification, it conducts failure attribution and root cause analysis, and then generates targeted repair patches. To reduce verification costs, FlowFixer further employs a multi-dimensional pre-execution assessment to filter infeasible repairs before dynamic verification. We evaluate FlowFixer on workflow failures collected from three popular development platforms: Dify, Coze and n8n. Results show that FlowFixer achieves a repair success rate of 71.3%, outperforming state-of-the-art baselines by 11.9% to 27.6%. It also improves failure attribution accuracy by 4.8% to 33.1% and root cause analysis accuracy by 15.3% to 38.8%. This work offers a new perspective on reliable diagnosis and repair of agentic workflows through symbolic modeling and inference.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 45 of its 50 references that are in the map. First posted on arXiv 3 Jul 2026.

Builds on

45 of 50 references.

Closest ancestors · 21

Same direction, newest first

  1. 2026Seeing the Whole Elephant: A Benchmark for Failure Attribution in LLM-based Multi-Agent Systems24 Apr
  2. 2026SelfHeal: Empirical Fix Pattern Analysis and Bug Repair in LLM Agents20 Apr
  3. 2026AgentFixer: From Failure Detection to Fix Recommendations in LLM Agentic Systems18 Feb
  4. 2026WebTestPilot: Agentic End-to-End Web Testing against Natural Language Specification by Inferring Oracles with Symbolized GUI Elements12 Feb
  5. 2025DoVer: Intervention-Driven Auto Debugging for LLM Multi-Agent Systems7 Dec
  6. 2025Where Did It All Go Wrong? A Hierarchical Look into Multi-Agent Error Attribution6 Oct
  7. 2025Where LLM Agents Fail and How They can Learn From Failures29 Sep
  8. 2025CORRECT: COndensed eRror RECognition via knowledge Transfer in multi-agent systems28 Sep
  9. 2025Demystifying the Lifecycle of Failures in Platform-Orchestrated Agentic Workflows28 Sep
  10. 2025Reducing Cost of LLM Agents with Trajectory Reduction28 Sep
  11. 2025Aegis: Automated Error Generation and Attribution for Multi-Agent Systems17 Sep
  12. 2025Who is Introducing the Failure? Automatically Attributing Failures of Multi-Agent Systems via Spectrum Analysis17 Sep
9 more
  1. 2025AgenTracer: Who Is Inducing Failure in the LLM Agentic Systems?3 Sep
  2. 2025Understanding Software Engineering Agents: A Study of Thought-Action-Result Trajectories23 Jun
  3. 2025TRAIL: Trace Reasoning and Agentic Issue Localization13 May
  4. 2025Which Agent Causes Task Failures and When? On Automated Failure Attribution of LLM Multi-Agent Systems30 Apr
  5. 2025Why Do Multi-Agent LLM Systems Fail?17 Mar
  6. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May
  7. 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repair25 Mar
  8. 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation16 Aug
  9. 2023ChatDev: Communicative Agents for Software Development16 Jul

Other references · 24

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  2. 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,808
  3. 2023HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Facecited by 1,190
  4. 2023Plan-and-Solve Prompting: Improving Zero-Shot Chain-of-Thought Reasoning by Large Language Modelscited by 560
  5. 2025GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learningcited by 542
  6. 2024Automatic Programming: Large Language Models and Beyondcited by 36
  7. 2025From Language to Action: A Review of Large Language Models as Autonomous Agents and Tool Userscited by 32
  8. 2026ReCreate: Reasoning and Creating Domain Agents Driven by Experiencecited by 24
  9. 2025GraphTracer: Graph-Guided Failure Tracing in LLM Agents for Robust Multi-Turn Deep Searchcited by 23
  10. 2025RAFFLES: Reasoning-based Attribution of Faults for LLM Systemscited by 21
  11. 2025Exploring Autonomous Agents: A Closer Look at Why They Fail When Completing Taskscited by 20
  12. 2025Failure-Driven Workflow Refinementcited by 20
12 more
  1. 2025SCOPE: Prompt Evolution for Enhancing Agent Effectivenesscited by 18
  2. 2026From Spark to Fire: Modeling and Mitigating Error Cascades in LLM-Based Multi-Agent Collaborationcited by 14
  3. 2024AgentKit: Structured LLM Reasoning with Dynamic Graphscited by 13
  4. 2025ReAgent: Reversible Multi-Agent Reasoning for Knowledge-Enhanced Multi-Hop QAcited by 13
  5. 2025Stop Wasting Your Tokens: Towards Efficient Runtime Multi-Agent Systemscited by 12
  6. 2025Aegis: Taxonomy and Optimizations for Overcoming Agent-Environment Failures in LLM Agentscited by 10
  7. 2025Traceability and Accountability in Role-Specialized Multi-Agent LLM Pipelinescited by 10
  8. 2025Tools in the Loop: Quantifying Uncertainty of LLM Question Answering Systems That Use Toolscited by 9
  9. 2025Maestro: Joint Graph & Config Optimization for Reliable AI Agentscited by 9
  10. 2026AgentDevel: Reframing Self-Evolving LLM Agents as Release Engineeringcited by 7
  11. 2026LogicSkills: A Structured Benchmark for Formal Reasoning in Large Language Modelscited by 4
  12. 2025Instruction-Level Weight Shaping: A Framework for Self-Improving AI Agentscited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Mnemosyne: Agentic Transaction Processing for Validating and Repairing AI-generated Workflows
  2. 2026AgentTether: Graph-Guided Diagnosis and Runtime Intervention for Reliable LLM Agent Operation
  3. 2026FlowScout: From Execution Feedback to Reliable Tool-Using Agent Workflows
  4. 2026Catching Developers in the Flow: Low-Latency Agentic Program Repair at Google Scale
  5. 2026Why Agentic Workflows Fail: A Taxonomy Derived from Literature and Empirical Data
  6. 2026EviACT: An Evidence-to-Action Framework for Agentic Program Repair
  7. 2026AgentEval: DAG-Structured Step-Level Evaluation for Agentic Workflows with Error Propagation Tracking
  8. 2026GraphBit: A Graph-based Agentic Framework for Non-Linear Agent Orchestration