Self-Organized Agents: A LLM Multi-Agent Framework toward Ultra Large-Scale Code Generation and Optimization
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Recent advancements in automatic code generation using large language model (LLM) agent have brought us closer to the future of automated software development. However, existing single-agent approaches face limitations in generating and improving large-scale, complex codebases due to constraints in context length. To tackle this challenge, we propose Self-Organized multi-Agent framework (SoA), a novel multi-agent framework that enables the scalable and efficient generation and optimization of large-scale code. In SoA, self-organized agents operate independently to generate and modify code components while seamlessly collaborating to construct the overall codebase. A key feature of our framework is the automatic multiplication of agents based on problem complexity, allowing for dynamic scalability. This enables the overall code volume to be increased indefinitely according to the number of agents, while the amount of code managed by each agent remains constant. We evaluate SoA on the HumanEval benchmark and demonstrate that, compared to a single-agent system, each agent in SoA handles significantly less code, yet the overall generated code is substantially greater. Moreover, SoA surpasses the powerful single-agent baseline by 5% in terms of Pass@1 accuracy.
Key facts. Cited by 84 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 13 of its 23 references that are in the map. First posted on arXiv 2 Apr 2024.
Builds on
13 of 23 references.
Closest ancestors · 1
Same direction, newest first
Other references · 12
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,317
- 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,761
- 2023Language Agent Tree Search Unifies Reasoning Acting and Planning in Language Modelscited by 551
- 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 492
- 2023LooGLE: Can Long-Context Language Models Understand Long Contexts?cited by 200
- 2023ZeroSCROLLS: A Zero-Shot Benchmark for Long Text Understandingcited by 175
- 2024Debug like a Human: A Large Language Model Debugger via Verifying Runtime Execution Step-by-stepcited by 123
- 2023Self-Edit: Fault-Aware Code Editor for Code Generationcited by 110
Built on by
Citing papers per year: 2024: 19; 2025: 40; 2026: 25.
84 papers.
Sort:
By area:
- 2024A Survey on Large Language Models for Code Generationcited by 646
- 2025Multi-Agent Collaboration Mechanisms: A Survey of LLMscited by 424
- 2024Large Language Model-Based Agents for Software Engineering: A Surveycited by 173
- 2025MultiAgentBench: Evaluating the Collaboration and Competition of LLM agentscited by 169
- 2024LLM-Based Multi-Agent Systems for Software Engineering: Literature Review, Vision and the Road Aheadcited by 155
- 2025Advances and Challenges in Foundation Agents: From Brain-Inspired Intelligence to Evolutionary, Collaborative, and Safe Systemscited by 125
- 2024G-Designer: Architecting Multi-agent Communication Topologies via Graph Neural Networkscited by 110
- 2024From LLMs to LLM-based Agents for Software Engineering: A Survey of Current, Challenges and Futurecited by 85
- 2025MasRouter: Learning to Route LLMs for Multi-Agent Systemscited by 80
- 2024A Systematic Survey on Large Language Models for Algorithm Designcited by 65
- 2024Alibaba LingmaAgent: Improving Automated Issue Resolution via Comprehensive Repository Explorationcited by 58
- 2025G-Safeguard: A Topology-Guided Security Lens and Treatment on LLM-based Multi-agent Systemscited by 56
38 more
- 2025A Survey of LLM-Driven AI Agent Communication: Protocols, Security Risks, and Defense Countermeasurescited by 54
- 2024Project Sid: Many-agent simulations toward AI civilizationcited by 46
- 2025A Survey on the Optimization of Large Language Model-based Agentscited by 45
- 2024Optima: Optimizing Effectiveness and Efficiency for LLM-Based Multi-Agent Systemcited by 40
- 2026A Survey of Agent Memory in the Second Half: Towards Self-Evolving and Long-Horizon Agentscited by 40
- 2026Code as Agent Harnesscited by 40
- 2025Vibe Coding vs. Agentic Coding: Fundamentals and Practical Implications of Agentic AIcited by 39
- 2025Understanding the Information Propagation Effects of Communication Topologies in LLM-based Multi-Agent Systemscited by 39
- 2024AutoSafeCoder: A Multi-Agent Framework for Securing LLM Code Generation through Static Analysis and Fuzz Testingcited by 34
- 2025Internet of Agents: Fundamentals, Applications, and Challengescited by 31
- 2025Adaptive Graph Pruning for Multi-Agent Communicationcited by 28
- 2024Model Swarms: Collaborative Search to Adapt LLM Experts via Swarm Intelligencecited by 27
- 2024RethinkMCTS: Refining Erroneous Thoughts in Monte Carlo Tree Search for Code Generationcited by 25
- 2025AnyMAC: Cascading Flexible Multi-Agent Collaboration via Next-Agent Predictioncited by 25
- 2025GitTaskBench: A Benchmark for Code Agents Solving Real-World Tasks Through Code Repository Leveragingcited by 25
- 2025Large Language Model-based Data Science Agent: A Surveycited by 22
- 2025Learning to Deliberate: Meta-policy Collaboration for Agentic LLMs with Multi-agent Reinforcement Learningcited by 18
- 2026Auditing Multi-Agent LLM Reasoning Trees Outperforms Majority Vote and LLM-as-Judgecited by 16
- 2025Maestro: Learning to Collaborate via Conditional Listwise Policy Optimization for Multi-Agent LLMscited by 14
- 2025Self-Resource Allocation in Multi-Agent LLM Systemscited by 13
- 2025Visual Multi-Agent System: Mitigating Hallucination Snowballing via Visual Flowcited by 13
- 2024AutoPrep: Natural Language Question-Aware Data Preparation with a Multi-Agent Frameworkcited by 12
- 2025AgentInit: Initializing LLM-based Multi-Agent Systems via Diversity and Expertise Orchestration for Effective and Efficient Collaborationcited by 10
- 2026The Five Ws of Multi-Agent Communication: Who Talks to Whom, When, What, and Why -- A Survey from MARL to Emergent Language and LLMscited by 10
- 2025Multi-agent systems for chemical engineering: A review and perspectivecited by 9
- 2026AgentConductor: Topology Evolution for Multi-Agent Competition-Level Code Generationcited by 9
- 2024From Text to Life: On the Reciprocal Relationship between Artificial Life and Large Language Modelscited by 8
- 2025Benchmarking LLMs' Swarm intelligencecited by 8
- 2025Distributional AGI Safetycited by 8
- 2026MetaGen: Self-Evolving Roles and Topologies for Multi-Agent LLM Reasoningcited by 8
- 2024INDICT: Code Generation with Internal Dialogues of Critiques for Both Security and Helpfulnesscited by 7
- 2026ChipBench: A Next-Step Benchmark for Evaluating LLM Performance in AI-Aided Chip Designcited by 7
- 2025AgentDropout: Dynamic Agent Elimination for Token-Efficient and High-Performance LLM-Based Multi-Agent Collaborationcited by 6
- 2025CodeVisionary: An Agent-based Framework for Evaluating Large Language Models in Code Generationcited by 6
- 2025Metacognitive Self-Correction for Multi-Agent System via Prototype-Guided Next-Execution Reconstructioncited by 6
- 2025Is Your Benchmark Still Useful? Dynamic Benchmarking for Code Language Modelscited by 5
- 2025LLM-Agent-Controller: A Universal Multi-Agent Large Language Model System as a Control Engineercited by 5
- 2026PAC-BENCH: Evaluating Multi-Agent Collaboration under Privacy Constraintscited by 5
50 most cited of 84 All 84 (JSON)
- 2026Rethinking Multi-Agent Collaboration: When More Is Less17 Sep 2026
- 2026AgentRoom: Concurrent Multi-Agent Coding in a CRDT-Backed Shared Workspace24 Aug 2026
- 2026Repo0: Design-Driven Zero-to-All Code Generation20 Aug 2026
- 2026AgentRadio: Passive Awareness for Long-Horizon Multi-Agent Collaboration30 Jul 2026
- 2026Representational Similarity and Model Behavior in Multi-Agent Interaction5 Jun 2026
- 2026Conflict-Resilient Multi-Agent Reasoning via Signed Graph Modeling19 May 2026
- 2026Code as Agent Harness18 May 2026
- 2026Learning Transferable Topology Priors for Multi-Agent LLM Collaboration Across Domains17 May 2026
- 2026Taming "Zombie'' Agents: A Markov State-Aware Framework for Resilient Multi-Agent Evolution17 May 2026
- 2026ProfiliTable: Profiling-Driven Tabular Data Processing via Agentic Workflows12 May 2026
- 2026From Knowledge to Action: Outcomes of the 2025 Large Language Model (LLM) Hackathon for Applications in Materials Science and Chemistry4 May 2026
- 2026PAC-BENCH: Evaluating Multi-Agent Collaboration under Privacy Constraints13 Apr 2026
38 more
- 2026TheBotCompany: Self-Organizing Multi-agent Systems for Continuous Software Development26 Mar 2026
- 2026Can LLMs Reason Like Automated Theorem Provers for Rust Verification? VCoT-Bench: Evaluating via Verification Chain of Thought18 Mar 2026
- 2026LLM-Based Multi-Agent Systems for Code Generation: A Multi-Vocal Literature Review25 Feb 2026
- 2026AgentConductor: Topology Evolution for Multi-Agent Competition-Level Code Generation19 Feb 2026
- 2026The Five Ws of Multi-Agent Communication: Who Talks to Whom, When, What, and Why -- A Survey from MARL to Emergent Language and LLMs12 Feb 2026
- 2026PaperRepro: Automated Computational Reproducibility Assessment for Social Science Papers10 Feb 2026
- 2026Auditing Multi-Agent LLM Reasoning Trees Outperforms Majority Vote and LLM-as-Judge10 Feb 2026
- 2026ValueFlow: Measuring the Propagation of Value Perturbations in Multi-Agent LLM Systems9 Feb 2026
- 2026ChipBench: A Next-Step Benchmark for Evaluating LLM Performance in AI-Aided Chip Design29 Jan 2026
- 2026RvB: Automating AI System Hardening via Iterative Red-Blue Games27 Jan 2026
- 2026MetaGen: Self-Evolving Roles and Topologies for Multi-Agent LLM Reasoning27 Jan 2026
- 2026From LLMs to Agents in Programming: The Impact of Providing an LLM with a Compiler17 Jan 2026
- 2026A Survey of Agent Memory in the Second Half: Towards Self-Evolving and Long-Horizon Agents14 Jan 2026
- 2025Distributional AGI Safety18 Dec 2025
- 2025BabelCoder: Agentic Code Translation with Specification Alignment7 Dec 2025
- 2025Automating Complex Document Workflows via Stepwise and Rollback-Enabled Operation Orchestration4 Dec 2025
- 2025Designing LLM-based Multi-Agent Systems for Software Engineering Tasks: Quality Attributes, Design Patterns and Rationale11 Nov 2025
- 2025Maestro: Learning to Collaborate via Conditional Listwise Policy Optimization for Multi-Agent LLMs8 Nov 2025
- 2025PEFA-AI: Advancing Open-source LLMs for RTL generation using Progressive Error Feedback Agentic-AI6 Nov 2025
- 2025SwiftSolve: A Self-Iterative, Complexity-Aware Multi-Agent Framework for Competitive Programming26 Oct 2025
- 2025Knowledge-Guided Multi-Agent Framework for Application-Level Software Code Generation22 Oct 2025
- 2025Metacognitive Self-Correction for Multi-Agent System via Prototype-Guided Next-Execution Reconstruction16 Oct 2025
- 2025Automating Android Build Repair: Bridging the Reasoning-Execution Gap in LLM Agents with Domain-Specific Tools9 Oct 2025
- 2025BuildBench: Benchmarking LLM Agents on Compiling Real-World Open-Source Software27 Sep 2025
- 2025Visual Multi-Agent System: Mitigating Hallucination Snowballing via Visual Flow26 Sep 2025
- 2025AgentInit: Initializing LLM-based Multi-Agent Systems via Diversity and Expertise Orchestration for Effective and Efficient Collaboration23 Sep 2025
- 2025Learning to Deliberate: Meta-policy Collaboration for Agentic LLMs with Multi-agent Reinforcement Learning4 Sep 2025
- 2025GitTaskBench: A Benchmark for Code Agents Solving Real-World Tasks Through Code Repository Leveraging26 Aug 2025
- 2025Exploring the Challenges and Opportunities of AI-assisted Codebase Generation11 Aug 2025
- 2025Multi-agent systems for chemical engineering: A review and perspective11 Aug 2025
- 2025Training-Free Multimodal Large Language Model Orchestration6 Aug 2025
- 2025Large Language Model-based Data Science Agent: A Survey2 Aug 2025
- 2025GoalfyMax: A Protocol-Driven Multi-Agent System for Intelligent Experience Entities13 Jul 2025
- 2025A Survey of LLM-Driven AI Agent Communication: Protocols, Security Risks, and Defense Countermeasures24 Jun 2025
- 2025AnyMAC: Cascading Flexible Multi-Agent Collaboration via Next-Agent Prediction21 Jun 2025
- 2025MasHost Builds It All: Autonomous Multi-Agent System Directed by Reinforcement Learning10 Jun 2025
- 2025Adaptive Graph Pruning for Multi-Agent Communication3 Jun 2025
- 2025Lessons Learned: A Multi-Agent Framework for Code LLMs to Learn and Improve29 May 2025
50 newest of 84 All 84 (JSON)
- 2025Multi-Agent Collaboration Mechanisms: A Survey of LLMscited by 424
- 2024Large Language Model-Based Agents for Software Engineering: A Surveycited by 173
- 2024LLM-Based Multi-Agent Systems for Software Engineering: Literature Review, Vision and the Road Aheadcited by 155
- 2025Advances and Challenges in Foundation Agents: From Brain-Inspired Intelligence to Evolutionary, Collaborative, and Safe Systemscited by 125
- 2024G-Designer: Architecting Multi-agent Communication Topologies via Graph Neural Networkscited by 110
- 2024From LLMs to LLM-based Agents for Software Engineering: A Survey of Current, Challenges and Futurecited by 85
- 2025MasRouter: Learning to Route LLMs for Multi-Agent Systemscited by 80
- 2025G-Safeguard: A Topology-Guided Security Lens and Treatment on LLM-based Multi-agent Systemscited by 56
- 2025A Survey of LLM-Driven AI Agent Communication: Protocols, Security Risks, and Defense Countermeasurescited by 54
- 2025A Survey on the Optimization of Large Language Model-based Agentscited by 45
- 2024Optima: Optimizing Effectiveness and Efficiency for LLM-Based Multi-Agent Systemcited by 40
- 2026A Survey of Agent Memory in the Second Half: Towards Self-Evolving and Long-Horizon Agentscited by 40
12 most cited of 53 All 53 (JSON)
- 2026AgentRoom: Concurrent Multi-Agent Coding in a CRDT-Backed Shared Workspace24 Aug 2026
- 2026Repo0: Design-Driven Zero-to-All Code Generation20 Aug 2026
- 2026AgentRadio: Passive Awareness for Long-Horizon Multi-Agent Collaboration30 Jul 2026
- 2026Representational Similarity and Model Behavior in Multi-Agent Interaction5 Jun 2026
- 2026Code as Agent Harness18 May 2026
- 2026Learning Transferable Topology Priors for Multi-Agent LLM Collaboration Across Domains17 May 2026
- 2026Taming "Zombie'' Agents: A Markov State-Aware Framework for Resilient Multi-Agent Evolution17 May 2026
- 2026ProfiliTable: Profiling-Driven Tabular Data Processing via Agentic Workflows12 May 2026
- 2026TheBotCompany: Self-Organizing Multi-agent Systems for Continuous Software Development26 Mar 2026
- 2026LLM-Based Multi-Agent Systems for Code Generation: A Multi-Vocal Literature Review25 Feb 2026
- 2026AgentConductor: Topology Evolution for Multi-Agent Competition-Level Code Generation19 Feb 2026
- 2026The Five Ws of Multi-Agent Communication: Who Talks to Whom, When, What, and Why -- A Survey from MARL to Emergent Language and LLMs12 Feb 2026
12 newest of 53 All 53 (JSON)
- 2025MultiAgentBench: Evaluating the Collaboration and Competition of LLM agentscited by 169
- 2024RethinkMCTS: Refining Erroneous Thoughts in Monte Carlo Tree Search for Code Generationcited by 25
- 2025Learning to Deliberate: Meta-policy Collaboration for Agentic LLMs with Multi-agent Reinforcement Learningcited by 18
- 2026Auditing Multi-Agent LLM Reasoning Trees Outperforms Majority Vote and LLM-as-Judgecited by 16
- 2025Benchmarking LLMs' Swarm intelligencecited by 8
- 2026MetaGen: Self-Evolving Roles and Topologies for Multi-Agent LLM Reasoningcited by 8
- 2026Can LLMs Reason Like Automated Theorem Provers for Rust Verification? VCoT-Bench: Evaluating via Verification Chain of Thoughtcited by 0
- 2026Conflict-Resilient Multi-Agent Reasoning via Signed Graph Modelingcited by 0
- 2026Rethinking Multi-Agent Collaboration: When More Is Lesscited by 0
- 2026Rethinking Multi-Agent Collaboration: When More Is Less17 Sep 2026
- 2026Conflict-Resilient Multi-Agent Reasoning via Signed Graph Modeling19 May 2026
- 2026Can LLMs Reason Like Automated Theorem Provers for Rust Verification? VCoT-Bench: Evaluating via Verification Chain of Thought18 Mar 2026
- 2026Auditing Multi-Agent LLM Reasoning Trees Outperforms Majority Vote and LLM-as-Judge10 Feb 2026
- 2026MetaGen: Self-Evolving Roles and Topologies for Multi-Agent LLM Reasoning27 Jan 2026
- 2025Learning to Deliberate: Meta-policy Collaboration for Agentic LLMs with Multi-agent Reinforcement Learning4 Sep 2025
- 2025Benchmarking LLMs' Swarm intelligence7 May 2025
- 2025MultiAgentBench: Evaluating the Collaboration and Competition of LLM agents3 Mar 2025
- 2024RethinkMCTS: Refining Erroneous Thoughts in Monte Carlo Tree Search for Code Generation15 Sep 2024
- 2024Project Sid: Many-agent simulations toward AI civilizationcited by 46
- 2024Project Sid: Many-agent simulations toward AI civilization31 Oct 2024
- 2024A Survey on Large Language Models for Code Generationcited by 646
- 2024A Systematic Survey on Large Language Models for Algorithm Designcited by 65
- 2024Alibaba LingmaAgent: Improving Automated Issue Resolution via Comprehensive Repository Explorationcited by 58
- 2024Model Swarms: Collaborative Search to Adapt LLM Experts via Swarm Intelligencecited by 27
- 2024From Text to Life: On the Reciprocal Relationship between Artificial Life and Large Language Modelscited by 8
- 2025Distributional AGI Safetycited by 8
- 2024INDICT: Code Generation with Internal Dialogues of Critiques for Both Security and Helpfulnesscited by 7
- 2026ChipBench: A Next-Step Benchmark for Evaluating LLM Performance in AI-Aided Chip Designcited by 7
- 2025Is Your Benchmark Still Useful? Dynamic Benchmarking for Code Language Modelscited by 5
- 2026PAC-BENCH: Evaluating Multi-Agent Collaboration under Privacy Constraintscited by 5
- 2024Repository Structure-Aware Training Makes SLMs Better Issue Resolvercited by 4
- 2025Exploring the Challenges and Opportunities of AI-assisted Codebase Generationcited by 4
12 most cited of 17 All 17 (JSON)
- 2026From Knowledge to Action: Outcomes of the 2025 Large Language Model (LLM) Hackathon for Applications in Materials Science and Chemistry4 May 2026
- 2026PAC-BENCH: Evaluating Multi-Agent Collaboration under Privacy Constraints13 Apr 2026
- 2026PaperRepro: Automated Computational Reproducibility Assessment for Social Science Papers10 Feb 2026
- 2026ChipBench: A Next-Step Benchmark for Evaluating LLM Performance in AI-Aided Chip Design29 Jan 2026
- 2025Distributional AGI Safety18 Dec 2025
- 2025Automating Complex Document Workflows via Stepwise and Rollback-Enabled Operation Orchestration4 Dec 2025
- 2025Exploring the Challenges and Opportunities of AI-assisted Codebase Generation11 Aug 2025
- 2025GoalfyMax: A Protocol-Driven Multi-Agent System for Intelligent Experience Entities13 Jul 2025
- 2025Is Your Benchmark Still Useful? Dynamic Benchmarking for Code Language Models9 Mar 2025
- 2024Repository Structure-Aware Training Makes SLMs Better Issue Resolver26 Dec 2024
- 2024Model Swarms: Collaborative Search to Adapt LLM Experts via Swarm Intelligence15 Oct 2024
- 2024A Systematic Survey on Large Language Models for Algorithm Design11 Oct 2024
12 newest of 17 All 17 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2025A Survey on Code Generation with LLM-based Agents
- 2025AdaCoder: An Adaptive Planning and Multi-Agent Framework for Function-Level Code Generation
- 2025SEW: Self-Evolving Agentic Workflows for Automated Code Generation
- 2025CodeCoR: An LLM-Based Self-Reflective Multi-Agent Framework for Code Generation
- 2025Guided Code Generation with LLMs: A Multi-Agent Framework for Complex Code Tasks
- 2026SEMAG: Self-Evolutionary Multi-Agent Code Generation
- 2023AgentCoder: Multi-Agent-based Code Generation with Iterative Testing and Optimisation
- 2025Enhancing LLM Code Generation: A Systematic Evaluation of Multi-Agent Collaboration and Runtime Debugging for Improved Accuracy, Reliability, and Latency