Microsoft has unveiled FastContext, a specialized exploration subagent that dramatically improves the efficiency of AI coding agents. By separating repository exploration from task solving, FastContext reduces token consumption by up to 60% while boosting resolution rates by 5.5% on benchmark tests.
Traditional coding agents use a single model to both explore codebases and solve tasks, which leads to high token costs and cluttered context windows. FastContext solves this by acting as a dedicated explorer, invoked when needed to issue parallel tool calls and return only relevant file paths and line ranges.
The subagent is powered by models ranging from 4 billion to 30 billion parameters, trained on trajectories from strong reference models and refined with task-grounded rewards that prioritize broad first-turn searches, multi-turn evidence gathering, and precise citation generation.
In evaluations across SWE-bench Multilingual, SWE-bench Pro, and SWE-QA, integrating FastContext into Mini-SWE-Agent achieved higher resolution rates while significantly cutting token usage—achieving up to a 10x efficiency gain in practice.
"These results show that repository exploration can be separated from solving and handled effectively by specialized models," the research team noted. The approach represents a shift toward modular AI agent architectures that divide complex tasks into dedicated sub-agents for improved performance and cost savings.