Microsoft's FastContext-1.0 open-source subagent boosts coding agent accuracy by 5.5%
A lightweight 4B parameter subagent that slashes token usage by 60% while outperforming larger models.
Microsoft has quietly open-sourced FastContext-1.0, a lightweight subagent designed to supercharge LLM-powered coding agents. Unlike traditional monolithic approaches where a single model both explores the codebase and solves the coding task, FastContext splits these roles. Acting as an on-demand repository explorer, it can be invoked by a main coding agent to perform parallel read-only operations—READ, GLOB, GREP—and return only the most relevant file paths and line ranges. This separation of concerns dramatically reduces token consumption and noise, allowing the main agent to focus purely on the coding task.
Benchmark results show substantial gains: FastContext improves end-to-end accuracy on SWE-bench Pro by up to 5.5% for GPT-5.4 and 5.0% for GLM-5.1. Token savings reach as high as 60.3% (GPT-5.4 on SWE-QA). Remarkably, the compact 4B-RL explorer outperforms a larger 30B-SFT variant—scoring 22.5 vs. 20.0 on GLM-5.1 SWE-bench Pro while using fewer tokens. FastContext is available on Hugging Face and GitHub, and community members like u/formatme are already integrating it into tools like oh-my-pi, with a PR that also adds support for Cognition's SWE-1.6.
- Improves end-to-end accuracy on SWE-bench Pro by up to 5.5% (GPT-5.4) and 5.0% (GLM-5.1)
- Achieves up to 60.3% token savings on SWE-QA, reducing costs for coding agents
- 4B-RL explorer outperforms 30B-SFT explorer (22.5 vs. 20.0 on GLM-5.1) while using fewer tokens
Why It Matters
Enables cheaper, more accurate coding agents by offloading repository exploration to a specialized, compact subagent.