mlsanityData to 14 Oct 2026

Understanding and Bridging the Planner-Coder Gap: A Systematic Study on the Robustness of Multi-Agent Systems for Code Generation

arXiv 2510.10460 ↗First posted 12 Oct 2025cs.SE cs.AIcited by 4

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

Abstract (arXiv)

Multi-agent systems (MASs) have emerged as a promising paradigm for automated code generation, demonstrating impressive performance on established benchmarks. Despite their prosperous development, the fundamental mechanisms underlying their robustness remain poorly understood, raising critical concerns for real-world deployment. This paper conducts a systematic empirical study to uncover the internal robustness flaws of MASs using a mutation-based methodology. By designing a testing pipeline incorporating semantic-preserving mutation operators and a novel fitness function, we assess mainstream MASs across multiple datasets and LLMs. Our findings reveal substantial robustness flaws: semantically equivalent inputs cause drastic performance drops, with MASs failing to solve 7.9%--83.3% of problems they initially resolved successfully. Through comprehensive failure analysis, we discover a fundamental cause underlying these robustness issues: the textitplanner-coder gap, which accounts for 75.3% of failures. This gap arises from information loss in the multi-stage transformation process where planning agents decompose requirements into underspecified plans, and coding agents subsequently misinterpret intricate logic during code generation. Based on this formulated information transformation process, we propose a textitrepairing method that mitigates information loss through multi-prompt generation and introduces a monitor agent to bridge the planner-coder gap. Evaluation shows that our repairing method effectively enhances the robustness of MASs by solving 40.0%--88.9% of identified failures. Our work uncovers critical robustness flaws in MASs and provides effective mitigation strategies, contributing essential insights for developing more reliable MASs for code generation.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 35 of its 63 references that are in the map. First posted on arXiv 12 Oct 2025.

Builds on

35 of 63 references.

Closest ancestors · 6

Same direction, newest first

  1. 2025CODESIM: Multi-Agent Code Generation and Problem Solving through Simulation-Driven Planning and Debugging8 Feb
  2. 2024Large Language Model-Based Agents for Software Engineering: A Survey4 Sep
  3. 2024MapCoder: Multi-Agent Code Generation for Competitive Problem Solving18 May
  4. 2024SOEN-101: Code Generation by Emulating Software Process Models Using Large Language Model Agents23 Mar
  5. 2023ChatDev: Communicative Agents for Software Development16 Jul
  6. 2023Self-collaboration Code Generation via ChatGPT15 Apr

Other references · 29

  1. 2023GPT-4 Technical Reportcited by 18,396
  2. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  3. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
  4. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  5. 2021Program Synthesis with Large Language Modelscited by 3,637
  6. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,004
  7. 2022Competition-Level Code Generation with AlphaCodecited by 1,462
  8. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
  9. 2024A Survey on Large Language Models for Code Generationcited by 658
  10. 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 498
  11. 2025Multi-Agent Collaboration Mechanisms: A Survey of LLMscited by 431
  12. 2024DeepSeek-Coder-V2: Breaking the Barrier of Closed-Source Models in Code Intelligencecited by 331
17 more
  1. 2023On the Planning Abilities of Large Language Models : A Critical Investigationcited by 312
  2. 2024Magentic-One: A Generalist Multi-Agent System for Solving Complex Taskscited by 232
  3. 2022ReCode: Robustness Evaluation of Code Generation Modelscited by 103
  4. 2023Can ChatGPT replace StackOverflow? A Study on Robustness and Reliability of Large Language Model Code Generationcited by 73
  5. 2023CodeScore: Evaluating Code Generation by Learning Code Executioncited by 67
  6. 2025Can LLMs Replace Human Evaluators? An Empirical Study of LLM-as-a-Judge in Software Engineeringcited by 67
  7. 2024A Survey on LLM-based Code Generation for Low-Resource and Domain-Specific Programming Languagescited by 66
  8. 2023On the Robustness of Code Generation Techniques: An Empirical Study on GitHub Copilotcited by 64
  9. 2023ICE-Score: Instructing Large Language Models to Evaluate Codecited by 52
  10. 2022CCTEST: Testing and Repairing Code Completion Systemscited by 35
  11. 2024Test-Driven Development for Code Generationcited by 34
  12. 2024A Pair Programming Framework for Code Generation via Multi-Plan Exploration and Feedback-Driven Refinementcited by 21
  13. 2024NLPerturbator: Studying the Robustness of Code LLMs to Natural Language Variationscited by 20
  14. 2024Preference-Guided Refactored Tuning for Retrieval Augmented Code Generationcited by 10
  15. 2023Assessing and Improving Syntactic Adversarial Robustness of Pre-trained Models for Code Translationcited by 6
  16. 2024CodeFort: Robust Training for Code Generation Modelscited by 4
  17. 2017Improving Function Coverage with Munch: A Hybrid Fuzzing and Directed Symbolic Execution Approachcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 4.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026CAM: A Causality-based Analysis Framework for Multi-Agent Code Generation Systems
  2. 2026How Generation Architecture Shapes Code Complexity in Multi-Agent LLM Systems: A Paired Study on HumanEval
  3. 2026Inside the Scaffold: A Source-Code Taxonomy of Coding Agent Architectures
  4. 2025AdaCoder: An Adaptive Planning and Multi-Agent Framework for Function-Level Code Generation
  5. 2026Constraint Decay: The Fragility of LLM Agents in Backend Code Generation
  6. 2026SlopCodeBench: Benchmarking How Coding Agents Degrade Over Long-Horizon Iterative Tasks
  7. 2025NL2Repo-Bench: Towards Long-Horizon Repository Generation Evaluation of Coding Agents
  8. 2026EvoCode-Bench: Evaluating Coding Agents in Multi-Turn Iterative Interactions