EvoConfig: Self-Evolving Multi-Agent Systems for Efficient Autonomous Environment Configuration
Xinshuai Guo, Jiayi Kuang, Linyue Pan, Yinghui Li, Yangning Li, Hai-Tao Zheng, Ying Shen, Di Yin, Xing Sun
TL;DR
EvoConfig tackles the challenge of reliably building executable runtime environments for large-scale SWE tasks by introducing a self-evolving, multi-agent framework. It decouples execution, diagnosis, and repair into three components: an environment info extractor, a main configuration agent using streaming ReAct reasoning, and an expert diagnosis agent that analyzes outcomes, potentially creates diagnostic tools, and adapts its rules over time. Empirical results show EvoConfig matching or exceeding Repo2Run on a large repository set and achieving strong gains on harder EnvBench tasks, along with superior process-level error perception and repair guidance. The work demonstrates that adaptive, fine-grained diagnosis integrated with environment construction can substantially boost robustness and efficiency in automated environment synthesis, with practical implications for scalable SWE agent deployment and benchmarking.
Abstract
A reliable executable environment is the foundation for ensuring that large language models solve software engineering tasks. Due to the complex and tedious construction process, large-scale configuration is relatively inefficient. However, most methods always overlook fine-grained analysis of the actions performed by the agent, making it difficult to handle complex errors and resulting in configuration failures. To address this bottleneck, we propose EvoConfig, an efficient environment configuration framework that optimizes multi-agent collaboration to build correct runtime environments. EvoConfig features an expert diagnosis module for fine-grained post-execution analysis, and a self-evolving mechanism that lets expert agents self-feedback and dynamically adjust error-fixing priorities in real time. Empirically, EvoConfig matches the previous state-of-the-art Repo2Run on Repo2Run's 420 repositories, while delivering clear gains on harder cases: on the more challenging Envbench, EvoConfig achieves a 78.1% success rate, outperforming Repo2Run by 7.1%. Beyond end-to-end success, EvoConfig also demonstrates stronger debugging competence, achieving higher accuracy in error identification and producing more effective repair recommendations than existing methods.
