On coding-agent bug-fixing tasks, agentic search (LLM driving CLI tools like grep/find/cat) outperformed vector search on accuracy while consuming significantly fewer tokens and lower cost — a single case study that inverts the default 'embed the repo and retrieve top-k chunks' retrieval architecture for code.
Retrieval for code is often assumed to be a vector-DB problem; if tool-driven exploration dominates on real repos, the retrieval layer, cost model, and latency profile of coding agents all change, and embeddings become an optimization rather than the foundation.
For domains where correctness depends on following explicit links between artifacts (imports, references, call chains), traversal-based agentic search may beat similarity-based retrieval on cost-adjusted accuracy.
Agentic search gives LLMs access to CLI tools like grep, find, cat to explore code like a human.
Agentic search achieved higher accuracy with significantly fewer tokens and lower cost on TypeScript/Go test bugs.