SEJun 12

FastContext: Training Efficient Repository Explorer for Coding Agents

arXiv:2606.14066v113.7Has Code
Predicted impact top 26% in SE · last 90 daysOriginality Incremental advance
AI Analysis

For developers of LLM-based coding agents, FastContext addresses the bottleneck of inefficient repository exploration by offloading it to a specialized model, significantly reducing token costs and improving task performance.

FastContext introduces a dedicated exploration subagent for LLM coding agents that separates repository exploration from task solving, achieving up to 5.5% improvement in resolution rates and up to 60% reduction in token consumption across SWE-bench benchmarks.

Large Language Model (LLM) coding agents have achieved strong results on software engineering tasks, yet repository exploration remains a major bottleneck: locating relevant code consumes substantial token budget and pollutes the agent's context with irrelevant snippets. In most agents, the same model explores the repository and solves the task, leaving exploratory reads and searches in the solver's history. We present FastContext, a dedicated exploration subagent that separates repository exploration from solving. Invoked on demand, FastContext issues parallel tool calls and returns concise file paths and line ranges as focused context. FastContext is powered by specialized exploration models spanning 4B--30B parameters. We bootstrap them from strong reference-model trajectories and refine them with task-grounded rewards for broad first-turn search, multi-turn evidence gathering, and precise citation generation. Across SWE-bench Multilingual, SWE-bench Pro, and SWE-QA, integrating FastContext into Mini-SWE-Agent improves end-to-end resolution rates up to 5.5\% while reducing coding-agent token consumption up to 60\%, with marginal overhead. These results show that repository exploration can be separated from solving and handled effectively by specialized models. Code and data: https://github.com/microsoft/fastcontext

Code Implementations1 repo
Foundations

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

Your Notes