Developer tools · code search tool
Sourcegraph
People recommend it for code search across large codebases and for giving AI coding tools better context on their own code.
Summarized from 10 comments.
People recommend it for code search across large codebases and for giving AI coding tools better context on their own code.
- recommend
- 5
- criticize
- 4
- months recommended
- 5 of 13
Why people love it
Better results and accepted code · 3
we have gotten much better results and less token usage after we hooked up our codebase
Sep 2026 · commentSourcegraph produces the most accepted code
Nov 2025 · commentOf course, Sourcegraph is better.
Nov 2025 · commentLarge index, close to Google's tool · 2
the closest external thing I've found to Google's internal web tool for viewing code
May 2026 · commentSourceGraph has a larger index
Jul 2026 · comment
What hackers pick instead
- ripgrepA much faster grep replacement for searching codebases, also widely used by AI coding agents; the main caveat is its default skipping of gitignored and hidden files.122recommend
- ast-grepA syntax-aware command-line tool for searching and refactoring code without regex headaches, which people also expose to AI agents as a skill. Some report mixed results.21recommend
- SembleDevelopers recommend Semble for fast local code search that needs fewer tokens and queries than grep. Critics question how the token savings are measured.20recommend
- Graft (Claude Code hooks)People recommend it for giving coding agents a map of the code that searches inside files rather than by names, cutting tokens and latency. Critics say the benchmarks are thin and the README reads as generated.13recommend
- Lat.mdRecommended as a Markdown knowledge graph that helps AI agents search code faster than grep. Main caveat: critics want proof of better performance.11recommend
Every quote
The 9 most detailed of 10 comments. Each links to the original.
we have gotten much better results and less token usage after we hooked up our codebase
Recommends · Sep 2026 · in “RTK reports token savings, but our cost benchmarks disagree”
the closest external thing I've found to Google's internal web tool for viewing code
Recommends · May 2026 · in “A History of IDEs at Google”
Sourcegraph produces the most accepted code
Recommends · Nov 2025 · in “Cursor: Past, Present, and Future”
Of course, Sourcegraph is better.
Recommends · Nov 2025 · in “Cursor: Past, Present, and Future”
SourceGraph has a larger index
Recommends · Jul 2026 · in “The Kimi K3 Moment”
Source graph has done an open-source bait-and-switch before
Criticizes · Dec 2025 · in “Fast trigram based code search”
That sounds like SourceGraph but twice as expensive
Criticizes · Sep 2026 · in “RTK reports token savings, but our cost benchmarks disagree”
Sourcegraph can't search private repositories
Criticizes · Dec 2025 · in “Fast trigram based code search”
270 foreign keys with no index
Criticizes · Sep 2026 · in “Show HN: Postgres schema review and 3D explorer, run on seven open-source apps”
Counts from 1,795,640 Hacker News comments, Nov 2025 to Nov 2026. How we count · Report a mistake