返回全部动态

基于智能体原生可复用代码原语的大规模仓库工程

原标题:Large-scale Repository Engineering via Agent-Native Reusable Code Primitives

arXiv cs.SE一手来源研究质量 85

AI 摘要

论文提出 Code Primitives(智能体原生的可复用可执行组件),每个组件自带接口契约、依赖闭包、验证测试和来源信息,并可通过常驻 LLM 作为自然语言接口适配目标仓库;这些组件被组织成可检索库 CodeFace。作者进一步提出 LEGO 流水线,通过检索激活、组件协作、诊断验证三机制协调组件完成仓库级构建,并发布 LEGO-REPO 基准(覆盖七个软件领域、五个难度等级)。实验显示 LEGO 提升了所有被测模型,GPT-5.6-terra 的交付分数显著上升,且适配后的组件优于直接检索上下文或原样引入的代码。

以上摘要由 AI 生成,可能存在误差。事实请以原文为准。

正文节选

Large-scale Repository Engineering via Agent-Native Reusable Code Primitives Abstract Large language models (LLMs) equipped with development environments have moved code generation toward repository-scale construction, yet building complete repositories remains difficult because interacting modules, interfaces, configurations, tests, and dependencies must work together. We introduce Code Primitives, agent-native reusable executable components that carry their own interface contracts, dependency


发布时间:2026-10-08 12:00
抓取时间:2026-10-08 13:27
来源机构:arXiv
阅读原文arxiv.org