Skip to documentation

Explore Sourcegraph features, setup, and administration.

Documentation

Changelog ↗

Code Intelligence

  • Deep Search
  • Code Search
  • Code Navigation
  • Cody
  • Diff Tour

Code management

  • Agentic Batch Changes
  • Batch Changes
  • Code Insights
  • Code Monitoring

Developer tools

  • MCP Server
  • Sourcegraph CLI
  • Integrations
  • Sourcegraph API

Deploy & administer

  • Administration
  • Sourcegraph Cloud
  • Self-hosted

Resources

  • Enterprise Starter
  • Sourcegraph AI features
  • Beta and Experimental features
  • SLAs and premium support
  • Supported countries

Welcome to the new Sourcegraph documentation. Can’t find something? Try the legacy documentation, or send us feedback. Content and navigation may differ.

Documentation

Learn how to use, integrate, and administer Sourcegraph. Choose a topic below to open its documentation.

Find and understand code

Deep Search ↗

Ask a question in natural language and get an answer grounded in your codebase.

Code Search ↗

Find uses of a function, API, or setting across your repositories.

Code Navigation ↗

Jump to a symbol’s definition and find where it’s used.

Make and track changes

Agentic Batch Changes ↗

Have an agent make a change across repositories and open pull requests for review.

Code Insights ↗

Track migrations, adoption, and risk across your codebase over time.

Tools and administration

MCP Server ↗

Connect your coding agent to Sourcegraph’s code search and codebase context.

Administer Sourcegraph ↗

Set up Sourcegraph for your organization, from deployment to repository permissions.

Diagram

Next Deep Search

On this page

  1. Find and understand code
  2. Make and track changes
  3. Tools and administration
  • View as Markdown
  • Send feedback