Query formulation

The unreasonable effectiveness of BM25 for agentic search — Jo Kristian Bergum, Hornet.dev

The unreasonable effectiveness of BM25 for agentic search — Jo Kristian Bergum, Hornet.dev

Jo Kristian Bergum argues that the 30-year-old lexical search function BM25 is making a powerful comeback, not because it has changed, but because LLM agents are fundamentally different and more capable users. He highlights how these agents, with their general knowledge and ability to formulate complex queries, leverage BM25's strengths. Using the Browsecom+ benchmark, he demonstrates that reasoning isn't the bottleneck for LLMs, but effective retrieval and query formulation are. He advocates for a "file system workspace" approach, allowing models to use their existing coding and bash skills to interact with retrieved documents, signaling a shift in how search systems are designed and evaluated for agentic applications.