Meet Cody, your AI code assistant

Cody writes code and answers questions using your own code graph as context—even in complex codebases with multiple code hosts.

Sign up to get free access 👇

Continue with Email

By registering, you agree to our Terms of Service and Private Policy

Sourcegraph is used by some of the largest companies in the world.
Learn about Sourcegraph Enterprise

Sourcegraph’s code intelligence makes it easy to read, write, and fix code–even in big, complex code bases.

Code search

Search all of your repositories across all branches and all code hosts.

Code search

Code intelligence

Navigate code, find references, see code owners, trace history, and more.

Code intelligence

Fix and refactor

Roll out large-scale changes to many repositories at once and track big migrations.

Fix and refactor
Cody Icon

Cody is coming to the app June 2023

Download the Sourcegraph app

Find, fix, & navigate code with the free Sourcegraph app. The app includes code search and navigation, plus Code Insights and Batch Changes for your local code.

1.8M+ devs at the world's leading eng orgs are Sourcegraph customers

See how innovative companies are using Sourcegraph
Uber logoGE logoQualtrics logoDropbox logoNutanix logoCanva logoIndeed logoPlaid logoReddit logoMercado Libre logoLyft logoDatabricks logoShipt logo
Bryce Kalow, Senior Web Engineer at HashiCorp

“By its nature and capabilities, Sourcegraph can be a tool to reduce friction, speed up feedback loops, and improve developer velocity.”

- Bryce Kalow, Senior Web Engineer at HashiCorp
Ronnie Magatti, Team Lead & Principal Software Engineer at Neo Financial

“With Sourcegraph, developers are more productive and it’s clear that every team is getting 1% better every day.”

- Ronnie Magatti, Team Lead & Principal Software Engineer at Neo Financial
Justin Phillips, Software Engineer, Lyft

“During our decomp efforts, we also spent time to refactor our APIs. Many of these APIs were undocumented and lacked a formalized contract.

With the help of Sourcegraph, we were able to quickly look at all clients of an API and remove unused attributes that lived in different repositories, ultimately simplifying our APIs and speeding up developer iteration time.”

- Justin Phillips, Software Engineer, Lyft

Works with your code, infrastructure, and tools

All your repositories + 2M open source (and counting)

  • GitLab.com
  • GitLab Enterprise
  • GitHub.com
  • GitHub Enterprise
  • Bitbucket Server
  • Bitbucket Data Center
  • Bitbucket Cloud
  • Phabricator
  • Gitolite
  • Gerrit (coming soon)
  • Perforce
  • CVS
  • Any Git-based code host
Have a repository not covered here?

All your languages

  • Java
  • Python
  • Go
  • JavaScript
  • TypeScript
  • C#
  • C
  • C++
  • Swift
  • Objective-C
  • Kotlin
  • Ruby
  • Scala
  • Rust
  • Perl
  • Dart
  • Erlang
  • COBOL
  • Clojure
  • Lisp
  • Shell
  • Terraform
  • Lua
  • GraphQL
  • Thrift
  • Protobuf
  • YAML
  • JSON
  • Jsonnet
  • R
  • PHP
  • Elixir
  • Haskell
  • PowerShell
  • OCaml
  • CUDA
  • Pascal
  • Verilog
  • VHDL
  • Groovy
  • Tcl
Need a different language?

All your tools

  • Chrome
  • Firefox
  • VS Code
  • JetBrains
  • Vim
  • Emacs
  • Atom
  • Sublime Text
  • Datadog
  • Lightstep
  • Sentry
  • Codecov
  • Jira
  • npm
  • SonarQube
See all integrations

Deployment options

  • Self-hosted by you:

    • Kubernetes cluster
    • Amazon EKS or EC2
    • Google GKE
    • Microsoft Azure AKS
    • Docker Compose
  • Managed and hosted by us:

    • Docker Compose in GCP
Learn about deploying Sourcegraph

Try Cody for free

Cody writes code and answers questions for you, speeding up work and keeping devs in flow.

Cody for Enterprise

Cody with Sourcegraph Enterprise uses the code graph to provide context-aware answers based on your own private codebase.