孔子代码智能体:工业级开源人工智能软件工程师
Confucius Code Agent: An Open-sourced AI Software Engineer at Industrial Scale
December 11, 2025
著者: Zhaodong Wang, Zhenting Qi, Sherman Wong, Nathan Hu, Samuel Lin, Jun Ge, Erwin Gao, Yining Yang, Ben Maurer, Wenlin Chen, David Recordon, Yilun Du, Minlan Yu, Ying Zhang
cs.AI
要旨
現実世界のAIソフトウェア工学では、大規模なリポジトリを推論対象とし、長期間のセッション内外で持続的なメモリを維持し、テスト時に複雑なツールチェーンを堅牢に調整できるコーディングエージェントが求められています。既存のオープンソースコーディングエージェントは透明性を提供しますが、このような産業規模のワークロードが要求される場面ではしばしば不十分です。一方、プロプライエタリなコーディングエージェントは実用的な性能に優れるものの、拡張性、解釈可能性、制御性が限られています。本論文では、産業規模で動作可能なオープンソースのAIソフトウェアエンジニアであるConfucius Code Agent (CCA)を提案します。CCAは、Confucius SDK上に構築されています。Confucius SDKは、エージェント体験(AX)、ユーザー体験(UX)、開発者体験(DX)という3つの相補的な視点を中心に設計されたオープンソースのエージェント開発プラットフォームです。このSDKは、長文脈推論のための階層的な作業メモリを備えた統一オーケストレータ、セッションを跨ぐ継続的学習のための永続的なノート記録システム、堅牢なツール使用のためのモジュラー式拡張モジュールを導入しています。さらに、メタエージェントが、ビルド-テスト-改善のループを通じてエージェント設定の合成、評価、改良を自動化し、新しいタスク、環境、ツールスタックへの迅速なエージェント開発を可能にします。これらのメカニズムを備えたConfucius SDK上で具現化されたCCAは、現実世界のソフトウェア工学タスクにおいて強力な性能を発揮します。SWE-Bench-Proでは、CCAは54.3%というResolve@1の状態-of-the-art性能を達成し、従来のコーディングエージェントを大幅に上回ります。Confucius SDKとCCAは一体となり、AIエージェントのための透明性が高く拡張可能で再現性のある基盤を提供し、研究プロトタイプと製品グレードシステム間のギャップを埋め、産業規模でのエージェント開発とデプロイメントを支援します。
English
Real-world AI software engineering demands coding agents that can reason over massive repositories, maintain durable memory across and within long sessions, and robustly coordinate complex toolchains at test time. Existing open-source coding agents provide transparency but frequently fall short when pushed to these industrial-scale workloads, while proprietary coding agents offer strong practical performance but limited extensibility, interpretability, and controllability. We present the Confucius Code Agent (CCA), an open-sourced AI software engineer that can operate at an industrial scale. CCA is built atop the Confucius SDK, an open-sourced agent development platform designed around three complementary perspectives: Agent Experience (AX), User Experience (UX), and Developer Experience (DX). The SDK introduces a unified orchestrator with hierarchical working memory for long-context reasoning, a persistent note-taking system for cross-session continual learning, and a modular extension module for robust tool use. Moreover, a meta-agent automates the synthesis, evaluation, and refinement of agent configurations through a build-test-improve loop, enabling rapid agent development on new tasks, environments, and tool stacks. Instantiated on Confucius SDK with these mechanisms, CCA delivers strong performance on real-world software engineering tasks. On SWE-Bench-Pro, CCA achieves a state-of-the-art Resolve@1 performance of 54.3%, substantially improving over prior coding agents. Together, the Confucius SDK and CCA provide a transparent, extensible, and reproducible foundation for AI agents, bridge gaps between research prototypes and production-grade systems, and support agent development and deployment at industrial scale.