
Sourcegraph
: How to use it, features, and the business problems it solves
Add bookmark
What is Sourcegraph?
A platform that provides a code intelligence foundation for searching and navigating entire codebases, alongside an autonomous AI coding agent called Amp that edits code end-to-end. Capabilities include cross-repository search, AI-powered Deep Search, and Batch Changes for simultaneous edits across multiple repositories — boosting developer productivity at enterprise scale.
Business problems it solves
About "Sourcegraph"
How to Use
-
Choose the product to use
If your goal is cross-codebase search, choose Sourcegraph code search; if your goal is autonomous AI coding, choose the coding agent "Amp."
-
Set up Amp
Amp can be used from VS Code (and derivative editors such as Cursor and Windsurf) or from the CLI. Install the extension or set up the CLI.
-
Connect your codebase
Connect your own repositories to Sourcegraph so you can search and reference across your entire code.
-
Search and navigate
Search for functions, definitions, and references across repositories. With AI-powered Deep Search, you can find relevant code from natural-language questions.
-
Delegate tasks to Amp
Give instructions in natural language, and Amp plans the work and autonomously makes edits across multiple files and repositories, runs commands, and runs tests.
Features
-
Cross-codebase search
Quickly search and navigate code and documentation across all your internal repositories.
-
AI Deep Search
For natural-language questions, the AI investigates the codebase in depth and presents relevant locations and answers.
-
Amp (AI coding agent)
An agent that autonomously plans, executes multi-step tasks, edits code across repositories, and runs and iterates on commands and tests.
-
Batch Changes
Apply and manage changes spanning many repositories all at once. Effective for large-scale refactoring and dependency updates.
-
Code Insights and monitoring
Includes Insights to visualize codebase trends, plus change-monitoring features.
-
API, CLI, and MCP integration
Call features via the API, CLI, or MCP server to embed them into your existing development workflow.
-
Enterprise-grade security and administration
Provides enterprise-grade security and admin controls.
Pricing
Pricing is current as of June 2026. It is denominated in US dollars, and the equivalent in yen varies with exchange rates. Check the official pricing page for the latest information.
| Plan / product | Price | Key details |
|---|---|---|
| Amp Free | Free | Daily free credits (with sponsor ads), pay-as-you-go usage for individuals |
| Amp (usage-based) | Pay-as-you-go | Usage beyond the free tier is pay-as-you-go for individuals with no markup |
| Enterprise | About $16,000 and up (varies with team size) | Cross-codebase search, AI Deep Search, Batch Changes, Insights, MCP server/API/CLI, credits for AI features, enterprise-grade security, 24x5 support |
- The free/Pro plans of the former AI assistant "Cody" ended in 2025; the product has now transitioned to the agentic "Amp."
Pros and Cons
Pros
- Powerful code search and navigation across all your repositories
- Amp can be used from multiple environments such as VS Code, Cursor, Windsurf, and the CLI, and you can try it from the free tier
- Batch Changes makes large-scale bulk changes and refactoring more efficient
- Provides enterprise-grade security and admin features
Cons
- The user interface (UI) and documentation are mainly in English
- Enterprise (the code-search platform) is expensive and priced for large organizations
- There have been changes to the product lineup, such as the end of "Cody," so the latest offerings should be verified
Reviews and Reputation
- Large development organizations highly praise it, saying "cross-searching a huge codebase is overwhelmingly fast" and "we can search all of the company's code in one place."
- Regarding Amp, some note that "autonomous code editing across multiple repositories is powerful."
- On the other hand, some point out that "Enterprise is expensive," "the UI is English-centric," and "the lineup changed with the move from Cody."
Frequently Asked Questions (FAQ)
Q. Can I use Sourcegraph for free?
The coding agent "Amp" can be used from a free tier (credits granted daily), with overage billed on a usage basis. The Enterprise cross-codebase search is paid and priced for large organizations.
Q. What's the difference between "Amp" and "Cody"?
Cody is the former AI assistant, and its free/Pro plans ended in 2025. The product has now transitioned to the more autonomous, agentic "Amp."
Q. Does it support Japanese?
The user interface (UI) and documentation are mainly in English. It can handle Japanese code and comments, but because the UI is in English, this site does not count it as supporting Japanese.
Q. Which editors can I use it with?
Amp can be used from VS Code (and derivative editors such as Cursor and Windsurf) or from the CLI.
Sourcegraph vs. other AI coding tools like GitHub Copilot
| Aspect | Sourcegraph | GitHub Copilot / Cursor, etc. | Best for |
|---|---|---|---|
| Strength | Cross-codebase search plus the autonomous agent Amp | In-editor completion and generation | Sourcegraph, for understanding and searching a huge codebase |
| Scope | Search and bulk changes spanning multiple repositories | Mainly the currently open project | Suited to company-wide changes and investigation |
| Target | Mainly enterprise | Individuals to teams | Handy for boosting productivity at large organizations |
For a more detailed comparison, see the individual pages for related services as well.
