Why Coding Agents Rely on Grep and How It Fails
An analysis of 251 real grep searches run by a coding agent found that the correct code was missing from the results in 36 percent of cases. The author suggests that grep is heavily favored in agent training because it is easy to implement, but notes it requires guessing identifiers first and may be incentivized by token-based billing models. Testing an on-device code embedding model and reranker showed it successfully surfaced missing files in replayed misses without degrading controls. Open article →