Read Less, Solve More: Token-Efficient Sparse Reading of External Content for AI Agents
Abstract
Web-facing AI agents repeatedly access webpages, documents, repositories, and tool responses, yet reading interfaces often expose entire objects when only sparse evidence is needed. This over-reading increases token and latency costs and can dilute relevant evidence. We present SparseRead, a reusable reading control layer that governs content admission without modifying the agent model. Its Read Intent Protocol tracks evolving needs and source coverage; Adaptive Reader Backends select how evidence is located and exposed; and the Budgeted Read Gate bounds cumulative raw exposure per episode with faithful full-view fallback. A unified Reader interface supports interchangeable evidence acquisition across heterogeneous resources. Across six models, including Claude Opus 5, and five scenarios, SparseRead reduces total tokens by up to 92.9% and wall time by up to 89.0%, preserving or improving task quality in 97% settings. On Web deep-search tasks, it reduces tokens by 31.0--43.0% and task completion time by 23.0--37.0%. Ablations validate the three designs, while integration with three agent frameworks demonstrates portability.
Community
Hi, we’re the authors of SparseRead! We built it for a problem you might recognize: you ask an agent to explain one error, and it reads the entire log.
SparseRead lets the agent preview a file, read the relevant sections with source locations, and ask for more when it needs to. If the task requires the whole file, the agent can still read it directly.
In our evaluation across 125 tasks and six models, the largest reductions compared with full reading were 92.9% in token use and 89.0% in wall time. Task scores stayed the same or improved in 26 of 30 model–workload combinations.
Code and setup: https: https://github.com/Zedong-Liu/SparseReading
Web of project: https://sparseread.pages.dev/
If you try it on your own files or repos, we’d like to hear where reading less helps and where it gets in the way.
Yep, no problem! The SparseRead plugin works across major harnesses like CC, Codex, and OpenCode.
Get this paper in your agent:
hf papers read 2608.22237 Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper
Collections including this paper 0
No Collection including this paper