QualityFlow: An Agentic Workflow for Program Synthesis Controlled by LLM Quality Checks
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
We introduce QualityFlow, a dynamic agentic workflow for program synthesis. Given the English description of a programming problem and a set of unit tests, the model's goal is to synthesize the correct program that solves the problem and passes the tests. QualityFlow includes large language model (LLM) agents resembling a software development team, including code generation, testing, and self-debugging. We propose the LLM Quality Checker, which explicitly "imagines" whether the synthesized programs' execution would conform to the unit tests. The Quality Checks dynamically control the workflow, including actions to submit the final answer, clarify the problem statement, and revert previous workflow steps. Our experiments show that the Quality Checker can precisely accept any correct program, mitigate faulty synthesized tests, and prevent potential workflow deviation. QualityFlow establishes the state-of-the-art results on four program synthesis benchmarks: MBPP, HumanEval, and stricter evaluations from MBPP-EvalPlus and HumanEval-EvalPlus.
Key facts. Cited by 22 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 33 of its 54 references that are in the map. First posted on arXiv 20 Jan 2025.
Builds on
33 of 54 references.
Closest ancestors · 2
Same direction, newest first
- 2024MapCoder: Multi-Agent Code Generation for Competitive Problem Solving18 May
- 2023Self-collaboration Code Generation via ChatGPT15 Apr
Other references · 31
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,317
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
- 2023Teaching Large Language Models to Self-Debugcited by 963
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
19 more
- 2021Measuring Coding Challenge Competence With APPScited by 879
- 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
- 2022Large Language Models Can Self-Improvecited by 656
- 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 492
- 2024StarCoder 2 and The Stack v2: The Next Generationcited by 484
- 2022RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learningcited by 361
- 2023CodeT5+: Open Code Large Language Models for Code Understanding and Generationcited by 327
- 2024Debating with More Persuasive LLMs Leads to More Truthful Answerscited by 255
- 2019SPoC: Search-based Pseudocode to Codecited by 176
- 2023An Empirical Study of the Non-determinism of ChatGPT in Code Generationcited by 134
- 2023CodeGen2: Lessons for Training LLMs on Programming and Natural Languagescited by 124
- 2022Large Language Models are Few-shot Testers: Exploring LLM-based General Bug Reproductioncited by 110
- 2023Self-Edit: Fault-Aware Code Editor for Code Generationcited by 110
- 2023ChatUniTest: A Framework for LLM-Based Test Generationcited by 94
- 2024CYCLE: Learning to Self-Refine the Code Generationcited by 39
- 2024A Deep Dive into Large Language Models for Automated Bug Localization and Repaircited by 39
- 2023ClarifyGPT: Empowering LLM-based Code Generation with Intention Clarificationcited by 37
- 2023INTERVENOR: Prompting the Coding Ability of Large Language Models with the Interactive Chain of Repaircited by 18
- 2022Fix Bugs with Transformer through a Neural-Symbolic Edit Grammarcited by 8
Built on by
Citing papers per year: 2025: 10; 2026: 12.
22 papers.
Sort:
By area:
- 2026Code as Agent Harnesscited by 40
- 2025Web-Bench: A LLM Code Benchmark Based on Web Standards and Frameworkscited by 36
- 2026From Static Templates to Dynamic Runtime Graphs: A Survey of Workflow Optimization for LLM Agentscited by 22
- 2025Execution Guided Line-by-Line Code Generationcited by 10
- 2025Incoherence as Oracle-less Measure of Error in LLM-Based Code Generationcited by 6
- 2026SEMAG: Self-Evolutionary Multi-Agent Code Generationcited by 5
- 2025Programming with Pixels: Can Computer-Use Agents do Software Engineering?cited by 4
- 2025Nexus: A Lightweight and Scalable Multi-Agent Framework for Complex Tasks Automationcited by 4
- 2025LADs: Leveraging LLMs for AI-Driven DevOpscited by 4
- 2025Agint: Agentic Graph Compilation for Software Engineering Agentscited by 4
- 2025Boosting Open-Source LLMs for Program Repair via Reasoning Transfer and LLM-Guided Reinforcement Learningcited by 2
- 2025Risk-Sensitive Agent Compositionscited by 1
10 more
- 2026TheoremForge: Scaling up Formal Data Synthesis with Low-Budget Agentic Workflowcited by 1
- 2026Team, Then Trim: An Assembly-Line LLM Framework for High-Quality Tabular Data Generationcited by 1
- 2026On the Creativity of AI Agentscited by 1
- 2026Coding with Eyes: Visual Feedback Unlocks Reliable GUI Code Generating and Debuggingcited by 1
- 2026Graph Engineering in the Era of LLM Agents: From Individual Intelligence to System Intelligencecited by 1
- 2025LLM-Based Config Synthesis requires Disambiguationcited by 0
- 2026ATTest: Agent-Driven Tensor Testing for Deep Learning Library Modulescited by 0
- 2026CLEAR: Context Augmentation from Contrastive Learning of Experience via Agentic Reflectioncited by 0
- 2026CatalogAgent: A Supervisor-mediated Self-Learning System Enabling Context Engineering for GenAI Modelscited by 0
- 2026ACTS-SQL: Agentic and Critic-Oriented Tree-Structured SQL Correctness with Large Language Modelscited by 0
- 2026Graph Engineering in the Era of LLM Agents: From Individual Intelligence to System Intelligence21 Aug 2026
- 2026ACTS-SQL: Agentic and Critic-Oriented Tree-Structured SQL Correctness with Large Language Models15 Aug 2026
- 2026CatalogAgent: A Supervisor-mediated Self-Learning System Enabling Context Engineering for GenAI Models15 Jul 2026
- 2026Code as Agent Harness18 May 2026
- 2026On the Creativity of AI Agents14 Apr 2026
- 2026CLEAR: Context Augmentation from Contrastive Learning of Experience via Agentic Reflection8 Apr 2026
- 2026From Static Templates to Dynamic Runtime Graphs: A Survey of Workflow Optimization for LLM Agents23 Mar 2026
- 2026SEMAG: Self-Evolutionary Multi-Agent Code Generation16 Mar 2026
- 2026Coding with Eyes: Visual Feedback Unlocks Reliable GUI Code Generating and Debugging14 Mar 2026
- 2026ATTest: Agent-Driven Tensor Testing for Deep Learning Library Modules15 Feb 2026
- 2026Team, Then Trim: An Assembly-Line LLM Framework for High-Quality Tabular Data Generation4 Feb 2026
- 2026TheoremForge: Scaling up Formal Data Synthesis with Low-Budget Agentic Workflow24 Jan 2026
10 more
- 2025Agint: Agentic Graph Compilation for Software Engineering Agents24 Nov 2025
- 2025LLM-Based Config Synthesis requires Disambiguation16 Jul 2025
- 2025Incoherence as Oracle-less Measure of Error in LLM-Based Code Generation26 Jun 2025
- 2025Execution Guided Line-by-Line Code Generation12 Jun 2025
- 2025Risk-Sensitive Agent Compositions5 Jun 2025
- 2025Boosting Open-Source LLMs for Program Repair via Reasoning Transfer and LLM-Guided Reinforcement Learning4 Jun 2025
- 2025Web-Bench: A LLM Code Benchmark Based on Web Standards and Frameworks12 May 2025
- 2025LADs: Leveraging LLMs for AI-Driven DevOps28 Feb 2025
- 2025Nexus: A Lightweight and Scalable Multi-Agent Framework for Complex Tasks Automation26 Feb 2025
- 2025Programming with Pixels: Can Computer-Use Agents do Software Engineering?24 Feb 2025
- 2026Code as Agent Harnesscited by 40
- 2025Web-Bench: A LLM Code Benchmark Based on Web Standards and Frameworkscited by 36
- 2026From Static Templates to Dynamic Runtime Graphs: A Survey of Workflow Optimization for LLM Agentscited by 22
- 2026SEMAG: Self-Evolutionary Multi-Agent Code Generationcited by 5
- 2025Programming with Pixels: Can Computer-Use Agents do Software Engineering?cited by 4
- 2025Agint: Agentic Graph Compilation for Software Engineering Agentscited by 4
- 2025Risk-Sensitive Agent Compositionscited by 1
- 2026TheoremForge: Scaling up Formal Data Synthesis with Low-Budget Agentic Workflowcited by 1
- 2026On the Creativity of AI Agentscited by 1
- 2026Graph Engineering in the Era of LLM Agents: From Individual Intelligence to System Intelligencecited by 1
- 2026ATTest: Agent-Driven Tensor Testing for Deep Learning Library Modulescited by 0
- 2026CLEAR: Context Augmentation from Contrastive Learning of Experience via Agentic Reflectioncited by 0
12 most cited of 13 All 13 (JSON)
- 2026Graph Engineering in the Era of LLM Agents: From Individual Intelligence to System Intelligence21 Aug 2026
- 2026ACTS-SQL: Agentic and Critic-Oriented Tree-Structured SQL Correctness with Large Language Models15 Aug 2026
- 2026Code as Agent Harness18 May 2026
- 2026On the Creativity of AI Agents14 Apr 2026
- 2026CLEAR: Context Augmentation from Contrastive Learning of Experience via Agentic Reflection8 Apr 2026
- 2026From Static Templates to Dynamic Runtime Graphs: A Survey of Workflow Optimization for LLM Agents23 Mar 2026
- 2026SEMAG: Self-Evolutionary Multi-Agent Code Generation16 Mar 2026
- 2026ATTest: Agent-Driven Tensor Testing for Deep Learning Library Modules15 Feb 2026
- 2026TheoremForge: Scaling up Formal Data Synthesis with Low-Budget Agentic Workflow24 Jan 2026
- 2025Agint: Agentic Graph Compilation for Software Engineering Agents24 Nov 2025
- 2025Risk-Sensitive Agent Compositions5 Jun 2025
- 2025Web-Bench: A LLM Code Benchmark Based on Web Standards and Frameworks12 May 2025
12 newest of 13 All 13 (JSON)
- 2025Execution Guided Line-by-Line Code Generationcited by 10
- 2025Incoherence as Oracle-less Measure of Error in LLM-Based Code Generationcited by 6
- 2025LADs: Leveraging LLMs for AI-Driven DevOpscited by 4
- 2026Team, Then Trim: An Assembly-Line LLM Framework for High-Quality Tabular Data Generationcited by 1
- 2026Coding with Eyes: Visual Feedback Unlocks Reliable GUI Code Generating and Debuggingcited by 1
- 2025LLM-Based Config Synthesis requires Disambiguationcited by 0
- 2026CatalogAgent: A Supervisor-mediated Self-Learning System Enabling Context Engineering for GenAI Modelscited by 0
- 2026CatalogAgent: A Supervisor-mediated Self-Learning System Enabling Context Engineering for GenAI Models15 Jul 2026
- 2026Coding with Eyes: Visual Feedback Unlocks Reliable GUI Code Generating and Debugging14 Mar 2026
- 2026Team, Then Trim: An Assembly-Line LLM Framework for High-Quality Tabular Data Generation4 Feb 2026
- 2025LLM-Based Config Synthesis requires Disambiguation16 Jul 2025
- 2025Incoherence as Oracle-less Measure of Error in LLM-Based Code Generation26 Jun 2025
- 2025Execution Guided Line-by-Line Code Generation12 Jun 2025
- 2025LADs: Leveraging LLMs for AI-Driven DevOps28 Feb 2025
Similar, not cited
Close in wording, no citation either way
- 2025TDFlow: Agentic Workflows for Test Driven Development
- 2026LiveFMBench: Unveiling the Power and Limits of Agentic Workflows in Specification Generation
- 2026Consistency Meets Verification: Enhancing Test Generation Quality in Large Language Models Without Ground-Truth Solutions
- 2026Diagnosis-Driven Automatic Repair for Agentic Workflow via Symbolic Inference
- 2026WorkflowPerturb: Calibrated Stress Tests for Evaluating Multi-Agent Workflow Metrics
- 2026AEVAL: From Anecdotal to Deterministic Testing for Agentic Skill Workflows
- 2026P3: Joint Program-and-Proof Planning for Verified Code Generation
- 2024Planning-Driven Programming: A Large Language Model Programming Workflow