AgentConductor: Topology Evolution for Multi-Agent Competition-Level Code Generation

Siyu Wang, Ruotian Lu, Zhihao Yang, Yuchao Wang, Yanzhou Zhang +5 more
2/19/2026
cs.MA

No official code found. Best implementation: RobinElysia/Agent-Contuctor (2 stars, Apache-2.0, last commit 2026-04-23).

Abstract

Large language model(LLM)-driven multi-agent systems(MAS) coordinate specialized agents through predefined interaction topologies and have shown promise for complex tasks such as competition-level code generation. Recent studies demonstrate that carefully designed multi-agent workflows and communication graphs can significantly improve code generation performance by leveraging collaborative reasoning. However, existing methods neither adapt topology density to task difficulty nor iteratively refine the topology within an instance using execution feedback, which leads to redundant communication and performance bottlenecks. To address these issues, we propose AgentConductor: a reinforcement learning-optimized MAS with an LLM-based orchestrator agent as its core, which enables end-to-end feedback-driven dynamic generation of interaction topologies. For each query, AgentConductor infers agent roles and task difficulty, then constructs a task-adapted, density-aware layered directed acyclic graph (DAG) topology, underpinned by two key innovations. First, we design a novel topological density function that captures communication-aware mathematical characterizations of multi-agent interactions. Second, we adopt difficulty interval partitioning to avoid excessive pruning for precise topological density upper bound measurement per difficulty level and finer-grained control. Empirically, across three competition-level and two foundational code datasets, AgentConductor achieves state-of-the-art accuracy, outperforming the strongest baseline by up to 14.6% in pass@1 accuracy, 13% in density reduction, and 68% in token cost reduction.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

AgentConductor 是一个面向 CLI 的 Agent Contuctor 项目,旨在将《AgentConductor: Topology Evolution for Multi-Agent Competition-Level Code Generation》中描述的方法复现为一个可复用的软件系统。该代码仓库不应止步于一次性实验,而应朝着可维护的包、可调用的 API 接口以及持久的实现文档不断演进。

20Python, PowerShellApr 12, 20266 months agoApache-2.0
agentagentconductoragentic-aipython

Cite this paper

@article{wang2026agentconductor,
  title  = {AgentConductor: Topology Evolution for Multi-Agent Competition-Level Code Generation},
  author = {Siyu Wang and Ruotian Lu and Zhihao Yang and Yuchao Wang and Yanzhou Zhang and Lei Xu and Qimin Xu and Guojun Yin and Cailian Chen and Xinping Guan},
  year   = {2026},
  eprint = {2602.17100},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.17100v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2602.17100.svg)](https://codeofpaper.com/paper/2602.17100)

Discussion