Sunday, January 11, 2026

Meta and Harvard Researchers Introduce the Confucius Code Agent (CCA): A Software program Engineering Agent that may Function at Massive-Scale Codebases


How far can a mid sized language mannequin go if the true innovation strikes from the spine into the agent scaffold and power stack? Meta and Harvard researchers have launched the Confucius Code Agent, an open sourced AI software program engineer constructed on the Confucius SDK that’s designed for industrial scale software program repositories and lengthy operating classes. The system targets actual GitHub initiatives, complicated take a look at toolchains at analysis time, and reproducible outcomes on benchmarks equivalent to SWE Bench Professional and SWE Bench Verified, whereas exposing the complete scaffold for builders.

https://arxiv.org/pdf/2512.10398

Confucius SDK, scaffolding across the mannequin

The Confucius SDK is an agent growth platform that treats scaffolding as a main design downside relatively than a skinny wrapper round a language mannequin. It’s organized round 3 axes, Agent Expertise, Person Expertise, and Developer Expertise.

Agent Expertise controls what the mannequin sees, together with context structure, working reminiscence and power outcomes. Person Expertise focuses on readable traces, code diffs and safeguards for human engineers. Developer Expertise focuses on observability, configuration and debugging of the agent itself.

The SDK introduces 3 core mechanisms, a unified orchestrator with hierarchical working reminiscence, a persistent observe taking system, and a modular extension interface for instruments. A meta agent then automates synthesis and refinement of agent configurations by way of a construct, take a look at, enhance loop. The Confucius Code Agent is one concrete instantiation of this scaffold for software program engineering.

https://arxiv.org/pdf/2512.10398

Hierarchical working reminiscence for lengthy horizon coding

Actual software program duties on SWE Bench Professional usually require reasoning over dozens of recordsdata and plenty of interplay steps. The orchestrator in Confucius SDK maintains hierarchical working reminiscence, which partitions a trajectory into scopes, summarizes previous steps and retains compressed context for later turns.

This design helps maintain prompts inside mannequin context limits whereas preserving necessary artifacts equivalent to patches, error logs and design selections. The important thing level is that efficient device primarily based coding brokers want an specific reminiscence structure, not only a sliding window of earlier messages.

Persistent observe taking for cross session studying

The second mechanism is a observe taking system that makes use of a devoted agent to write down structured Markdown notes from execution traces. These notes seize job particular methods, repository conventions and customary failure modes, and they’re saved as long run reminiscence that may be reused throughout classes.

The analysis workforce ran Confucius Code Agent twice on 151 SWE Bench Professional situations with Claude 4.5 Sonnet. On the primary run the agent solves duties from scratch and generates notes. On the second run the agent reads these notes. On this setting, common turns drop from 64 to 61, token utilization drops from about 104k to 93k, and Resolve@1 improves from 53.0 to 54.4. This exhibits that notes are usually not simply logs, they operate as efficient cross session reminiscence.

Modular extensions and power use sophistication

Confucius SDK exposes instruments as extensions, for instance file enhancing, command execution, take a look at runners and code search. Every extension can keep its personal state and immediate wiring.

The analysis workforce research the affect of device use sophistication utilizing an ablation on a 100 instance subset of SWE Bench Professional. With Claude 4 Sonnet, shifting from a configuration with out superior context options to 1 with superior context raises Resolve@1 from 42.0 to 48.6. With Claude 4.5 Sonnet, a easy device use configuration reaches 44.0, whereas richer device dealing with reaches 51.6, with 51.0 for an intermediate variant. These numbers point out that how the agent chooses and sequences instruments issues virtually as a lot because the spine mannequin alternative.

https://arxiv.org/pdf/2512.10398

Meta agent for automated agent design

On prime of those mechanisms, the Confucius SDK features a meta agent that takes a pure language specification of an agent and iteratively proposes configurations, prompts and extension units. It then runs the candidate agent on duties, inspects traces and metrics, and edits the configuration in a construct, take a look at, enhance loop.

The Confucius Code Agent that the analysis workforce evaluates is produced with the assistance of this meta agent, relatively than solely hand tuned. This method turns a number of the agent engineering course of itself into an LLM guided optimization downside.

Outcomes on SWE Bench Professional and SWE Bench Verified

The primary analysis makes use of SWE Bench Professional, which has 731 GitHub points that require modifying actual repositories till checks move. All in contrast techniques share the identical repositories, device setting and analysis harness, so variations come from the scaffolds and fashions.

On SWE Bench Professional, the reported Resolve@1 scores are

  • Claude 4 Sonnet with SWE Agent, 42.7
  • Claude 4 Sonnet with Confucius Code Agent, 45.5
  • Claude 4.5 Sonnet with SWE Agent, 43.6
  • Claude 4.5 Sonnet with Stay SWE Agent, 45.8
  • Claude 4.5 Sonnet with Confucius Code Agent, 52.7
  • Claude 4.5 Opus with Anthropic system card scaffold, 52.0
  • Claude 4.5 Opus with Confucius Code Agent, 54.3

These outcomes present {that a} sturdy scaffold with a mid tier mannequin, Claude 4.5 Sonnet with Confucius Code Agent at 52.7, can outperform a stronger mannequin with a weaker scaffold, Claude 4.5 Opus with 52.0.

On SWE Bench Verified, Confucius Code Agent with Claude 4 Sonnet reaches Resolve@1 74.6, in comparison with 66.6 for SWE Agent and 72.8 for OpenHands. A mini SWE Agent variant with Claude 4.5 Sonnet reaches 70.6, which can also be under Confucius Code Agent with Claude 4 Sonnet.

The analysis workforce additionally report efficiency as a operate of edited file depend. For duties enhancing 1 to 2 recordsdata, Confucius Code Agent reaches 57.8 Resolve@1, for 3 to 4 recordsdata it reaches 49.2, for five to six recordsdata it reaches 44.1, for 7 to 10 recordsdata it reaches 52.6, and for greater than 10 recordsdata it reaches 44.4. This means secure habits on multi file adjustments in giant codebases.

Key Takeaways

  • Scaffolding can outweigh mannequin measurement: Confucius Code Agent exhibits that with sturdy scaffolding, Claude 4.5 Sonnet reaches 52.7 Resolve@1 on SWE-Bench-Professional, surpassing Claude 4.5 Opus with a weaker scaffold at 52.0.
  • Hierarchical working reminiscence is important for lengthy horizon coding: The Confucius SDK orchestrator makes use of hierarchical working reminiscence and context compression to handle lengthy trajectories over giant repositories, relatively than counting on a easy rolling historical past.
  • Persistent notes act as efficient cross session reminiscence: On 151 SWE-Bench-Professional duties with Claude 4.5 Sonnet, reusing structured notes reduces turns from 64 to 61, token utilization from about 104k to 93k, and will increase Resolve@1 from 53.0 to 54.4.
  • Software configuration materially impacts success charges: On a 100 job SWE-Bench-Professional subset, shifting from easy to richer device dealing with with Claude 4.5 Sonnet will increase Resolve@1 from 44.0 to 51.6, indicating that realized device routing and restoration methods are a serious efficiency lever, not simply an implementation element.
  • Meta agent automates agent design and tuning: A meta agent iteratively proposes prompts, device units and configurations, then evaluates and edits them in a construct, take a look at, enhance loop, and the manufacturing Confucius Code Agent is itself generated with this course of relatively than solely guide tuning.

Take a look at the PAPER HERE. Additionally, be happy to comply with us on Twitter and don’t neglect to hitch our 100k+ ML SubReddit and Subscribe to our Publication. Wait! are you on telegram? now you may be a part of us on telegram as effectively.

Take a look at our newest launch of ai2025.dev, a 2025-focused analytics platform that turns mannequin launches, benchmarks, and ecosystem exercise right into a structured dataset you may filter, examine, and export.


Asif Razzaq is the CEO of Marktechpost Media Inc.. As a visionary entrepreneur and engineer, Asif is dedicated to harnessing the potential of Synthetic Intelligence for social good. His most up-to-date endeavor is the launch of an Synthetic Intelligence Media Platform, Marktechpost, which stands out for its in-depth protection of machine studying and deep studying information that’s each technically sound and simply comprehensible by a large viewers. The platform boasts of over 2 million month-to-month views, illustrating its recognition amongst audiences.

Related Articles

Latest Articles