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 👇

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


Generate unit tests, summarize changes, or create docs with prebuilt recipes.

Learn more
What is sourcegraph?

Sourcegraph is an AI platform that makes it easy to read, write, and fix code–even in big, complex code bases.

Home Illustartion

Code graph

Sourcegraph builds a compiler-accurate map of your code graph, the only graph that includes all your code including all code hosts, dependencies, and code-related data, providing Cody and Code Search with deep knowledge of your entire codebase.

Tools & workflows

Tools are the capabilities that make Cody and Code Search extra powerful. Batch Changes allows you to make coordinated changes across all your repositories, while Code Insights gives you the power to map time series trends from patterns in your codebase.


By creating embeddings for your entire code graph, Cody can quickly search and draw context from your codebase. This means Cody is able to provide you with the most relevant, context-aware answers.

Data Plugins
Coming soon

Third-party tools plug data into Sourcegraph’s AI platform to further enrich the code graph.


Developers can build their own custom tools on top of the Sourcegraph platform via the API, taking advantage of the unique code graph, embeddings, and tools.

Language model

Sourcegraph gives teams the freedom to choose the best large language model to fit their needs.

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

Learn 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 Enterprise
  • GitHub Enterprise
  • Bitbucket Server
  • Bitbucket Data Center
  • Bitbucket Cloud
  • Phabricator
  • Gitolite
  • Gerrit (coming soon)
  • Perforce
  • CVS
  • Any Git-based code host
Request one

All your languages

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

All your tools

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

Deployment options

  • Kubernetes cluster
  • Amazon EKS or EC2
  • Google GKE
  • Microsoft Azure AKS
  • Docker Compose
  • Docker Compose in GCP
Learn more

Try Cody for free

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

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

Cody for Enterprise

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