Code intelligence

Find answers faster, with inline contextual information around code.

Explore definitions & references, across all projects

Find the definition, function calls and anything else in code, across packages, dependencies, and repositories.
Explore code in your web browser in any repository on any branch, instantly and without losing local context.

See Sourcegraph code intelligence in action

Better code reviews with code intelligence

Sourcegraph integrates with your existing code review tool and lets you:

Grok the change with documentation hovers & "Go to definition"

See a call to a function you don't recognize? With Sourcegraph, you can see its documentation and type signature by hovering over it—and go to its definition in a single click. Works for 32 programming languages. Even if your IDE supports this, being able to do it in your web browser instantly without losing context saves tons of time—and helps you do more thorough reviews.

Assess the impact of the change with "Find references"

What might break when this change is merged? Who else is relying on the API that will be changed? As a reviewer, you need to understand the impact of a change to review it correctly. With Sourcegraph in 32 programming languages, you can find callers and references in all of your repositories. Never have an "oops" again.

See test coverage and runtime logs, traces, & errors

When changing code that's performance-sensitive or causing errors, it helps to see live information from runtime to ensure the fix is correct. When using supported services to collect this information, Sourcegraph makes it easy to see this extra context when reviewing.

Open source, self-managed, & privacy-respectful

Sourcegraph is self-hosted, so your code never leaves your network. And it's open source (Apache 2.0), so you can verify this. (If you prefer not to self-manage your instance, we offer cloud-managed deployment, too.)

Integrates with your existing tools and workflow

Code hosting & review
Other services in your workflow
Browser & editor integrations
Programming languages
All programming languages are supported. 32 programming languages have additional code intelligence support.

Better code reviews with the Sourcegraph browser extension

Engineering teams at these companies use Sourcegraph Universal Code Search

The only enterprise solution

Sourcegraph is built for companies of all sizes, from startups that need a solid foundation for growth, all the way to the largest enterprises with complex security, scaling, and deployment needs.

Proven at scale

10,000s of developers and repositories on Sourcegraph? You're in good company. Not at that scale? You'll still benefit from the robustness.

24/7 support

We provide outstanding support whenever you need it, including deployment assistance and help integrating custom dev tools with Sourcegraph.

Deploy your way

Self-manage your organization's Sourcegraph instance, or let us manage it for you (on our secure infrastructure or your cloud provider sub-account).

Try Sourcegraph now

Explore, navigate, and better understand all code, everywhere, faster, with Universal Code Search

Install browser extension