AIAny
Icon for item

FastContext: Training Efficient Repository Explorer for Coding Agents

Moves repository search into a dedicated exploration subagent that issues parallel read-only READ/GLOB/GREP calls and returns compact file:line citations. Trained (4B–30B) with SFT+RL, it reduces main-agent token use up to ~60% and raises end-to-end success by up to ~5.5%.

Introduction

Oops! Something went wrong

[next-mdx-remote-client] error compiling MDX: Expected a closing tag for `<final_answer>` (5:299-5:313) before the end of `paragraph` 3 | ## Key Findings 4 | - Separation pays: moving exploratory reads outside the solver reduces the main agent's token consumption by up to ~60% while improving end-to-end resolution rates by up to ~5.5% in reported benchmarks. This means the solver keeps a cleaner context window and spends more tokens on planning/editing rather than file hunting. > 5 | - Lightweight, trainable explorers: the paper trains 4B–30B exploration models (bootstrapped with supervised trajectories and refined with task-grounded RL) to optimize for broad first-turn coverage, multi-turn evidence gathering, and precise citation generation. Trained explorers produce compact <final_answer> blocks of file paths and line ranges instead of pasting large code snippets. | ^ 6 | - Practical tool set and workflow: FastContext exposes only read-only tools (READ, GLOB, GREP) and supports parallel tool calls per exploration turn. The intended contract is simple: the main coding agent invokes FastContext for context; FastContext returns focused citations; the main agent edits/tests/answers using that evidence. 7 | More information: https://mdxjs.com/docs/troubleshooting-mdx

Information

  • Websitearxiv.org
  • OrganizationsMicrosoft
  • AuthorsShaoqiu Zhang, Maoquan Wang, Yuling Shi, Yuhang Wang, Xiaodong Gu, Yongqiang Yao, Rao Fu, Shengyu Fu
  • Published date2026/06/12

Categories

More Items

Coordinates world creation, trajectory exploration, and Harness evolution to improve multimodal agents. It organizes tasks by shared capabilities rather than surface categories, reporting mean gains of 34 points on training benchmarks and 26 on unseen benchmarks.

Lets a main agent synthesize executable workflows to coordinate and verify sub-agents as a task unfolds. The paper reports 88.08% overall accuracy in Forced mode across six benchmarks.

Simulates closed-loop interactions between people and wearable AI assistants to test whether multimodal models can guide real-world tasks. Its 120 multi-turn benchmark tasks are scored against verifiable simulator states.