BOAD: Discovering Hierarchical Software Engineering Agents via Bandit Optimization
On the map: LLM reasoning → Reasoning for agents, planning and code
also in 1 more
Abstract (arXiv)
Large language models (LLMs) have shown strong reasoning and coding capabilities, yet they struggle to generalize to real-world software engineering (SWE) problems that are long-horizon and out of distribution. Existing systems often rely on a single agent to handle the entire workflow-interpreting issues, navigating large codebases, and implementing fixes-within one reasoning chain. Such monolithic designs force the model to retain irrelevant context, leading to spurious correlations and poor generalization. Motivated by how human engineers decompose complex problems, we propose structuring SWE agents as orchestrators coordinating specialized sub-agents for sub-tasks such as localization, editing, and validation. The challenge lies in discovering effective hierarchies automatically: as the number of sub-agents grows, the search space becomes combinatorial, and it is difficult to attribute credit to individual sub-agents within a team. We address these challenges by formulating hierarchy discovery as a multi-armed bandit (MAB) problem, where each arm represents a candidate sub-agent and the reward measures its helpfulness when collaborating with others. This framework, termed Bandit Optimization for Agent Design (BOAD), enables efficient exploration of sub-agent designs under limited evaluation budgets. On SWE-bench-Verified, BOAD outperforms single-agent and manually designed multi-agent systems. On SWE-bench-Live, featuring more recent and out-of-distribution issues, our 36B system ranks second on the leaderboard at the time of evaluation, surpassing larger models such as GPT-4 and Claude. These results demonstrate that automatically discovered hierarchical multi-agent systems significantly improve generalization on challenging long-horizon SWE tasks. Code is available at https://github.com/iamxjy/BOAD-SWE-Agent.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 30 of its 53 references that are in the map. First posted on arXiv 29 Dec 2025.
Builds on
30 of 53 references.
Closest ancestors · 2
Same direction, newest first
- 2025SWE-Debate: Competitive Multi-Agent Debate for Software Issue Resolution31 Jul
- 2024AFlow: Automating Agentic Workflow Generation14 Oct
Other references · 28
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,146
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2020Learning to summarize from human feedbackcited by 2,562
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,628
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
- 2023Quantifying Language Models' Sensitivity to Spurious Features in Prompt Design or: How I learned to start worrying about prompt formattingcited by 778
- 2023AgentVerse: Facilitating Multi-Agent Collaboration and Exploring Emergent Behaviorscited by 580
- 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 527
- 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolutioncited by 521
- 2024LLMs-as-Judges: A Comprehensive Survey on LLM-based Evaluation Methodscited by 451
- 2025GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learningcited by 449
- 2024Automated Design of Agentic Systemscited by 360
16 more
- 2025Darwin Godel Machine: Open-Ended Evolution of Self-Improving Agentscited by 294
- 2023AutoAgents: A Framework for Automatic Agent Generationcited by 211
- 2024EvoAgent: Towards Automatic Multi-Agent Generation via Evolutionary Algorithmscited by 109
- 2025Multi-Agent Design: Optimizing Agents with Better Prompts and Topologiescited by 106
- 2016Corralling a Band of Bandit Algorithmscited by 99
- 2024CodeR: Issue Resolving with Multi-Agent and Task Graphscited by 89
- 2025Reasoning or Memorization? Unreliable Results of Reinforcement Learning Due to Data Contaminationcited by 81
- 2024HyperAgent: Generalist Software Engineering Agents to Solve Coding Tasks at Scalecited by 61
- 2019Model selection for contextual banditscited by 60
- 2024MASAI: Modular Architecture for Software-engineering AI Agentscited by 49
- 2023Explore Spurious Correlations at the Concept Level in Language Models for Text Classificationcited by 48
- 2024Diversity Empowers Intelligence: Integrating Expertise of Software Engineering Agentscited by 35
- 2019Bears: An Extensible Java Bug Benchmark for Automatic Program Repair Studiescited by 13
- 2023Data-Driven Online Model Selection With Regret Guaranteescited by 11
- 2021Extracting Concise Bug-Fixing Patches from Human-Written Patches in Version Control Systemscited by 9
- 2024ORSO: Accelerating Reward Design via Online Reward Selection and Policy Optimizationcited by 6
Built on by
Citing papers per year: 2026: 7.
7 papers.
- 2026Code as Agent Harnesscited by 40
- 2026Effective Strategies for Asynchronous Software Engineering Agentscited by 12
- 2026Structurally Aligned Subtask-Level Memory for Software Engineering Agentscited by 11
- 2026Better Harnesses, Smaller Models: Building 90% Cheaper Agents via Automated Harness Adaptationcited by 7
- 2026SWE-Edit: Rethinking Code Editing for Efficient SWE-Agentcited by 3
- 2026Pushing Forward Pareto Frontiers of Proactive Agents with Behavioral Agentic Optimizationcited by 2
- 2026Long Live the Librarian! A Persistent Search Sub-Agent for Energy-Efficient Multi-Agent Software Engineering Systemscited by 0
- 2026Better Harnesses, Smaller Models: Building 90% Cheaper Agents via Automated Harness Adaptation9 Jul 2026
- 2026Long Live the Librarian! A Persistent Search Sub-Agent for Energy-Efficient Multi-Agent Software Engineering Systems27 May 2026
- 2026Code as Agent Harness18 May 2026
- 2026SWE-Edit: Rethinking Code Editing for Efficient SWE-Agent28 Apr 2026
- 2026Effective Strategies for Asynchronous Software Engineering Agents23 Mar 2026
- 2026Structurally Aligned Subtask-Level Memory for Software Engineering Agents25 Feb 2026
- 2026Pushing Forward Pareto Frontiers of Proactive Agents with Behavioral Agentic Optimization11 Feb 2026
Similar, not cited
Close in wording, no citation either way
- 2024SWE-Search: Enhancing Software Agents with Monte Carlo Tree Search and Iterative Refinement
- 2026SWE-World: Building Software Engineering Agents in Docker-Free Environments
- 2025AgentSwift: Efficient LLM Agent Design via Value-guided Hierarchical Search
- 2026Socratic-SWE: Self-Evolving Coding Agents via Trace-Derived Agent Skills
- 2025Training Versatile Coding Agents in Synthetic Environments
- 2026SkillMOO: Multi-Objective Optimization of Agent Skills for Software Engineering
- 2026SWE-Shepherd: Advancing PRMs for Reinforcing Code Agents
- 2025ROAD: Reflective Optimization via Automated Debugging for Zero-Shot Agent Alignment