Steven Gonsalvez

Software Engineer

Grep beats LSP? Why coding agents ignore your fancier tools

Why CEREBRO kept it

Why agents choose grep over LSP; tool selection mechanics.

The text below is an automated extraction of the article at https://www.agentconnect.md/blog/grep-beat-lsp-harness/, stored verbatim in the public cerebro-vault repository. Copyright remains with the original publisher (agentconnect.md).

I compared grep with LSP-backed semantic navigation across code-finding and editing tasks. The results show why a tool's LLM-friendliness may matter as much as the capability behind it. Why would a coding agent ignore a retrieval interface that returns more precise results? I explored this question in a small study comparing lexical search with grep against LSP-backed semantic navigation. I expected semantic navigation to reduce noise and save tokens. Instead, agents often stayed with grep. When I forced them to use the semantic path first, task success sometimes fell. This is a question of LL

Community take

LSP breaks frequently and hides behind IDE interfaces; agents pick grep because it's simpler and more reliable than brittle language-server configs.

Backlinks

Appeared in 1 briefing

Related

Shares tags: ai/agents · ai/llm-mechanics · cerebro/signal

Also from agentconnect.md

Only signal from agentconnect.md so far.