FastContext: Training Efficient Repository Explorer for Coding Agents
Summary
FastContext introduces specialized exploration models that separate repository exploration from code solving in LLM agents, reducing token consumption by up to 60% while improving resolution rates on software engineering benchmarks.
View Cached Full Text
Cached at: 06/16/26, 02:59 AM
Paper page - FastContext: Training Efficient Repository Explorer for Coding Agents
Source: https://huggingface.co/papers/2606.14066
Abstract
FastContext separates repository exploration from code solving in LLM agents using specialized exploration models that reduce token consumption and improve resolution rates.
Large Language Model(LLM)coding agentshave achieved strong results on software engineering tasks, yetrepository explorationremains 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 dedicatedexploration subagentthat separatesrepository explorationfrom solving. Invoked on demand, FastContext issues paralleltool callsand returns concise file paths and line ranges as focused context. FastContext is powered byspecialized exploration modelsspanning 4B--30B parameters. We bootstrap them from strongreference-model trajectoriesand refine them withtask-grounded rewardsfor broadfirst-turn search,multi-turn evidence gathering, andprecise citation generation. AcrossSWE-bench Multilingual,SWE-bench Pro, andSWE-QA, integrating FastContext intoMini-SWE-Agentimproves end-to-end resolution rates up to 5.5\% while reducing coding-agent token consumption up to 60\%, with marginal overhead. These results show thatrepository explorationcan be separated from solving and handled effectively by specialized models. Code and data: https://github.com/microsoft/fastcontext
View arXiv pageView PDFProject pageGitHub152Add to collection
Get this paper in your agent:
hf papers read 2606\.14066
Don’t have the latest CLI?curl \-LsSf https://hf\.co/cli/install\.sh \| bash
Models citing this paper0
No model linking this paper
Cite arxiv.org/abs/2606.14066 in a model README.md to link it from this page.
Datasets citing this paper0
No dataset linking this paper
Cite arxiv.org/abs/2606.14066 in a dataset README.md to link it from this page.
Spaces citing this paper0
No Space linking this paper
Cite arxiv.org/abs/2606.14066 in a Space README.md to link it from this page.
Collections including this paper0
No Collection including this paper
Add this paper to acollectionto link it from this page.
Similar Articles
@NielsRogge: Top trending paper on http://paperswithco.de is "FastContext: Training Efficient Repository Explorer for Coding Agents"…
Microsoft's FastContext is a trending paper introducing a small 4B model for efficient code retrieval paired with coding agents, rivaling closed-source systems on SWE-Bench Multilingual.
microsoft/FastContext-1.0-4B-SFT
Microsoft released FastContext-1.0, a lightweight repository-exploration subagent for LLM coding agents that reduces main-agent token consumption by up to 60% while improving resolution rates by up to 5.5%.
@barrowjoseph: I think the MS FastContext paper is a good glimpse of the types of agentic systems companies are going to be building i…
A Microsoft and SJTU research paper introduces FastContext, a dedicated exploration subagent for coding agents that separates repository navigation from task solving, reducing orchestrator token usage by up to 60% and improving resolution rates by 5.5% on SWE-bench benchmarks.
SWE-Explore: Benchmarking How Coding Agents Explore Repositories
SWE-Explore introduces a benchmark for evaluating coding agents' repository exploration capabilities, requiring ranked lists of relevant code regions within line budgets. Experiments show agentic exploration outperforms traditional retrieval, and line-level coverage remains a key differentiator.
ContextSniper: AntTrail's Token-Efficient Code Memory for Repository-Level Program Repair
ContextSniper is a token-efficient code memory layer for repository-level program repair using LLM agents. It reduces token usage by up to 51.5% and cost by up to 36.4% while maintaining similar resolution rates on SWE-bench Lite.