Find & fix code with
Code Search + AI

Search & refactor code across any size codebase, plus write & fix code fast with Cody, the AI that uses your code graph as context.

Sign up to get Cody for free 👇

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


Cody autocompletes single lines, or whole functions, in real time as you code.

Learn more

Available on:

What is sourcegraph?

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

Home Illustartion


Write, fix, and maintain code with the most powerful & accurate AI coding assistant. Cody uses the code graph to understand your entire codebase and help developers write and ship code with autocomplete and commands.

Learn more about Cody (beta)
cody graph

Code Search

Search your entire codebase—every code host and repository, at any scale—in a single place. Code Search makes it easy for developers to onboard to new codebases, understand code faster, and find & fix security risks.

Over 1.8M engineers use Sourcegraph

Learn how innovative companies are using Sourcegraph
Uber logoGE logoQualtrics logoDropbox logoNutanix logoCanva logoIndeed logoPlaid logoReddit logoMercado Libre logoLyft logoDatabricks logoShipt logo

See what devs are saying about Cody (beta)

Try Cody for free (beta)

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 Privacy Policy

Cody for Enterprise (beta)

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