Sourcegraph vs Sourcebot
This is the pairing most people actually mean when they search for a Sourcegraph alternative, because Sourcebot is the only project trying to replace the whole product rather than one component of it. The axis it turns on is not features and not price; it is what kind of licence you are allowed to depend on. Sourcegraph closed its source and priced itself at enterprise only. Sourcebot ships all of its source and costs nothing to self-host, under a licence that is deliberately not open source for the first two years of each release.
Pick Sourcebot if you lost a plan you were happy with, you want search across every repository and branch running on your own box this week, and a source-available licence with a two-year Apache-2.0 conversion is acceptable to your legal team. Stay on Sourcegraph if you rely on Batch Changes, Code Insights or precise SCIP navigation, or if procurement is already comfortable with a $16K enterprise line item and you would rather buy the mature product than run one.
Side by side
Sourcegraph vs Sourcebot at a glance
| Sourcegraph | Sourcebot | |
|---|---|---|
| Licence | ✗ Proprietary, core repo private since Aug 2024 | FSL-1.1-ALv2, source-available, converts to Apache-2.0 after 2 years |
| Free tier | ✗ None since 23 Jul 2025 | ✓ Basic self-hosted, free, no per-user fee |
| Entry paid tier | Enterprise, starting at $16K | ✓ Pro, $20 per user per month |
| Billing unit | Contract plus AI credits that scale with team size | Per user on Pro only; Basic has no unit |
| Self-hosting | Licensed enterprise deployment only | ✓ Docker Compose, the default install |
| Multi-host indexing | ✓ GitHub, GitLab, Bitbucket, Gerrit, Perforce | ✓ GitHub, GitLab, Bitbucket, Gitea, Gerrit, local paths |
| Precise code navigation | ✓ SCIP indexes, compiler-grade accuracy | ✗ Pro tier navigation, search-index based |
| Batch Changes | ✓ Apply and track one change across hundreds of repos | ✗ No equivalent |
| Code Insights | ✓ Search results as tracked metrics over time | ✗ No equivalent |
| SSO | ✓ Included in Enterprise | Pro and above |
| Release cadence | Continuous, not publicly versioned | ✓ v5.1.5 on 31 Jul 2026, weekly commits |
| Best for | Enterprises that change code at scale, not just read it | Teams that need search back and want to own the box |
Sources: Sourcegraph pricing · Sourcebot pricing · Sourcebot repository. Compiled August 2026.
Where Sourcebot wins
There is a plan for you, and it costs nothing
The single most useful fact about Sourcebot is that its free tier is not a trial. Self-hosted Basic has no per-user fee and no seat count, and it includes the parts people actually use every day: search across every repository and branch, regex and symbol queries, git history and blame, and a file explorer. Compare that with Sourcegraph in 2026, where the only published plan starts at $16K and the free option was discontinued on 23 July 2025. For a fifteen-person team that lost Cody Pro, this is the difference between an evaluation and a procurement cycle.
It is the most actively developed project in the category
Sourcebot shipped v5.1.5 on 31 July 2026 and had commits landing on 6 August 2026, the day this comparison was compiled. Among self-hosted code search projects that is unusual: OpenGrok releases a few times a year, Hound has not tagged a release since May 2023, and livegrep has never tagged one. If you are betting a piece of developer infrastructure on a small project, release cadence is the risk indicator that matters most, and this one currently reads well.
You can read the code you depend on
FSL is not OSI open source, and this page says so twice for a reason. But the whole source is published, you can build it, patch it and audit it, and the restriction it imposes is narrow: you may not sell it as a competing product. For the overwhelming majority of internal deployments that restriction never binds, while the ability to read the code does. That is precisely the position teams lost when Sourcegraph made its core repository private in August 2024.
Deployment is a config file, not a project
A Sourcebot install is a Docker Compose file plus a JSON configuration listing your connections and repositories. There is no separate database to operate, no search cluster to size, and no indexer schedule to design. Sourcegraph's self-hosted deployments were, by contrast, a Kubernetes conversation. Treat vendor claims about setup time as vendor claims, but the shape of the deployment is verifiable from the repository and it is genuinely small.
Where Sourcegraph still wins
Batch Changes has no equivalent, and it is not a small feature. Being able to write one change, apply it across four hundred repositories, and then track the resulting pull requests to completion in a single view is the reason many platform teams bought Sourcegraph in the first place. Code Insights is the same story in a different direction: turning a search query into a tracked metric that leadership watches over quarters. Neither is replicable with a search UI, and any migration plan that quietly omits them is not a plan.
Precise navigation is the subtler gap. Sourcegraph builds SCIP indexes from real compilation, so jump-to-definition and find-references are exact across repository boundaries. Sourcebot's navigation, which sits behind the Pro tier, derives from the search index instead. That is good enough to read unfamiliar code comfortably and not good enough to answer "prove nothing else calls this" during a security review. And there is a case where Sourcegraph's pricing genuinely wins: at a thousand engineers, $16K is roughly sixteen dollars a head, which is less than Sourcebot Pro at $20 per user per month for a single month. The enterprise price is punishing at fifteen people and unremarkable at a thousand.
Migrating Sourcegraph to Sourcebot
The path most teams take:
1. Inventory first. List your saved searches, code monitors, Batch Changes and Code Insights dashboards, and mark which ones have no equivalent. Search moves for free; those four do not move at all. Deciding consciously to drop a code monitor is fine, discovering its absence in an incident is not.
2. Point Sourcebot at the same hosts. The swap itself is a connections file listing GitHub, GitLab, Bitbucket, Gitea or Gerrit organisations and the branches to index, then disk. There is no export step, because a code search index is derived data, and this is why this migration is cheaper than its reputation.
3. Run both for one cycle. Keep the Sourcegraph contract through a full quarter and let people search in both. You are looking for the query shapes that get worse, usually language-specific symbol searches and anything that relied on precise references, and you can only find them from real use.
4. What does not move. Every Sourcegraph permalink pasted into an issue, pull request or design doc over the last several years will 404 the day the instance goes away. Nobody counts these until they are gone. Export the ones inside your own wiki and rewrite them before the cutover, and accept that the ones inside old pull request threads are lost.
Common questions
FAQ: Sourcegraph vs Sourcebot
Is Sourcebot open source?
Not in the OSI sense. Sourcebot is licensed FSL-1.1-ALv2, the Functional Source License, which publishes the full source and permits internal use, modification and redistribution but forbids competing uses, meaning you may not offer it commercially as a substitute for Sourcebot. The important half of the licence is the conversion clause: every release automatically relicenses to Apache-2.0 two years after it ships, and that future grant is described as irrevocable. So the code you run today is source-available, and the same code becomes genuine open source on its second anniversary. If your policy requires OSI-approved terms right now, Zoekt under Apache-2.0 or OpenGrok under CDDL-1.0 are the honest answers instead.
What does the free Sourcebot tier actually include?
More than most free tiers in this category. The self-hosted Basic plan carries no per-user fee and includes the code search UI across every repository and branch, regex and symbol search, git history and blame, the file explorer, Docker Compose deployment and community support. What is behind the $20 per user per month Pro tier is code navigation, the AI features, SSO and onboarding support. In practice that means a team can replace Sourcegraph's search entirely for the cost of the machine it indexes on, and only pays if it wants navigation or single sign-on.
Can Sourcebot index repositories from more than one host?
Yes, and this is the specific reason it is a credible Sourcegraph replacement rather than a smaller tool. Sourcebot is configured with a list of connections covering GitHub, GitLab, Bitbucket, Gitea and Gerrit as well as plain local paths, and indexes every branch it is pointed at, so code spread across several hosts ends up in one search box. That multi-host case is exactly what teams bought Sourcegraph for and exactly what GitHub code search cannot do, since it only ever sees GitHub.