Sourcegraph is an enterprise code intelligence platform that combines code search, AI-powered Deep Search, and agentic Batch Changes to help developers and AI agents understand and change large codebases.
Sourcegraph is a code intelligence platform that gives developers and AI coding agents complete context across large, complex codebases. It started as a universal code search tool and now adds AI-powered Deep Search, Batch Changes, Insights and an MCP server, so teams can find answers, track code health and make changes across hundreds of repositories.
Code Search gives exact, exhaustive results across every repository and code host. Deep Search lets you ask questions in natural language and returns answers backed by citations from your actual code. Agentic Batch Changes uses an AI agent to plan and apply the same change across many repositories at once. The MCP server, API and CLI let tools such as Claude Code, Cursor and Codex query Sourcegraph for codebase context.
Sourcegraph is built for enterprise engineering, platform and SRE teams working with large monorepos or many repositories. Typical uses include code migrations and modernization, security remediation, onboarding engineers and improving the accuracy of AI-generated code. It offers single-tenant cloud and self-hosted deployment, SSO, SCIM, RBAC, SOC 2 Type II and ISO 27001 compliance, and zero data retention for LLM inference.
Is Sourcegraph free?
Sourcegraph currently lists a single Enterprise plan with a minimum annual contract starting at $16K. It includes AI credits that scale with team size. Contact sales for a quote.
What is the difference between Code Search and Deep Search?
Code Search returns exact, deterministic matches across your repositories, while Deep Search answers natural-language questions with citation-backed results.
Does Sourcegraph work with other AI coding agents?
Yes. Its MCP server, API and CLI let agents like Claude Code, Cursor and Codex use Sourcegraph's code graph as context.
Can Sourcegraph be self-hosted?
Yes. It supports both single-tenant cloud and self-hosted deployment.
Pricing tiers and plan details are set by Sourcegraph and can change, visit their site for current, official pricing.
See official pricing →