AI coding assistant with codebase context.
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.
Install the Cody extension in VS Code at sourcegraph.com/cody.
Sign up for a free account and connect your codebase.
Ask questions about your code or generate code with full context.
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 →
Yes — a free tier for individuals; Enterprise plans add larger context windows and admin controls for teams.
It's built around whole-codebase context and search, making it strong for large, unfamiliar, or multi-repo projects rather than single-file completion.
VS Code, JetBrains IDEs, and Neovim, among others.