TL;DR
Current web search agents struggle with long-horizon tasks because their document interfaces either compress web pages prematurely or discard them immediately after viewing. This paper introduces Fetch-then-Explore (FTE), a paradigm that saves full web pages to a persistent, per-question filesystem workspace. This allows agents to cheaply select pages and repeatedly extract evidence on-demand as their hypotheses evolve, significantly boosting accuracy without bloating the context window.
What Problem Does This Paper Address?
When an AI search agent tackles a complex, multi-step question, finding the right URLs is only half the battle; it also needs to read them effectively. Currently, deep-research agents rely on two main document interfaces, both of which tie a page to the exact moment it is opened:
- Visit-and-Read: The agent fetches a page and immediately injects a summary or a chunked window of text into its message history. This fixes the "reading" of the page before the agent knows which specific facts it might need several turns later.
- Stateful Browsing: The agent opens a page in a transient session and can search within it, but it can only hold one page at a time. As soon as it opens a new URL, the previous page is evicted.
Under both paradigms, if an agent realizes 10 steps later that a previously visited page holds a crucial missing link, it must pay the time and token cost to re-fetch and re-render it from scratch. This makes returning to pages prohibitively expensive, leading to lost evidence over long trajectories.
Methods
The authors propose Fetch-then-Explore (FTE), which externalizes document storage into a persistent, per-question filesystem cache ($C_q$). This architecture cleanly decouples document selection from evidence extraction:
- Selection (
fetch): When an agent decides a URL looks promising, it downloads the page, normalizes it to plain text, and saves it to disk. Crucially, it only returns a lightweight metadata record (path, character count) to the LLM's context window. This makes page selection virtually free in terms of token cost. - Extraction (
grep/read): The agent extracts evidence on-demand later. It can use a cache-widegreptool to search across all accumulated documents simultaneously using regular expressions, or usereadto pull specific line ranges into context.
This entire setup is implemented within a unified ReAct framework, keeping the search tools and prompt harness identical to ensure a completely fair comparison against standard baselines.
Datasets
The approach was evaluated across three large language model backbones spanning different capability tiers (Qwen3.5-35B-A3B, Qwen3.5-122B-A10B, and DeepSeek-V4-Pro) using two open-web deep-research benchmarks:
- BrowseComp: Focuses on depth, containing complex multi-hop questions where a single, hard-to-find fact determines success.
- WideSearch: Focuses on breadth, requiring the agent to fill out broad tables by extracting multiple fields across a wide array of pages.
- BrowseComp-Plus: A variant used for secondary behavioral analysis to evaluate document-level relevance judgments over a fixed corpus.
Key Insights and Ideas
- The Power of Retrospect (Revisiting Pages): The defining behavioral shift of FTE is how often the agent returns to a page it has already seen. On WideSearch, FTE agents revisited pages 67–76% of the time, compared to less than 9% for transient interfaces. This proves that long-horizon tasks naturally benefit from a "second look" as the agent's understanding of the problem sharpens.
- Decoupling Lowers Search Costs: When agents use a flawed document interface where they can't find what they need, they don't just give up—they spam the search engine. Baselines without persistence issued significantly more search queries. FTE acts as a substitute for excessive searching by allowing the agent to work its existing cache more thoroughly.
- Persistence + Cache-Wide Scope = A Unified Mechanism: Ablation studies revealed that simply keeping files on disk isn't enough; the agent needs to be able to query them collectively. Restricting the
greptool to a single file at a time caused performance to tank below even transient browsing baselines, showing that persistence and cache-wide scope are tightly coupled.
Key Results
- BrowseComp (Depth): FTE achieved the highest accuracy across all three backbones, outperforming the standard
VISIT-SNIPPETbaseline by 7 to 14 percentage points, and beating the stateful browsing baseline (OPEN+FIND) by 2.0 to 4.5 percentage points. - WideSearch (Breadth): FTE generally matched or exceeded the strongest baselines, proving highly effective at high-recall table-filling tasks.
- Token Efficiency: Because
fetchdoesn't dump raw page text into the context window, selection costs are fixed and minimal, preventing context bloat during long trajectories.
Limitations and Future Work
- Lexical Limitations: The current implementation relies on lexical
grep(regex), which might miss relevant information that doesn't match the exact keyword pattern. The authors suggest enriching the cache with fetch-time entity and structural indexing. - Cross-Trajectory Memory: The workspace is currently strictly per-question; extending this persistence across different questions or trajectories remains an open area of exploration.
- Architectural Questions: The paper opens up a broader structural question for the AI engineering community: Where should an agent's working memory live? Moving it out of the context window and onto the filesystem appears highly promising but requires more standardized patterns.
Summary updated