Sourcegraph Code Search
Searches and edits code across every repository an organisation has.
Find alternatives to Sourcegraph Code Search
What it does
- Code search
Used for
- Agentic coding
Features 15
- Literal, keyword and regex searchFast literal, keyword and regex search across every codebase.
- Commit and diff searchTracks code changes and filters by author, date or branch.
- Symbol searchFinds functions, variables, classes and other symbols by name.
- Search contextsOrganizes and targets specific repo sets at chosen revisions.
- Multi-branch indexingIndexes multiple branches for faster cross-branch queries.
- Code navigationIDE-like jump to definitions and references across codebases in the browser.
- Query assistQuery assist lets you describe what you're looking for in plain natural language.
- Saved searchesSaved searches let you save and describe search queries so you can easily monitor the results on an ongoing basis.
- Code monitoringCode monitors allow you to keep track of and get notified about changes in your code.
- Precise code navigationPrecise Code Navigation: Uses compile-time information to provide users with accurate cross-repository navigation experience across the entire code base.
- Code FinderCode Finder is an agentic search tool built into the Sourcegraph MCP Server.
- Batch ChangesBatch Changes helps you ship large-scale code changes across many repositories and code hosts.
- Code InsightsCode Insights reveals high-level information about your codebase, based on both how your code changes over time and its current state.
- Sourcegraph CLI (src)src is a command line interface to Sourcegraph that allows you to search code from your terminal
- Streaming search APIWith the streaming search API you can consume search results and related metadata as a stream of events.
Sources
- Pricing
-
Enterprise plan: "Starting at $16K Minimum annual contract. Includes credits for AI features; scales with team size"; "Contact sales".
- Used for
-
Official documentation · 3 Nov 2026
'Update dependencies, fix patterns, and refactor across thousands of files automatically.' (https://sourcegraph.com/use-cases)
- Security
-
Platform-wide security page. Encryption at rest is stated for Sourcegraph Cloud; SAML/OIDC authentication is stated in the self-hosted section. No certifications, training or ZDR statement on the page (Cloud terms describe Partner LLM zero retention, which is the LLM providers' and not Sourcegraph's own mode, so unknown). security.sourcegraph.com (compliance portal linked from the page) returned 403 to curl, so certifications are not recorded; see needs_browser.
- Sold within
-
Sourcegraph's pricing page prices its "Enterprise plan" "Starting at" "$16K" ("Minimum annual contract"), listing "Search and navigation across your entire codebase" among what it includes; the plan's button is "Contact sales".
- Deployment
-
Official documentation · 13 Oct 2026
Page: 'Single-tenant cloud' / 'Multi-node, self hosted solution great for large enterprises'.
- Interfaces
-
Official documentation · 28 Sep 2026
Page names CLI Sourcegraph in your terminal, APIs to integrate with Sourcegraph, MCP server for agents, and browser-based semantic code navigation.
- Intended for
-
"Trusted by the world's largest dev teams"; "Lightning-fast search at enterprise scale"
Also from Sourcegraph
-
Sourcegraph Code Insights Application
Tracks metrics across every repository an organisation has — migration progress, dependency versions, code health — computed from the same search index Code Search uses.
-
Sourcegraph Deep Search Application
A retrieval layer built to answer questions about a codebase at scale, feeding an AI agent the context it needs to reason across every repository.
-
Sourcegraph Agentic Batch Changes AI agent
Runs a single migration across every repository an organisation owns, driven by an agent rather than a hand-written script per repo.
-
Cody Developer tool
AI coding assistant for Sourcegraph Enterprise that answers questions, completes and edits code and runs custom prompts in VS Code, JetBrains, Visual Studio, the Sourcegraph web app and a command-line client, pulling context from the organisation's local and remote codebases through Sourcegraph search.
Open Sourcegraph in the directory
Something wrong here? Send a correction — quote this product id: sourcegraph-code-search.