potentialpaper

DeepRepoQA: Code Repository Question Answering with Deep Agent Exploration

Weihan Peng, Yuling Shi, YINGWEI MA, Longfei Yun, Beijun Shen, Xiaodong Gu

ICLR 2026 submission

Edit this page

Or clone it with git

The page gets its repository with its first edit, so start in the web editor.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Effectively answering developer questions about a software repository is a critical yet under-explored problem in software engineering. While existing repository understanding methods have advanced the field, they predominantly rely on surface-level code retrieval and lack the ability for deep reasoning over multiple files, complex software architectures, and grounding answers in long-range code dependencies. To address these limitations, we propose DeepRepoQA, a repository question answering (QA) approach in realistic code environments. DeepRepoQA builds on the agentic framework where LLM agents find answers through a systematic tree search over structured action spaces. Our key innovations include balanced exploration and exploitation via Monte Carlo Tree Search (MCTS) for multi-hop repository reasoning and LLM feedback that provides learned priors and values to reduce search depth and reduce drift. The system maintains structured memory paths that enable reliable evidence synthesis and traceable reasoning steps. Comprehensive experiments on SWE-QA demonstrate substantial performance gains over strong baselines, validating the effectiveness of systematic MCTS-guided exploration for multi-hop repository reasoning.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

add · history

No versions are recorded yet: its preprint, the venues it went to and what they decided, the camera-ready. Missing a version?

We don't know of a submission of this paper to a venue with open reviews. Missing a submission?

Loading the discussion…