English

Confucius Code Agent: Scalable Agent Scaffolding for Real-World Codebases

Computation and Language 2026-02-04 v6 Artificial Intelligence Machine Learning Software Engineering

Abstract

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.

Keywords

Cite

@article{arxiv.2512.10398,
  title  = {Confucius Code Agent: Scalable Agent Scaffolding for Real-World Codebases},
  author = {Sherman Wong and Zhenting Qi and Zhaodong Wang and Nathan Hu and Samuel Lin and Jun Ge and Erwin Gao and Wenlin Chen and Yilun Du and Minlan Yu and Ying Zhang},
  journal= {arXiv preprint arXiv:2512.10398},
  year   = {2026}
}

Comments

The latest version

R2 v1 2026-07-01T08:20:09.124Z