Keyword search finds the word you typed, not the bug you meant. If you search a repo for "cache" because you suspect a stale-cache bug, you get every file that touches a cache, in no particular order of relevance to your actual scenario. Natural language bug hunting is bugweg's answer to that: you describe a failure mode in plain English, and natural language code search ranks your indexed repo by meaning, not keywords, then has Claude check the top matches against your scenario.
What a failure mode description looks like
A failure mode is a specific way things go wrong. Here is an example: a cache entry is written before the database update finishes, so when the update fails, the cache keeps serving the new value. That is different from asking where the cache is used. A keyword search returns a summary of every match; a failure mode gives bugweg a concrete scenario to test each candidate against.
The two steps: narrow, then check
Step one is retrieval. bugweg ranks your indexed code against the description by meaning, not by keywords, as an exact cosine comparison over every indexed chunk, using a per-repo code-embedding index. Step two is judgment. The 10 best chunks are re-fetched from GitHub and sent, with your description, to Claude Sonnet, which answers one question for each: could this chunk produce the failure you described? Each answer comes back as a HIGH, MEDIUM or CLEAN verdict.
That second step is a language model's judgment, not a proof. A HIGH verdict means the model found the scenario plausible in that code. It does not mean a bug is confirmed, and a CLEAN verdict does not prove the code is safe. Only the top 10 chunks are checked, so a location that ranks lower is never examined. Treat the output as a short, ranked list of places to read, and read them.
How the index is built
Code chunks are sent to Voyage to be embedded. The index stores the vectors with the file path, git hash and line number, not the code text; see the Security page for more on what's stored. The index is keyed by git blob SHA, so a file that has not changed is never embedded again. After your first query, bugweg indexes the rest of the repo in the background in one batched download rather than file by file, refreshing edited files and pruning deleted ones.
Each query shows how many indexable files are covered and tells you when the index is still filling in. If the code you care about has not been indexed yet, a result can miss it, so give it a pass once indexing finishes before you trust a clean result.
What bugweg tested, and the limits
In bugweg's own internal test on a 65-file repo, the file that caused the described bug shared no words with the query, and it ranked first once the index was complete; files whose names matched the query words did not reach the top 10. Chunks are fixed 60-line windows rather than parsed functions, so a result points you to a window, not to one exact statement. Files over 100 KB, vendored or minified files and unsupported languages are not indexed. Search time varies.
What this means in practice
Write the description around the scenario, not around file or function names you're guessing at, since ranking happens by meaning and the internal test above showed name matches alone did not decide the result. Because only the top 10 chunks are checked and the index can still be filling in, a weak first result does not mean the bug isn't in the repo — it can mean the chunking window split the relevant lines awkwardly.
Open Bug Search now, describe the one failure mode you already suspect in your repo, and read the HIGH and MEDIUM verdicts first.
See it on your own repo. 3 free PR reviews per developer. A card is required to start and you are not charged during the trial. See pricing for what happens after.
Install on GitHub