[research] Coding agents waste 19% of tokens just finding files to edit #391
Closed
Replies: 1 comment
|
This discussion was automatically closed because it expired on 2026-08-16T09:54:13.747Z.
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
🔬 The Finding
Researchers at arXiv found that LLM coding agents like Claude Code and OpenHands spend a disproportionate share of their token budget on repository exploration — grep, glob, and file reads — rather than actually solving problems. On SWE-Bench Verified, a 30B OpenHands agent averages 631K tokens and 23 rounds per resolved issue, much of it just locating the right file. Their solution, CodeGrep (a 14B RL-trained retrieval agent), prepends a parallel file-finding step that cuts 15% of rounds and 19% of tokens on resolved instances while slightly improving resolve rate (27.0% vs 25.8%).
⚙️ What It Means for Agentic Workflows
🔗 Source
CodeGrep: An RL-Trained Retrieval Agent for LLM Coding Agents — August 6, 2026
All reactions