DeepCode Open Agentic Coding - 2512.07921v1
DeepCode Open Agentic Coding - 2512.07921v1
Zongwei Li∗ Zhonghang Li∗ Zirui Guo Xubin Ren Chao Huang†
The University of Hong Kong
{zongwei9888, [Link], larfii1010, xubinrencs, chaohuang75}@[Link]
Source Code: [Link]
arXiv:2512.07921v1 [[Link]] 8 Dec 2025
Abstract
Recent advances in large language models (LLMs) have given rise to powerful
coding agents, making it possible for code assistants to evolve into code engineers.
However, existing methods still face significant challenges in achieving high-fidelity
document-to-codebase synthesis—such as scientific papers to code—primarily due
to a fundamental conflict between information overload and the context bottlenecks
of LLMs. In this work, we introduce DeepCode, a fully autonomous framework
that fundamentally addresses this challenge through principled information-flow
management. By treating repository synthesis as a channel optimization problem,
DeepCode seamlessly orchestrates four information operations to maximize task-
relevant signals under finite context budgets: source compression via blueprint
distillation, structured indexing using stateful code memory, conditional knowl-
edge injection via retrieval-augmented generation, and closed-loop error correction.
Extensive evaluations on the PaperBench benchmark demonstrate that DeepCode
achieves state-of-the-art performance, decisively outperforming leading commer-
cial agents such as Cursor and Claude Code, and crucially, surpassing PhD-level
human experts from top institutes on key reproduction metrics. By systematically
transforming paper specifications into production-grade implementations compara-
ble to human expert quality, this work establishes new foundations for autonomous
scientific reproduction that can accelerate research evaluation and discovery.
08/12/2025, 22:43 New_UI.html
① Human Expert (Top ML PhD) ② Commercial Code Agents ③ Scientific Code Agent ④ LLM-Based Agents
100 100 100 100
84.8%
72.4% 75.9% 73.5% 73.5%
75 75 75 75
58.7% 58.4%
51.1%
50 50 40.0% 50 50 43.3%
35.4%
25 25 25 25 16.4%
9.8%
5.0% 7.7%
0 0 0 0
er t de ex de or
C o d u d e C o C u rs e e p C o
de der de sh 4o R1 ini .5
-fla GPT- pSeek o3-m ude 3
o1 C o d e
Exp pCo r Co pCo ini 2 Dee
p
an Dee Cla D
Pap
e Dee Gem Dee Cla
Hum
1 Introduction
The rapid evolution of Large Language Models (LLMs) has initiated a profound shift in how software
is specified, implemented, and maintained [1, 2]. AI-assisted coding tools such as Cursor and Codex
∗
Equal contribution.
†
Chao Huang is the Corresponding Author.
LLM Context
The Reality: Bottleneck
A Major Performance Gap
~72%
Paper Blueprint CodeMem CodeRAG Verification
Replication score
Figure 2: From Challenge to Solution of DeepCode. Left: Current AI agents achieve only a 42%
paper replication score compared to 72% for human experts, highlighting the limitations of existing
agents. Middle: The core challenge stems from information overload conflicting with LLM context
limits, causing four key failure modes. Right: DeepCode addresses this through four information
operations (Blueprint, CodeMem, CodeRAG, Verification), surpassing human expert performance.
have already transformed everyday development practice by automating routine implementation tasks
and offering intelligent inline suggestions [3, 4]. Yet these systems remain fundamentally assistive:
they operate at the level of code completion, assuming that a human engineer still performs the higher-
level tasks of understanding specifications, planning system architecture, and validating behavior.
Recent advances in agentic LLM frameworks point toward a more ambitious paradigm—what we
term agentic software engineering—in which LLM-based agents are expected to plan, orchestrate, and
refine entire software projects from high-level natural language or document-level specifications [5, 6].
In this emerging regime, programming shifts from writing code to writing specifications, and the
central question becomes: can an artificial coding agent behave as an autonomous engineer that
translates rich, informal specifications into comprehensive, robust systems?
A natural and stringent testbed for this paradigm is high-fidelity, document-grounded program
synthesis, where a complex scientific paper serves as the sole specification and the goal is to
produce a fully executable implementation that faithfully reflects it. Such papers are detailed
multimodal specifications, combining informal exposition with equations, pseudo-code, and scattered
hyperparameters. In this work, we tackle the highly challenging task of reproducing machine
learning papers as complete code repositories. Recent efforts have explored this via LLM-based
agents. PaperBench evaluates frontier models on 20 ICML papers, finding the strongest model (o1)
with IterativeAgent achieves only 42.4% replication score, far below 72.4% for human experts [7].
PaperCoder employs a multi-agent pipeline spanning planning, analysis, and generation, reaching
51.14% reproduction rate on PaperBench [8]. These modest results reveal that current approaches fall
well short of reliable, end-to-end replication. We identify four key challenges that underlie this gap:
(i) Specification Preservation. Papers describe the target system through scattered, multimodal
constraints. Preserving a faithful mapping from this fragmented specification to implementation is
inherently difficult. (ii) Global Consistency under Partial Views. Repositories comprise interde-
pendent modules, but generation proceeds file-by-file under limited context. Maintaining consistency
across interfaces, types, and invariants under finite context windows easily leads to broken abstrac-
tions. (iii) Completion of Underspecified Designs. Papers specify only algorithmic cores, leaving
implementation details and experimental frameworks implicit. Inferring these consequential but
underspecified choices is non-trivial. (iv) Executable Faithfulness. Faithful reproduction requires
executable systems, not just plausible code. Long-horizon generation often yields repositories with
subtle logic bugs, dependency conflicts, and fragile pipelines that prevent end-to-end execution.
We argue that fundamentally addressing these challenges requires principled information-flow man-
agement. We abstract the synthesis process as the transmission of a high-entropy specification—the
scientific paper—through a sequence of bandwidth-constrained channels, defined by the LLM’s
2
context windows. Naive strategies that simply concatenate raw documents with growing code history
induce channel saturation, where redundant tokens mask critical algorithmic constraints, causing
the effective Signal-to-Noise Ratio to collapse. Consequently, valid repository generation requires a
paradigm shift governed by contextual information maximization: at each generation step, the system
must actively maximize the density of task-relevant signals while suppressing irrelevant noise.
Motivated by this perspective, we introduce DeepCode, an open agentic coding framework that
fundamentally reimagines repository-level synthesis as a problem of hierarchical information-flow
management. Rather than treating synthesis as a monolithic process, DeepCode systematically ad-
dresses the doc-to-repos challenges by instantiating the proposed paradigm through four orchestrated
information operations: (1) source compression, which distills unstructured multi-modal specifica-
tions into a precise structural blueprint to maximize signal density; (2) structured indexing, which
abstracts the evolving repository state into concise memory entries to maintain global consistency
without context saturation; (3) conditional knowledge injection, which leverages retrieval-augmented
generation to bridge implicit specification gaps with standard implementation patterns; and (4) error
correction, which utilizes closed-loop verification to transform execution feedback into corrective
signals for rectifying transmission errors. Our contributions are threefold:
2 Preliminary
2.1 Task Definition
The primary objective of this work is to develop a system for high-fidelity program synthesis. We
formalize this as the process of learning a mapping function, Fgen , which transforms a specification
document, D, into a complete and executable code repository, P. The core function is defined as:
Fgen : D → P (1)
where D represents the space of specification documents and P represents the space of valid code
repositories. Such that for a given input document D ∈ D, the output is a program repository
P = Fgen (D). We address two primary manifestations of this task:
• Scientific Paper Reproduction: Given a scientific paper from domains such as machine learning
or computer sciences as the source document D, the system should generate the full source code P
required to replicate the paper’s key experiments and results.
• Software System Generation: Given a comprehensive technical design document or a concise
natural language requirement for a software application (e.g., specifying UI, backend APIs, and
database schema) as D, the system should generate the corresponding multi-component software
repository P, including frontend, backend, and configuration files.
Input: Source Document D. The source document D is represented as a sequence of multi-modal
elements, D = (d1 , d2 , . . . , dL ), where each element di can be a block of text, a mathematical
3
equation, a table, a figure, or a snippet of pseudocode. The length L of this sequence is typically
large, posing significant challenges for models with finite context windows.
Output: Code Repository P. The target output P is not a single file but a structured repository. We
define it as a tuple:
P = (T , C, M) (2)
Here, T represents the directory structure that organizes the files in C. C = {c1 , c2 , . . . , cN } is a
set of N source code files. The generation of a coherent set C where files correctly interact (e.g.,
via imports and function calls) is a non-trivial problem of ensuring cross-file consistency. M is
the dependency manifest (e.g. [Link], [Link], [Link] file) specifying all
external libraries required to run the code.
2.2 Objectives
An ideal synthesis function Fgen must generate a repository P ∗ that optimizes a composite scoring
function. Under our paradigm of principled information-flow management, this optimization is
framed as maximizing the effective signal-to-noise ratio across the synthesis channel. The optimal
output is defined as:
P ∗ = arg max Score(P|D) (3)
P∈P
To overcome the conflict between information overload and finite context bandwidth, the scoring
function decomposes into four distinct objectives, each corresponding to an information operation:
• Specification Preservation: The repository must faithfully implement the rigid algorithmic
constraints hidden within the multimodal source document. The objective is to maximize signal
density by extracting precise blueprints from the unstructured input noise.
• Global Structural Consistency: The generated modules must maintain strict interface compatibil-
ity and type coherence. The objective is to maintain state consistency without context saturation,
achieved by indexing the evolving codebase into compact, retrievable summaries.
• Domain Knowledge Grounding: The system must bridge the gap between abstract academic
descriptions and concrete engineering implementations. The objective is to resolve underspecified
designs by conditionally injecting standard libraries and patterns from external knowledge bases.
• Functional Executability: The final repository must be robust and runnable. The objective is to
minimize transmission errors (bugs) by treating runtime execution feedback as a corrective signal
to iteratively refine the generated code.
Our framework is designed to satisfy these objectives by explicitly routing and compressing informa-
tion, enabling high-fidelity repository generation under strict context window constraints.
4
Hierarchical Content Segmentation Code Files
Structural Parsing …
Update
Coding Blueprint Knowledge New memory entry
CodeRAG CodeMem
Pick from
Project File Hierarchy Component Specification
Blueprint
Staged
Passage Dev.
… Verification Protocol Execution Environment Plan Target Next Iteration
Code File
Source
Documents Phase 1: Blueprint Generation Phase 2: Code Generation
Phase 3: Automated Verification and Refinement
Static Analysis and Code Quality Refinement Sandbox Execution and Functional Correction
Analysis Agent Modification Agent Sandbox Refinement
Optimal Code
Test data Analyzing trace
Static Analysis of Code Issues Line-level Modifications inspired by LSP Repository
LSP-based
Execution trace refinement
The primary goal of the first phase is to perform source compression: distilling the unstructured,
lengthy content of a source document (e.g. a scientific paper) into a structured, machine-readable
implementation blueprint. This distillation process directly mitigates the challenges of information
overload by transforming the raw input D into a high-density signal format. The process begins with
a crucial preprocessing step: hierarchical content segmentation.
5
Concept Agent: High-Level Structural and Conceptual Mapping. The Concept Agent is tasked
with building a holistic, high-level understanding of the document. Its primary objective is to map the
paper’s entire conceptual structure, identify its core scientific contributions, and outline the necessary
components for a successful experimental reproduction. Operating on the indexed document, the
agent is instructed to use a segmented reading strategy, querying the index with semantically broad
keywords (e.g. “introduction”, “method”). This allows it to assemble a comprehensive overview by
strategically fetching relevant sections. The output of this agent is a structured Conceptual Analysis
Schema. This schema comprises a detailed paper structure map, a method decomposition map
outlining the system’s core functional components, an implementation map aligning claims with code
requirements, and a reproduction roadmap specifying the criteria for success. Collectively, these
elements translate the paper’s narrative into a structured project plan.
Algorithm Agent: Low-Level Technical Detail Extraction. Complementing the conceptual
overview, the Algorithm Agent is responsible for the meticulous extraction of every low-level
technical detail required for an exact implementation. It’s designed to perform an exhaustive search
for all algorithms, mathematical formulations, model architectures, training procedures, and hy-
perparameters. Moreover, it can leverage online search capabilities to retrieve relevant algorithm
implementations from the web as references. Like the Concept Agent, it leverages the segmented read-
ing strategy but uses a distinct set of highly specific keywords (e.g. “algorithm”, “hyperparameter”) to
perform targeted queries on the most technically dense sections of the document. The agent’s output
is a granular Algorithmic Implementation Schema. This schema captures verbatim pseudocode from
algorithm boxes, exact mathematical equations and their variables, detailed layer-by-layer network
architectures, and a comprehensive list of all hyperparameters with references to their locations in the
paper. This schema serves as a precise, unambiguous technical specification, designed to leave no
detail to interpretation during the code generation phase.
Upon generating the high-signal blueprint, the second phase synthesizes the code repository. This
phase maximizes the density of relevant context while preventing channel saturation caused by the
6
accumulation of raw code history. A naive iterative approach, which appends previously generated
code to the prompt, leads to a collapse in the signal-to-noise ratio and induces hallucinations. To
overcome this, we propose a dual-mechanism strategy for efficient information routing: (1) a stateful
CodeMem that performs structured indexing of the evolving repository to maintain internal structural
cohesion without context bloat, and (2) a CodeRAG system that performs conditional knowledge
injection, grounding the implementation in external patterns to bridge implicit knowledge gaps.
7
3.2.2 Knowledge Grounding with CodeRAG
While the Code Memory mechanism ensures internal consistency, it does not address the challenges
of model hallucination or the omission of implicit domain knowledge. To mitigate these issues, we
introduce a retrieval-augmented generation framework, CodeRAG, which grounds the synthesis
process in a pre-indexed corpus of relevant, high-quality code repositories. This process is divided
into two stages: an indexing phase and an adaptive retrieval phase during code generation.
Repository Indexing. The goal of this phase is to analyze a set of relevant source code repositories,
R = {R1 , R2 , . . . , RK }, and build a structured, queryable index, J . The process, modeled by
Iindex : R × B → J , consists of the following steps:
1. Relevance Filtering: For each repository Rk ∈ R, we perform an initial LLM-based filtering
to identify a subset of source files, Ck′ ⊂ Rk , that are most relevant to the target project structure
defined in the implementation blueprint B. In this context, R can denote either the corresponding
repository cited in the references of the target paper or other relevant repositories identified through
online search. This focuses computational resources on the most promising assets.
2. Code Understanding: Each relevant source file c′s ∈ Ck′ is independently analyzed to create
a structured summary, analogous to the memory entries described previously. This summary
captures the file’s purpose, key concepts, and public interfaces.
3. Relationship Mapping: The core of the indexing process is to establish explicit links between
the analyzed source files and the target files in our blueprint. For each source file summary, an
agent maps it to one or more target files in B, generating a set of relationship tuples.
The final output index J is a structured knowledge base containing a collection of relationship
tuples. Each tuple is defined as (c′s , cˆt , τ, σ, γ). Here, c′s is a file in the source repository and cˆt is
the corresponding target file in the blueprint’s structure. τ denotes the relationship type, indicating
the nature of the potential contribution, while σ is a confidence score representing the strength of
the mapping. γ is a set of actionable context, such as helpful code snippets, usage suggestions, and
implementation patterns.
Adaptive Retrieval. During the iterative code generation phase, our framework will optionally query
the CodeRAG index J to augment its context. At each generation step t for a target file cˆt , the agent
makes an adaptive decision on whether to retrieve external knowledge. This decision is modeled by a
binary function δ:
rt = δ(Xt , cˆt ) (7)
where flag rt ∈ {0, 1} and Xt is the standard context containing the blueprint and relevant code
memory. The decision is based on the complexity of the target file and the level of detail available in
the blueprint. If rt = 1, the agent queries the index J to find the most relevant relationship tuples for
cˆt . The retrieved context γ from the highest-confidence relationship is used to create an augmented
context, Xt′ :
Xt′ = Xt ∪ {Retrieve(J , cˆt )} (8)
The final code is then generated using this enriched context: ct = L(Xt′ ). By dynamically incorpo-
rating proven implementation patterns from existing repositories, CodeRAG significantly reduces
the likelihood of generating erroneous or suboptimal code, thus bridging the knowledge gap for the
generative agent.
The final phase serves as an error correction mechanism to ensure the functional faithfulness of the
synthesized repository P. Recognizing that purely generative processes are prone to transmission
errors—manifesting as logic bugs, invalid dependencies, or dead code—this phase establishes a
crucial closed-loop feedback system absent in standard models. By treating execution outcomes as
corrective signals, the framework systematically identifies and rectifies defects through two sequential
stages: (1) a static analysis pass to ensure structural integrity and code quality, and (2) a dynamic
execution pass within a sandboxed environment to enforce functional correctness.
8
Static Analysis. An Analysis Agent, denoted by the function Astatic , inspects the generated repository
P against the implementation blueprint B. It produces a structured static analysis report, Rstatic ,
which identifies a set of issues. This process can be formalized as: Rstatic = Astatic (P, B).
The identified issues I = {i1 , i2 , . . . , iK } fall into two categories: i) Structural Discrepancies: This
includes integrity violations such as missing files specified in the blueprint or empty (zero-byte)
source files that were not correctly generated. ii) Code Quality Deficiencies: The agent leverages
an LLM to perform a quality assessment of each source file, assigning a quality score, q(ci ), and
flagging sections with poor style, complexity, or maintainability.
Code Refinement. The report Rstatic is then passed to a Modification Agent, Amodify . This agent iter-
ates through each issue ik ∈ I and applies a targeted fix. To perform precise, line-level modifications
without rewriting entire files, the agent utilizes a programmatic interface inspired by the Language
Server Protocol (LSP). We model this refinement operation as a function ΦLSP that takes a file ci and
a modification instruction from the report, producing a corrected file c′i . The overall process yields a
statically refined repository P ′ as: P ′ = Amodify (P, Rstatic ).
4 Experiments
In this section, we evaluate the effectiveness of the proposed DeepCode framework by addressing
the following 3 research questions: RQ1: How does DeepCode perform compared to existing agent
frameworks? RQ2: How does the choice of different LLMs affect the performance of DeepCode?
RQ3: What is the contribution of each module within the DeepCode architecture?
9
in a virtual machine environment, with the goal of building a functional codebase, replicating
experiments, and creating a [Link] script for execution. Each paper is accompanied by a
detailed evaluation rubric approved by the authors, which breaks down the reproduction task into 8,316
specific, gradable components, meticulously assessed using a hierarchical weighting scheme and
SimpleJudge, a sophisticated automated judge powered by OpenAI’s o3-mini model. This benchmark
is rigorously crafted to challenge AI with tasks requiring advanced natural language understanding,
algorithmic reasoning, and the ability to generate reliable code from abstract descriptions, all of
which are crucial skills for automating vulnerability detection effectively.
Baselines. In order to evaluate the effectiveness of the proposed framework, we include a range of
baseline methods for comparison. These baselines fall into four distinct categories:
(1) LLM Agents. We compare against results reported in [7] for several state-of-the-art language
models using two agent scaffolding approaches: (1) BasicAgent, a simple tool-use loop based on
Inspect AI’s basic agent that allows models to terminate early, and (2) IterativeAgent, which forces
models to use their full allocated time and employs prompts designed to encourage incremental,
piecemeal progress. All agents run in Ubuntu 24.04 Docker containers with access to a single A10
GPU, the internet, and standard development tools including bash, Python, web browsing, and file
reading capabilities [7]. The baseline models include GPT-4o, o1, o3-mini, DeepSeek-R1, Claude
3.5 Sonnet, and Gemini 2.0 Flash, with most experiments using a 12-hour time limit (extended to 36
hours for select o1 runs).
(2) Scientific Code Agents. PaperCoder [8]. PaperCoder (also referred to as Paper2Code) is a multi-
agent LLM framework that transforms machine learning papers into executable code repositories via
a three-stage pipeline: planning, which constructs implementation roadmaps, system architecture
diagrams, and file dependencies; analysis, which extracts file-level implementation details; and
generation, which produces modular code in dependency order.
(3) Commercial Code Agents. We compare against three state-of-the-art commercial code agents
that provide AI-powered development assistance through different interfaces and capabilities:
• Cursor (Version 1.7.52) is an AI-assisted integrated development environment built as a fork of
Visual Studio Code with additional AI features. Cursor allows developers to choose between
cutting-edge LLMs and provides codebase embedding models that give agents deep understanding
and recall [9]. In our experiments, Cursor uses Claude Sonnet 4.5-thinking as the underlying model.
• Claude Code (Version 2.0.22) is Anthropic’s agentic coding tool that lives in the terminal and
helps developers turn ideas into code. Claude Code maintains awareness of the entire project
structure, can find up-to-date information from the web, and with MCP can pull from external
data sources like Google Drive, Figma, and Slack. It can directly edit files, run commands, create
commits, and use MCP to read design docs or update tickets [10]. Our evaluation uses Claude
Sonnet 4.5-thinking.
• Codex (Version codex-cli 0.47.0) is OpenAI’s coding agent that runs locally from the terminal
and can read, modify, and run code on the user’s machine. Codex is optimized for use with
GPT-5-Codex for agentic coding, with configurable reasoning levels from medium to high for
complex tasks. In auto approval mode, Codex can read files, make edits, and run commands in the
working directory automatically [11]. We configure Codex with GPT-5 Codex-high.
(4) Human Experts. The human baseline [7] consists of 8 ML PhD students and graduates from top
institutions (e.g. Berkeley, Cambridge, Carnegie Mellon) who worked part-time over a four-week
window on a 3-paper subset (all-in-one, fre, stay-on-topic). Participants had similar computational
resources (A10 GPU) and could use AI coding assistants like ChatGPT and GitHub Copilot. The
best-of-3 human attempts (Best@3) represent expert-level performance on this subset.
Experimental Setup. To evaluate DeepCode’s efficacy in high-fidelity repository synthesis, we adopt
a rigorous framework under realistic constraints. The setup combines a secure execution environment
and the PaperBench protocol for fair, reproducible, detailed comparisons across baselines.
(1) Implementation Environment. All experiments are conducted within an Ubuntu 22.04 LTS-
based sandboxed environment. This infrastructure is provisioned with a standard Python development
stack and essential dependencies. DeepCode is configured to operate within this isolated space,
retaining privileges for file system manipulation, shell command execution, and internet access,
thereby simulating a standard software research and development workflow.
10
(2) Task Execution. DeepCode accepts the target paper in both PDF and Markdown formats, along
with any supplementary addenda, as primary inputs. To ensure that generated solutions stem from
algorithmic reasoning rather than retrieval, a source code blacklist is enforced during execution. This
protocol precludes access to the authors’ original repositories and known third-party implementations
during web browsing. With input parameters defined and the search space constrained, DeepCode
initiates its autonomous workflow for code generation and debugging.
(3) Grading Methodology. Assessment of the generated code follows the PaperBench Code-Dev
protocol, which focuses on structural and functional correctness and does not include post-submission
reproduction. Grading is carried out by SimpleJudge, an automated system based on OpenAI’s
o3-mini, which performs static analysis of the submitted repository against a set of fine-grained,
hierarchical criteria co-developed with the authors of the source paper. The judging logic is restricted
to the “Code Development” leaf nodes of this rubric and examines core aspects of software quality,
including static correctness (syntax validity and compliance with language standards), dependency
validity (completeness and correctness of dependency specifications such as [Link]),
project structure (coherent and consistent organization of files and directories), and algorithmic
fidelity (faithful implementation of the algorithms and interfaces described in the original paper).
This procedure is designed to align the evaluation with the central technical contributions of the work.
(4) Evaluation Metrics and Protocol. Our primary evaluation metric is the Replication Score, which
quantifies the proficiency of DeepCode in translating theoretical concepts into a functional codebase.
The score for a single replication trial is derived from the hierarchical rubric through a bottom-up
aggregation process. (i) Leaf node scoring: SimpleJudge first evaluates each leaf node criterion
on a binary basis, assigning a score of 1 for “pass” (compliance) and 0 for “fail” (non-compliance).
(ii) Score aggregation: The score for any parent node is then computed as the weighted average of
the scores of its immediate children. The weights, predetermined during the rubric design, reflect
the relative importance of each sub-task. (iii) Final score derivation: This recursive aggregation
continues up the hierarchy until a single score is obtained for the root node, which serves as the
Replication Score for that trial.
To account for the stochasticity inherent in code generation, we adopt a strict evaluation protocol. For
each target paper, three independent replication trials are performed, and each resulting repository is
scored separately by SimpleJudge using the procedure described above. The final Replication Score
is the average of the three scores, mitigating outliers and providing a more stable and reliable measure
of the model’s typical performance.
The primary results of our experiments are detailed in Figure 4. We analyze the performance
of DeepCode against the four established categories of baselines: general-purpose LLM agents,
specialized scientific code agents, commercial code agents, and human experts.
• Comparison against LLM Agents. Figure 4 presents average replication scores across all
benchmark papers. Among general-purpose LLM agents, performance varies significantly by model
and scaffolding. With BasicAgent, Claude-3.5-Sonnet achieves the highest score (35.4±0.8), while
other frontier models range from 5.0 to 19.5. IterativeAgent scaffolding improves some models,
with o1 reaching the best LLM agent performance of 43.3±1.1. DeepCode achieves 73.5±2.8,