Sourcegraph Cody
AI coding assistant with codebase context.
01 What is Sourcegraph Cody?
Sourcegraph Cody is an AI coding assistant that indexes your entire codebase to provide deeply contextual suggestions. It can answer questions about your code, find usages, explain functions, and generate code that fits your existing patterns.
02 Best For
- ▸Large codebase navigation
- ▸Understanding legacy code
- ▸Contextual code generation
- ▸Enterprise teams
03 How to Get Started
- 01
Install the Cody extension in VS Code at sourcegraph.com/cody.
- 02
Sign up for a free account and connect your codebase.
- 03
Ask questions about your code or generate code with full context.
Pro Tips
- ◆Cody's edge is codebase-wide context — ask questions about how something works across files, not just the open one.
- ◆Use it to onboard onto unfamiliar repos: 'explain how authentication works in this codebase' beats reading files cold.
- ◆Point it at a specific file or symbol with @-mentions for more precise answers in large monorepos.
- ◆Pair with Sourcegraph search to find all usages before a refactor, then have Cody draft the changes.
04 At a Glance
Strengths
- +Large codebase navigation
- +Understanding legacy code
- +Contextual code generation
- +Enterprise teams
- +Free tier you can start with today
Things to consider
- !The free plan has limits; advanced features need a paid plan.
- !Pricing and features change often — confirm current details on the official site.
- !AI output should be reviewed before you rely on it.
Placement reflects our editorial assessment of fit for this use case, not paid placement. Some links may be affiliate links — this never changes our rankings. How we rank →
06 Frequently Asked Questions
Is Cody free?
Yes — a free tier for individuals; Enterprise plans add larger context windows and admin controls for teams.
What makes Cody different?
It's built around whole-codebase context and search, making it strong for large, unfamiliar, or multi-repo projects rather than single-file completion.
Which IDEs does Cody support?
VS Code, JetBrains IDEs, and Neovim, among others.