- Literal pattern matching only
- Many tool calls per question
- Misses on unknown wording
- Floods context with noise
- Ranked, relevance-scored hits
- Single dependency-free binary
- No vector DB or embeddings
- Drop in repo or CI, point agent at it
Why it matters: Agents burn a lot of tool calls and tokens grepping blindly; a fast local BM25 index reduces search misses and keeps context tighter, especially on large repos.
How to apply: Drop the doma binary into your repo or CI and point your agent's search tool at it instead of grep; it returns ranked, semantically relevant hits with no vector DB or embeddings pipeline to maintain.