Sourcegraph

Sourcegraph

What is

Sourcegraph

?

Sourcegraph searches, navigates and analyzes code across many repositories and code hosts. It gives engineers and AI coding agents context about the codebase and applies code changes across repositories at scale.

At a glance

Attribute

Value

Primary use case

Code search, codebase understanding and large-scale code changes for engineers and AI agents

Deployment type

Single-tenant cloud or self-hosted

Pricing model

Enterprise plan starting at $16K minimum annual contract; includes AI credits, scales with team size; volume pricing

API compatibility

GraphQL and REST APIs, MCP server, CLI

Supported integrations

All major code hosts; Claude Code, Cursor, Codex, Amp and more

Key metrics

Vendor-reported: 200+ enterprise engineering teams; public code search across 1M+ public repositories

AEP branch

Tooling

AEP category

Developer Control Plane

AEP subcategory

IDE / CDE

Profile

Sourcegraph connects to an organization's code hosts and makes code across all repositories and branches searchable and navigable from one place. It brings insights from the whole codebase into the developer's editor. The same codebase context is made available to AI coding agents and other tools, so that answers, generated code and large-scale edits draw on the code as it actually exists.

Focus

Sourcegraph is aimed at enterprise engineering teams with very large monorepos or multi-repo estates. Typical uses are code understanding, migrations and modernization, security remediation, incident root-cause analysis and giving AI coding agents accurate context.

Background

Sourcegraph is led by CEO Dan Adler. Its board includes representatives of Andreessen Horowitz, Sequoia Capital, Redpoint Ventures, Craft Ventures and Goldcrest Capital, plus Beyang Liu and Quinn Slack of Amp.

Features

Code Search

Finds code across all repositories, branches and code hosts, with exact, deterministic and exhaustive results. Symbol search and code navigation let engineers jump to definitions and find references.

Deep Search

An AI agent explores the codebase to answer complex questions asked in natural language. Answers are grounded and come with citations.

Agentic Batch Changes

AI agents make, review and ship one change across hundreds of repositories. This supports migrations, modernization and fixes that would otherwise be done repo by repo.

MCP server

Gives AI tools and coding agents access to code search and codebase context. Agents get context from the whole codebase when they generate code.

Code Insights and monitoring

Code Insights produces high-level metrics and analytics about the codebase. Code monitoring adds ongoing oversight of code.

Diff Tour

Turns a large diff into a guided reading path that groups and explains related files. Reviewers can follow the change's intent instead of reading a flat file list.

Pros and cons

Pros

  • Answers about code come from the whole codebase, across every repository and code host, rather than one repo at a time.

  • Teams can choose between a single-tenant cloud and a self-hosted deployment.

  • Enterprise authentication includes SSO (SAML, OpenID Connect, OAuth), SCIM provisioning and lifecycle management, and RBAC.

  • According to the vendor, LLM inference data is not stored beyond what is required and is never shared with third parties.

  • AI credits are pooled across the organization, have no monthly expiry, and purchased buckets roll over on renewal.

Cons

  • The only published plan is Enterprise, which starts at $16K as a minimum annual contract, so small teams face a high entry cost.

  • AI features consume credits, so heavy usage may require buying add-on volume credit buckets.

  • Choosing the self-hosted option means the team must deploy, configure and manage its own Sourcegraph instance.

FAQs

What is Sourcegraph?

Sourcegraph is a tool for searching and understanding large codebases. Developers and AI agents use it to find and navigate code, and it can apply a change across many repositories at once.

How much does Sourcegraph cost?

Sourcegraph sells an Enterprise plan that starts at $16K with a minimum annual contract. The price scales with team size and includes credits for AI features. Volume pricing is available by contacting sales.

Can Sourcegraph be self-hosted?

Yes. Sourcegraph can run either as a single-tenant cloud deployment or as a self-hosted instance that the customer deploys and administers.

Which tools and code hosts does Sourcegraph work with?

Sourcegraph covers all major code hosts and major coding languages. It works with AI coding tools such as Claude Code, Cursor, Codex and Amp, and it offers an MCP server, GraphQL and REST APIs and a CLI.

What security and compliance controls does Sourcegraph offer?

The vendor states it holds SOC2 Type II and ISO27001 compliance and applies zero data retention to LLM inference. Administrators get SSO, SCIM provisioning and role-based access control.

Table of contents

Every piece of research we publish. Nothing else.

One weekly digest of new reports, market guides, interviews, and benchmarks. No drip sequences, no product pitches, and we don't hand your address to a sponsor. Unsubscribe in one click.

Weave Intelligence may collect information about your activity on our website.

To learn more, please read our Privacy Policy.

© 2026 Weave Intelligence. All rights reserved.

Every piece of research we publish. Nothing else.

One weekly digest of new reports, market guides, interviews, and benchmarks. No drip sequences, no product pitches, and we don't hand your address to a sponsor. Unsubscribe in one click.

Weave Intelligence may collect information about your activity on our website.

To learn more, please read our Privacy Policy.

© 2026 Weave Intelligence. All rights reserved.