Technology
Hacker News

Which tools do Claude, Codex and Cursor choose? We measured 17k runs to find out

Source Entity

Hacker News

September 5, 2026
Which tools do Claude, Codex and Cursor choose? We measured 17k runs to find out

Recent studies reveal that AI coding agents often prefer simple tools like grep over complex semantic navigation systems. This preference highlights a critical gap between tool precision and 'LLM-friendliness' in software development.

The Efficiency Paradox in AI Coding Agents

Recent empirical research into the behavior of AI coding agents—such as Claude, Codex, and Cursor—has unveiled a counterintuitive trend: these systems frequently bypass sophisticated, LSP-backed (Language Server Protocol) semantic navigation in favor of traditional, lexical grep searches. This discovery challenges the long-held assumption that higher precision in data retrieval automatically translates to better performance for Large Language Models (LLMs).

Methodology and Data Integrity

To understand how these agents interact with real-world environments, researchers conducted a massive study involving 17,000 runs across a curated panel of GitHub repositories. By balancing the distribution of these repositories to account for differences between tech startups and large enterprises, the study ensured that the coding agents were tested against realistic, diverse stacks. By removing specific segments of code and third-party integrations, the team could rigorously evaluate how agents navigate and reconstruct complex software systems.

The 'LLM-Friendliness' Metric

The core finding suggests that a tool's utility is not defined by its accuracy alone, but by its 'LLM-friendliness.' While LSP systems provide precise semantic context, they may present information in a format that is difficult for a model to parse or integrate into its immediate workflow. In contrast, grep provides a raw, predictable output that aligns more closely with the training data these models encountered during their development, making it a more reliable tool for the agent's logic flow.

Why Precision Can Hinder Performance

Perhaps most surprisingly, when researchers forced agents to prioritize the semantic path, task success rates actually declined. This suggests that the overhead of navigating complex interfaces can induce cognitive load on the model, leading to hallucination or poor decision-making. The agents essentially 'prefer' the simplicity of grep because it provides the necessary context in a shape they can immediately act upon, minimizing the risk of misinterpretation.

Implications for Future Tool Design

This research indicates that the future of AI-assisted development tools must prioritize interface design that caters specifically to the machine-readability of output. It is not enough for an API or a CLI tool to be efficient for a human developer; it must be designed with the specific limitations and strengths of transformer-based architectures in mind. Developers building for AI agents should focus on providing 'atomic' context that allows the model to bridge the gap between discovery and execution without getting lost in overly complex data structures.

Conclusion

The preference for grep over LSP signals a maturing understanding of how LLMs interact with software development environments. As agents become more integrated into the software development lifecycle, tool creators must bridge the 'friendliness gap' to ensure that precision tools provide the usability required for autonomous coding success.

Verification Required?

Read the full report from the primary source

Go to Hacker News