AI coding assistant with context across your entire codebase
Cody is an AI coding assistant for software developers that integrates with VS Code, JetBrains, Visual Studio, and the web.
AI Panel Score
6 AI reviews
Reviewed
Facts checked against sourcegraph.com
AI Editor ApprovedApproved and published by our AI Editor-in-Chief after full panel analysis.Cody is an AI coding assistant from Sourcegraph for software developers, integrating with VS Code, JetBrains, Visual Studio, and the web. It uses Sourcegraph's Search API to pull context from local and remote codebases, giving it awareness of APIs, symbols, and usage patterns across an entire codebase rather than a single open file. It supports chat, auto-edit suggestions, code completions, customizable prompts, and a CLI, connects with code hosts including GitHub and GitLab, and can route requests to multiple LLMs. A free plan is available, and Enterprise pricing is quote-based. Context filters and self-hosted Sourcegraph deployment support regulated or air-gapped environments. TopReviewed's six-seat AI review panel scored it 7.5/10, praising the depth of Sourcegraph's mature code-graph indexing while noting that initial indexing of large monorepos takes hours before context becomes useful. It fits best for engineering organizations already running Sourcegraph or working in monorepo and multi-service codebases where cross-repository context matters daily.
Cody works inside a developer's existing editor — VS Code, JetBrains, or Visual Studio — as well as through a web interface and CLI. Developers interact with it through a chat panel to ask questions about code, generate new code, or debug issues. The @ symbol lets users explicitly pull in context from specific files, symbols, remote repositories, or non-code artifacts during a conversation.
Distinctive capabilities include Auto-edit, which monitors cursor movement and recent edits to proactively suggest contextual code changes, and Context Filters, which let teams exclude specific repositories from chat and autocomplete results. Cody supports multiple LLMs and lets teams build reusable, shareable prompts to automate recurring tasks. It integrates with Sourcegraph's Code Search product, surfacing a Cody chat button directly on repository and file views.
Cody targets engineering teams on Sourcegraph Enterprise, the only plan it is sold on: Sourcegraph discontinued Cody Free and Cody Pro on July 23, 2025, and removed Cody from its Enterprise Starter plan the same day. The Enterprise plan starts at $16K on a minimum annual contract, includes credits for AI features and scales with team size; a quote requires contacting Sourcegraph's sales team.
Cody is available as IDE extensions for VS Code, JetBrains, and Visual Studio (experimental), as well as a CLI and a web app. Sourcegraph states it does not train on Enterprise customers' data, and its third-party LLM providers do not train on customers' codebases.
Suggests code changes by analyzing cursor movements and typing, proposing contextual modifications based on cursor position and recent edits after an initial character change.
Lets developers chat directly with AI to ask questions about code, generate code, and edit code, with default context from the open file and repository plus the ability to add specific files, symbols, or remote repositories using @.
Provides AI-generated code completions to help developers write code faster.
Identifies and fixes errors in code, using debugging and autocomplete suggestions to accelerate the debugging process.
Uses Sourcegraph's Search API to pull context from local and remote codebases, giving Cody awareness of APIs, symbols, and usage patterns across the entire codebase.
Enables running Cody from the command line.
Provides access to Cody directly within the Sourcegraph web app.
Automates key workflow tasks with premade and customizable prompts that can be built, saved, and shared with a team.
Connects with code hosts like GitHub and GitLab to provide contextual awareness of repositories.
Integrates with Sourcegraph Code Search so users can open a Cody chat button from any search result, repository, or file to ask questions about the codebase.
Connects with VS Code, JetBrains, and Visual Studio through dedicated extensions so developers can use Cody within their preferred IDE.
Allows selected repositories to be excluded from chat and autocomplete results to control and manage what context Cody uses.
Built for enterprise scale; starting at $16K, includes credits for AI features and scales with team size. Contact sales for pricing.
AI coding assistant with the deepest enterprise codebase context — backed by a 13-year code-search business.
“Sourcegraph founded 2013, $223M+ raised, Cody launched 2023. The codebase-context story is real because it sits on top of the Sourcegraph indexer.”
Sourcegraph founded 2013. Andreessen Horowitz Series D. $223M+ raised, Series D at $2.6B valuation. Cody launched 2023 on top of the existing Sourcegraph code-intelligence platform. Three signals — durable parent company, real funding, new product riding mature infrastructure.
Two things matter. One: the codebase-context advantage is real. Cursor and GitHub Copilot index their own way; Cody uses Sourcegraph's 13-year-old indexing engine. For monorepos and microservice meshes, that's a different category of context. Two: Sourcegraph's enterprise install base — banks, government, healthcare — gives Cody a built-in distribution channel competitors can't match.
The risk is GitHub Copilot's distribution dominance. Pilot Cody on a regulated codebase where enterprise context matters and GitHub's offering struggles. If the team feels the difference, the buy is defensible. If not, Copilot's install base wins on procurement.
Differentiated context depth vs Cursor and Copilot; weaker on raw distribution and editor mindshare.
Sourcegraph parent brand has bank and government references — board-defensible.
Codebase indexing for context takes time on large monorepos before Cody value shows up.
Strong fit for monorepo and regulated-enterprise codebases; weaker fit for greenfield or solo developers.
Sourcegraph at 13 years and Series D funding is the strongest viability signal among AI coding tools.
Engineering orgs already running Sourcegraph or with regulated codebases where deep enterprise context matters.
Your team is on GitHub.com without compliance constraints and Copilot already covers the workflow.
Cody's context engine is Sourcegraph's indexer — 13 years of code-graph engineering carrying the AI layer.
“The architectural advantage is borrowed, not built fresh. Cody inherits Sourcegraph's code intelligence platform, which means depth that startup-vintage coding AIs cannot match.”
The architectural advantage is borrowed, not built fresh. Cody runs on top of Sourcegraph's code-graph indexer — the same infrastructure that powers Sourcegraph's code search at Reddit, Stripe, and Dropbox. That's 13 years of engineering most AI coding tools don't have access to.
If we adopt this, in 3 years our developer experience is a code-search-plus-AI workflow, not just AI completions. The strategic shape is different from Cursor: Cursor bets on the editor as the platform; Cody bets on the codebase index as the platform. Both can be right; they're different bets.
Integration surface is VS Code, JetBrains, the Sourcegraph web UI, and a CLI. Standard for the category. Self-hosted Sourcegraph with Cody is supported, and admins can point Cody at their own model keys or self-hosted models. Out of the box, though, a self-hosted instance still needs internet access to reach the LLM provider, so read the deployment docs before promising anyone an air gap.
Differentiated vs Cursor on context depth; behind Copilot on distribution mindshare.
Maps to how senior engineers actually work in monorepos — code-search-plus-AI, not editor-only completion.
VS Code, JetBrains, web UI, CLI — covers all the surfaces engineers actually use.
Self-hosting with your own model endpoints helps regulated industries over a 3-year horizon; by default the LLM calls still leave the network.
Inherits 13 years of Sourcegraph indexer engineering — depth most AI coding tools cannot replicate.
Engineering orgs with regulated codebases where AI context-depth and self-hosting matter.
Your team prioritizes editor-first AI workflows and Sourcegraph's parent context isn't a strategic asset.
One plan, one number: Enterprise starts at $16K/year. No per-seat rate, no free tier, no self-serve.
“Sourcegraph publishes one plan for Cody: Enterprise, starting at $16K a year on a minimum annual contract. The floor is public; the per-seat rate isn't, and that's the number procurement actually needs.”
One plan on the pricing page. Enterprise. Starting at $16K, minimum annual contract. No per-seat rate. No free tier. No self-serve checkout.
$16K is the floor, not the quote. At 50 developers that's $320 per developer per year — about $27 a month — before the credits math for AI features. Compare GitHub Copilot Business at $19 × 50 × 12 = $11.4K/year, published. Cody starts above it.
The second cost is the platform. Cody ships inside Sourcegraph, so code search and the indexing layer come in the same line item. Self-hosted adds compute and storage on top — budget 10-20% over license. If you already pay for Sourcegraph, the marginal cost is the honest number. If you don't, $16K buys a platform, not a plugin.
Every purchase is an annual contract through sales — no card checkout at any size.
Minimum annual contract, no monthly option — the floor commits you for a year.
One published number — a $16K annual floor — and no per-seat rate; everything past that needs a sales call.
Engineer productivity gain measurable; harder to attribute when bundled with parent code search platform.
A $16K floor before the AI credits math; self-hosted infrastructure adds 10-20% for the indexing layer.
Engineering orgs already running Sourcegraph or willing to bundle code search with AI coding for finance leverage.
You want a single-product AI coding tool with simple SaaS pricing and no parent-platform dependency.
Codebase-aware AI completion that actually feels aware of your codebase — once the indexer finishes.
“Day-3 reality: Cody reads your repos and answers like it has read them. Day-30 reality: indexing latency on large monorepos is the friction.”
Cody's differentiator shows up immediately. Ask it about a function in your codebase and it cites the file:line, not a hallucinated guess. That's Sourcegraph's indexer doing the work behind the AI layer. Compare GitHub Copilot Chat: weaker codebase context, faster start time on small repos.
Day-three reality: completion suggestions land with codebase-aware context. Compare Cursor: faster on file-local context, weaker on cross-repository awareness. Different shapes, different fit. Cody works best on monorepos and microservice meshes; Cursor works best on focused single-app codebases.
Day-thirty fight is the indexing latency. Adding a new repo means waiting for Sourcegraph to index it before Cody is useful. On a 10M-line monorepo, that's a several-hour wait the first time. After that, incremental updates are fast. The VS Code and JetBrains plugins both work; web UI is functional but not where engineers actually live.
Codebase-aware completions land immediately on indexed repos; the AI feels grounded, not guessing.
Real code examples in the docs; Sourcegraph parent docs are deeper than Cody-specific.
Indexing latency on large monorepos is real; subsequent incremental updates are fast.
Custom shareable Prompts and code-graph queries scale for advanced engineering teams.
VS Code and JetBrains plugins work without proprietary editor lock-in.
Engineers in monorepo or multi-service codebases where cross-repository AI context matters daily.
Your team works in single-app focused codebases where Cursor's editor-first speed wins.
Cody knows your codebase — when it's done indexing, which is the day-three reality.
“On day three, Cody finally feels like the AI assistant that read your repos. The first 48 hours feel slower than Copilot for the same reason.”
Cody's pitch is true and the experience confirms it — once indexing finishes. Ask about a function your team wrote 6 months ago, and it points you to the file:line and explains it. That's the Sourcegraph parent showing up.
The friction is the wait. Adding a 5M-line repo to Cody means waiting hours for the index. Compare GitHub Copilot: works immediately, less context-aware. Different tradeoffs, both honest. The VS Code plugin is fine — feels like every other AI completion plugin — and the chat panel works without ceremony.
No free tier, no card checkout. One plan: Enterprise, starting at $16K a year. Something your company buys, not something you try on a Tuesday. Copilot Business publishes $19 a seat. Cody makes you book a call. It earns its keep on monorepos and large codebases. On a side project with three files, you barely feel the advantage.
VS Code plugin and chat panel are clean; not noticeably more polished than Cursor or Copilot.
First hour is slow due to indexing; week three is when the codebase-aware advantage compounds.
Mobile is not a developer tool surface — neutral category-wide.
First 48 hours are slow because of indexing latency; less welcoming than Copilot's instant-on shape.
Once indexed, completions are consistent and citations are accurate — trust grows over weeks.
Engineers working on real-world large codebases who can wait hours for initial indexing in exchange for grounded AI context.
You want immediate AI completion on the first day without waiting for an indexing job to finish.
Sourcegraph parent makes Cody real — but AI coding consolidation pressure is the yellow flag.
“Three green flags from the Sourcegraph parent. The yellow flag is GitHub Copilot's distribution moat that makes survival in AI coding harder than the product alone suggests.”
Three green flags. Sourcegraph parent at 13 years and $223M+ raised. The codebase-context architecture is real differentiation, not marketing. Self-hosting is supported, and admins can route Cody to their own model keys or self-hosted models, a real compliance lever for regulated teams.
Green flag color depth: the team has shipped code intelligence at scale at Reddit, Stripe, Dropbox. Cody isn't the first product they've shipped — it's the first AI product riding mature infrastructure.
Two yellow flags worth naming. GitHub Copilot has distribution dominance at 1M+ paying users — Cody is fighting against an installed base. The AI coding category is crowded, and consolidation has started: Tabnine now belongs to Tricentis. Most of today's assistants won't survive at scale. Cody's strongest argument is the parent product moat — without Sourcegraph, the standalone story is harder to defend.
Codebase context is real but Copilot can replicate; Sourcegraph parent moat is the durable differentiation.
VS Code and JetBrains integrations are standard plugins; switching out is a plugin uninstall.
Parent durability is strong; AI coding category consolidation pressure is real.
Codebase-context claims hold up; Sourcegraph parent narrative is direct and unforced.
13 years of Sourcegraph operation puts the parent past most survival concerns.
Engineering orgs already running Sourcegraph or with regulated codebases where the parent platform moat matters.
You want the category-leader pick today and Copilot's distribution dominance is decisive.
Common questions answered by our AI research team
Cody is available only on Sourcegraph's Enterprise plan, which starts at $16K on a minimum annual contract, includes credits for AI features and scales with team size. Volume pricing is also available.
Cody is supported on VS Code, JetBrains, and Visual Studio (experimental), plus a Web app and a CLI for command-line use.
No. For Enterprise customers, Sourcegraph does not train on your company's data, and its third-party LLM providers do not train on your codebase.
Yes. Context Filters let Cody ignore selected repositories from chat and autocomplete results, giving you control over what context your codebase uses.
Open the Extensions view in VS Code, search for "Cody AI" and click Install. Then choose "Sign In to Your Enterprise Instance", enter your Sourcegraph Enterprise instance URL and paste an access token created under Account Settings > Access Tokens. Cody requires a Sourcegraph Enterprise account with Cody enabled.
Who Cody by Sourcegraph competes with, and how each one differs
Targets the same enterprise buyer as Sourcegraph -- codebases in the hundreds of thousands of files -- via a persistent "Context Engine" index rather than Sourcegraph's search-plus-agent architecture; holds ISO/IEC 42001 certification for enterprise procurement.
A consumer- and team-first AI-native code editor (a VS Code fork) optimized for fast iteration on modern codebases, versus Sourcegraph's enterprise code-search-first approach built for legacy and monorepo scale.
A model-vendor-distributed CLI coding agent sold as an add-on to a Claude subscription rather than a standalone product, competing for the same agentic-coding budget as Sourcegraph's spun-out Amp.
Emphasizes air-gapped, on-premises deployment and per-organization private models for regulated enterprises -- the same security-conscious buyer Sourcegraph's Cody Enterprise still serves.
Focused on AI-driven code review, test generation and quality gates rather than code search -- overlaps with Sourcegraph's "oversight" pitch for existing code rather than net-new authoring.
Bundled into the GitHub platform most enterprise developers already use, giving it the shortest adoption path of any AI pair-programmer. Not linked to our GitHub catalog page, which covers GitHub's Git-hosting platform and has no Copilot product listing.
Company
SourcegraphFounded
2013Pricing
Contact for pricingFree Plan
AvailableSourcegraph is a San Francisco-based code intelligence company whose Cody AI coding assistant and code search are used by enterprise engineering teams.