孔子代码代理:面向真实世界代码库的可扩展代理构建
Confucius Code Agent: Scalable Agent Scaffolding for Real-World Codebases
AI总结:
孔子代码代理通过可扩展的代理构建框架,在真实世界软件工程任务中实现高性能,超越现有研究和商业成果。
摘要:
现实世界的软件工程任务需要能够操作大规模仓库、维持长周期会话并可靠协调复杂工具链的编码代理。现有研究级编码代理提供透明度,但在扩展到更重的生产级工作负载时遇到困难,而生产级系统在实际性能上表现强劲,但可扩展性、可解释性和可控性有限。我们介绍了孔子代码代理(CCA),一种能够在大规模代码库上运行的软件工程代理。CCA基于Confucius SDK构建,该代理开发平台围绕三个互补的视角:代理经验(AX)、用户体验(UX)和开发者经验(DX)进行结构化设计。SDK支持统一的协调器,具有先进的上下文管理功能以支持长上下文推理,持久的笔记系统用于跨会话的持续学习,以及模块化扩展系统以实现可靠的工具使用。此外,我们引入了一个元代理,通过构建-测试-改进循环自动化代理的构建、评估和优化,使新任务和工具堆栈上的快速代理开发成为可能。在Confucius SDK上使用元代理实例化CCA,在现实世界软件工程任务上表现出色。在SWE-Bench-Pro上,CCA在Resolve@1指标上达到59%,在相同仓库、模型后端和工具访问条件下,超过先前的研究基线以及商业结果。
英文摘要:
Real-world software engineering tasks require coding agents that can operate on massive repositories, sustain long-horizon sessions, and reliably coordinate complex toolchains at test time. Existing research-grade coding agents offer transparency but struggle when scaled to heavier, production-level workloads, while production-grade systems achieve strong practical performance but provide limited extensibility, interpretability, and controllability. We introduce the Confucius Code Agent (CCA), a software engineering agent that can operate at large-scale codebases. CCA is built on top of the Confucius SDK, an agent development platform structured around three complementary perspectives: Agent Experience (AX), User Experience (UX), and Developer Experience (DX). The SDK supports a unified orchestrator with advanced context management for long-context reasoning, a persistent note-taking system for cross-session continual learning, and a modular extension system for reliable tool use. In addition, we introduce a meta-agent that automates the construction, evaluation, and refinement of agents through a build-test-improve cycle, enabling rapid agent development on new tasks and tool stacks. Instantiated on the Confucius SDK using the meta-agent, CCA demonstrates strong performance on real-world software engineering tasks. On SWE-Bench-Pro, CCA achieves a Resolve@1 of 59%, exceeding prior research baselines as well as commercial results, under identical repositories, model backends, and tool access.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。