|国家预印本平台
首页|Co-Saving: Resource Aware Multi-Agent Collaboration for Software Development

Co-Saving: Resource Aware Multi-Agent Collaboration for Software Development

Co-Saving: Resource Aware Multi-Agent Collaboration for Software Development

来源:Arxiv_logoArxiv
英文摘要

Recent advancements in Large Language Models (LLMs) and autonomous agents have demonstrated remarkable capabilities across various domains. However, standalone agents frequently encounter limitations when handling complex tasks that demand extensive interactions and substantial computational resources. Although Multi-Agent Systems (MAS) alleviate some of these limitations through collaborative mechanisms like task decomposition, iterative communication, and role specialization, they typically remain resource-unaware, incurring significant inefficiencies due to high token consumption and excessive execution time. To address these limitations, we propose a resource-aware multi-agent system -- Co-Saving (meaning that multiple agents collaboratively engage in resource-saving activities), which leverages experiential knowledge to enhance operational efficiency and solution quality. Our key innovation is the introduction of "shortcuts" -- instructional transitions learned from historically successful trajectories -- which allows to bypass redundant reasoning agents and expedite the collective problem-solving process. Experiments for software development tasks demonstrate significant advantages over existing methods. Specifically, compared to the state-of-the-art MAS ChatDev, our method achieves an average reduction of 50.85% in token usage, and improves the overall code quality by 10.06%.

Rennai Qiu、Chen Qian、Ran Li、Yufan Dang、Weize Chen、Cheng Yang、Yingli Zhang、Ye Tian、Xuantang Xiong、Lei Han、Zhiyuan Liu、Maosong Sun

计算技术、计算机技术

Rennai Qiu,Chen Qian,Ran Li,Yufan Dang,Weize Chen,Cheng Yang,Yingli Zhang,Ye Tian,Xuantang Xiong,Lei Han,Zhiyuan Liu,Maosong Sun.Co-Saving: Resource Aware Multi-Agent Collaboration for Software Development[EB/OL].(2025-05-27)[2025-06-10].https://arxiv.org/abs/2505.21898.点此复制

评论