arXiv cs.AI· Yifei Wang, Ruiyin Li, Peng Liang, Qiong Feng, Zengyang Li, Mojtaba Shahin, Arif Ali Khan·· 2 小时前AI 评分31
CodeTeam:一个面向仓库级代码生成的 LLM 多智能体框架
CodeTeam: An LLM-Powered Multi-Agent Framework for Repository-Level Code Generation
AI 导读
研究者提出 CodeTeam,一个用于自然语言到仓库生成(NL2Repo)任务的 LLM 多智能体框架,将规划、决策与实现分离为协同阶段:多个 Architect 智能体起草设计方案,cto 智能体筛选并规范化为可机器校验的契约,Developer 智能体在依赖感知调度与轻量 Git 协调下写代码,qa 智能体运行测试驱动迭代修复。
正文 · 原文
Abstract:Natural language to repository generation (NL2Repo) requires a system to construct an entire software repository from a natural-language requirements document. Compared with function-level code generation, this task demands longer planning horizons, stable interfaces across files, and iterative debugging of cross-file inconsistencies. To address these challenges, we propose CodeTeam, an LLM-based multi-agent framework that separates planning, decision making, and implementation into distinct, coordinated stages. In the planning stage, multiple Architect agents draft competing software design sketches (SDSs), optionally grounded by retrieved design references. A cto (Chief Technical Officer) agent then evaluates, selects, and normalizes the most promising SDS into a machine-checkable contract that specifies file ownership, public interfaces, and dependency constraints. In the implementation stage, Developer agents generate code under a dependency-aware scheduler with bounded context and lightweight Git-based coordination, while a qa agent runs tests and drives iterative repairs. On the synthesis-based SketchEval benchmark, we compare CodeTeam's prompt-engineering (PE) variant with CodeS and five representative baselines across 19 repositories under a retrieval-free protocol, where CodeTeam improves the mean structural score by 3.84 absolute points over CodeS (53.88 versus 50.04). CodeTeam and the experimental results are available at this https URL
| Comments: | 33 pages, 1 images, 20 tables, Manuscript revision to a Journal (2026) |
| Subjects: | Software Engineering (cs.SE); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2606.22082 [cs.SE] |
| (or arXiv:2606.22082v2 [cs.SE] for this version) | |
| https://doi.org/10.48550/arXiv.2606.22082 arXiv-issued DOI via DataCite |
Submission history
From: Peng Liang [view email]
[v1]
Sat, 20 Jun 2026 14:57:33 UTC (562 KB)
[v2]
Fri, 20 Nov 2026 17:52:46 UTC (560 KB)
来源:arXiv cs.AI · arxiv.org