SEAIMay 27, 2025

Code Researcher: Deep Research Agent for Large Systems Code and Commit History

arXiv:2506.11060v116 citationsh-index: 8Has Code
Originality Incremental advance
AI Analysis

This addresses the challenge of making changes to complex systems code for developers, though it appears incremental as an adaptation of deep research agents to code.

The paper tackles the problem of generating patches for crashes in large systems codebases by introducing Code Researcher, a deep research agent that performs multi-step reasoning about code semantics, patterns, and commit history. It achieves a crash-resolution rate of 58% on the kBenchSyz benchmark, outperforming SWE-agent's 37.5%.

Large Language Model (LLM)-based coding agents have shown promising results on coding benchmarks, but their effectiveness on systems code remains underexplored. Due to the size and complexities of systems code, making changes to a systems codebase is a daunting task, even for humans. It requires researching about many pieces of context, derived from the large codebase and its massive commit history, before making changes. Inspired by the recent progress on deep research agents, we design the first deep research agent for code, called Code Researcher, and apply it to the problem of generating patches for mitigating crashes reported in systems code. Code Researcher performs multi-step reasoning about semantics, patterns, and commit history of code to gather sufficient context. The context is stored in a structured memory which is used for synthesizing a patch. We evaluate Code Researcher on kBenchSyz, a benchmark of Linux kernel crashes, and show that it significantly outperforms strong baselines, achieving a crash-resolution rate of 58%, compared to 37.5% by SWE-agent. On an average, Code Researcher explores 10 files in each trajectory whereas SWE-agent explores only 1.33 files, highlighting Code Researcher's ability to deeply explore the codebase. Through another experiment on an open-source multimedia software, we show the generalizability of Code Researcher. Our experiments highlight the importance of global context gathering and multi-faceted reasoning for large codebases.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes