mlsanityData to 14 Oct 2026

Is Grep All You Need? How Agent Harnesses Reshape Agentic Search

arXiv 2605.15184 ↗First posted 14 May 2026cs.CLcited by 21

On the map: LLM agents and tool use → Web, search, and research agents

Abstract (arXiv)

Recent advances in Large Language Model (LLM) agents have enabled complex agentic workflows where models autonomously retrieve information, call tools, and reason over large corpora to complete tasks on behalf of users. Despite the growing adoption of retrieval-augmented generation (RAG) in agentic search systems, existing literature lacks a systematic comparison of how retrieval strategy choice interacts with agent architecture and tool-calling paradigm. Important practical dimensions, including how tool outputs are presented to the model and how performance changes when searches must cope with more irrelevant surrounding text, remain under-explored in agent loops. This paper reports an empirical study organized into two experiments. Experiment 1 compares grep and vector retrieval on a 116-question sample from LongMemEval, using a custom agent harness (Chronos) and provider-native CLI harnesses (Claude Code, Codex, and Gemini CLI), for both inline tool results and file-based tool results that the model reads separately. Experiment 2 compares grep-only and vector-only retrieval while progressively mixing in additional unrelated conversation history, so that each query is embedded in more distracting material alongside the passages that matter. Across Chronos and the provider CLIs, grep generally yields higher accuracy than vector retrieval in our comparisons in experiment 1; at the same time, overall scores still depend strongly on which harness and tool-calling style is used, even when the underlying conversation data are the same.

Key facts. Cited by 21 papers in the map (data through 14 Oct 2026). Placed in Web, search, and research agents, one of 16 directions in LLM agents and tool use. Builds on 18 of its 25 references that are in the map. First posted on arXiv 14 May 2026.

Builds on

18 of 25 references.

References · 18

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  2. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  3. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  4. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
  5. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
  6. 2023A Survey on Large Language Model based Autonomous Agentscited by 2,242
  7. 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,947
  8. 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,839
  9. 2023MemGPT: Towards LLMs as Operating Systemscited by 1,389
  10. 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,252
  11. 2020ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERTcited by 1,178
  12. 2022Interleaving Retrieval with Chain-of-Thought Reasoning for Knowledge-Intensive Multi-Step Questionscited by 923
6 more
  1. 2024LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memorycited by 707
  2. 2023Cognitive Architectures for Language Agentscited by 429
  3. 2020Sparse, Dense, and Attentional Representations for Text Retrievalcited by 214
  4. 2025MemTool: Optimizing Short-Term Memory Management for Dynamic Tool Calling in LLM Agent Multi-Turn Conversationscited by 21
  5. 2026Chronos: Temporal-Aware Conversational Agents with Structured Event Retrieval for Long-Term Memorycited by 8
  6. 2026From Rows to Reasoning: A Retrieval-Augmented Multimodal Framework for Spreadsheet Understandingcited by 6

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 21.

21 papers.

Sort:

By area:

  1. 2026GrepSeek: Training Search Agents for Direct Corpus Interactioncited by 10
  2. 2026Towards Retrieving Interaction Spaces for Agentic Searchcited by 7
  3. 2026Recursive Agent Harnessescited by 6
  4. 2026Dr-DCI: Scaling Direct Corpus Interaction via Dynamic Workspace Expansioncited by 5
  5. 2026Code Isn't Memory: A Structural Codebase Index Inside a Coding Agentcited by 2
  6. 2026Deep Agentic Search for Repository-Level Code Question Answering: An Empirical Studycited by 1
  7. 2026Fetch-then-Explore: Decoupling Selection from Extraction over a Persistent Workspace for Search Agentscited by 1
  8. 2026WeAgent-MMGenEdit: A Full-Stack Recipe for Multimodal Agentic Image Generation and Editingcited by 1
  9. 2026Semantic Triplet Restoration: A Novel Protocol for Hierarchical Table Understanding in Large Language Modelscited by 0
  10. 2026DAR: Deontic Reasoning with Agentic Harnessescited by 0
  11. 2026Do You Need a Frontier Model as a Citation Verifier? Benchmarking Rubric LLMs for Deep-Research Source Attributioncited by 0
  12. 2026ETAS: An Effect-Typed Language for Agent Systemscited by 0
9 more
  1. 2026Beyond Top-K: Replacing Black-Box Retrieval with Interpretable Agentic Operationscited by 0
  2. 2026Projecting BrowseComp-Plus onto ClimbMix: Toward More Realistic Corpora for Agentic Searchcited by 0
  3. 2026Fidelity Is Not Enough: Dispatch-Level Instrumentation for Agentic Datasheet Extractioncited by 0
  4. 2026PARSER: Read in Parallel, Reason in Depth for Long-Context LLM Agentscited by 0
  5. 2026ScholarCatalyst: A Benchmark for Retrieving Papers That Inspire New Researchcited by 0
  6. 2026Harness-Search: Guiding Long-Horizon Search through Multi-Agent Coordinationcited by 0
  7. 2026RunningTab: Direct Workspace Interaction with Environment-Side Tabscited by 0
  8. 2026Reflective Prompt Optimization of a Deep-Research Agent: A Topic-Disjoint, Multi-Seed Protocol for Measuring Transferable Gains and Prompt-Level Overfittingcited by 0
  9. 2026Knowledge Graphs as Files: An Agent Harness Where Tool Creation and Tool Use Co-Evolvecited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025Search Wisely: Mitigating Sub-optimal Agentic Searches By Reducing Uncertainty
  2. 2026A-RAG: Scaling Agentic Retrieval-Augmented Generation via Hierarchical Retrieval Interfaces
  3. 2025Agentic Retrieval-Augmented Generation: A Survey on Agentic RAG
  4. 2026Is Agentic RAG worth it? An experimental comparison of RAG approaches
  5. 2026GRASP: GRanularity-Aware Search Policy for Agentic RAG
  6. 2025Interact-RAG: Reason and Interact with the Corpus, Beyond Black-Box Retrieval
  7. 2026Quantifying the Accuracy and Cost Impact of Design Decisions in Budget-Constrained Agentic LLM Search
  8. 2025RAGCap-Bench: Benchmarking Capabilities of LLMs in Agentic Retrieval Augmented Generation Systems