Cody by Sourcegraph logo

Cody by Sourcegraph Review

Visit

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

7.4/10

6 AI reviews

Reviewed

Facts checked against sourcegraph.com

AI Editor Approved

What is Cody by Sourcegraph?

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.

About Cody by Sourcegraph

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.

Features

AI

  • Auto-edit

    Suggests code changes by analyzing cursor movements and typing, proposing contextual modifications based on cursor position and recent edits after an initial character change.

  • Chat

    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 @.

  • Code Completions

    Provides AI-generated code completions to help developers write code faster.

  • Debug Code

    Identifies and fixes errors in code, using debugging and autocomplete suggestions to accelerate the debugging process.

Core

  • Advanced Context via Search API

    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.

  • Cody CLI

    Enables running Cody from the command line.

  • Cody for Web

    Provides access to Cody directly within the Sourcegraph web app.

Customization

  • Customizable Prompts

    Automates key workflow tasks with premade and customizable prompts that can be built, saved, and shared with a team.

Integration

  • Code Host Integrations

    Connects with code hosts like GitHub and GitLab to provide contextual awareness of repositories.

  • Code Search Integration

    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.

  • IDE Integrations

    Connects with VS Code, JetBrains, and Visual Studio through dedicated extensions so developers can use Cody within their preferred IDE.

Security

  • Context Filters

    Allows selected repositories to be excluded from chat and autocomplete results to control and manage what context Cody uses.

Preview

Cody by Sourcegraph desktop previewCody by Sourcegraph mobile preview

Pricing Plans

Popular

Enterprise

Contact sales

Built for enterprise scale; starting at $16K, includes credits for AI features and scales with team size. Contact sales for pricing.

  • Search and navigation across entire codebase
  • AI-powered Deep Search
  • Batch Changes, Insights, and Monitoring
  • Full MCP Server, API, and CLI access
  • Single-tenant cloud with enterprise-grade security and admin controls
  • 24x5 support with upgrade options and volume pricing

AI Panel Reviews

The Decision Maker

The Decision Maker

Strategic bet, vendor viability, timing, adoption approval
7.8/10

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.

Competitive Positioning7.5

Differentiated context depth vs Cursor and Copilot; weaker on raw distribution and editor mindshare.

Reputation Risk8.0

Sourcegraph parent brand has bank and government references — board-defensible.

Speed to Value7.5

Codebase indexing for context takes time on large monorepos before Cody value shows up.

Strategic Fit7.5

Strong fit for monorepo and regulated-enterprise codebases; weaker fit for greenfield or solo developers.

Vendor Viability8.5

Sourcegraph at 13 years and Series D funding is the strongest viability signal among AI coding tools.

Pros

  • Sourcegraph parent at 13 years removes the early-vendor concern AI coding tools usually carry
  • Codebase indexing leverages Sourcegraph's mature engine — deeper context than Cursor or Copilot
  • Existing Sourcegraph enterprise customers get Cody as a natural product extension

Cons

  • GitHub Copilot's distribution dominance is the existential competitive threat
  • Initial codebase indexing on large monorepos takes hours before Cody context becomes useful
  • Cody value depends on Sourcegraph install — solo developers without parent product get less leverage

Right for

Engineering orgs already running Sourcegraph or with regulated codebases where deep enterprise context matters.

Avoid if

Your team is on GitHub.com without compliance constraints and Copilot already covers the workflow.

The Domain Strategist

The Domain Strategist

Craft and strategy in the product's domain — adapts identity per category, same lens
7.8/10

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.

Category Positioning7.5

Differentiated vs Cursor on context depth; behind Copilot on distribution mindshare.

Domain Fit8.0

Maps to how senior engineers actually work in monorepos — code-search-plus-AI, not editor-only completion.

Integration Surface8.0

VS Code, JetBrains, web UI, CLI — covers all the surfaces engineers actually use.

Long-term Implications7.5

Self-hosting with your own model endpoints helps regulated industries over a 3-year horizon; by default the LLM calls still leave the network.

Strategic Depth8.5

Inherits 13 years of Sourcegraph indexer engineering — depth most AI coding tools cannot replicate.

Pros

  • Sourcegraph's 13-year code-graph indexer is real architectural depth most AI coding tools borrow shallowly
  • Self-hosted Sourcegraph plus Cody, with your own model keys or self-hosted models, suits regulated teams
  • VS Code, JetBrains, web UI, and CLI cover every surface engineers actually use

Cons

  • Cody's value compounds with Sourcegraph install — buying just Cody gets you less than the full platform
  • Initial codebase indexing on large monorepos requires hours before AI context is useful
  • Cursor's editor-first architecture wins where speed of iteration matters more than codebase context

Right for

Engineering orgs with regulated codebases where AI context-depth and self-hosting matter.

Avoid if

Your team prioritizes editor-first AI workflows and Sourcegraph's parent context isn't a strategic asset.

The Finance Lead

The Finance Lead

Money, total cost of ownership, contracts, procurement math
6.8/10

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.

Billing & Procurement6.0

Every purchase is an annual contract through sales — no card checkout at any size.

Contract Flexibility5.5

Minimum annual contract, no monthly option — the floor commits you for a year.

Pricing Transparency6.0

One published number — a $16K annual floor — and no per-seat rate; everything past that needs a sales call.

ROI Clarity7.5

Engineer productivity gain measurable; harder to attribute when bundled with parent code search platform.

Total Cost of Ownership6.5

A $16K floor before the AI credits math; self-hosted infrastructure adds 10-20% for the indexing layer.

Pros

  • Sourcegraph publishes a $16K starting number and the annual term, rare for a sales-led plan
  • Existing Sourcegraph customers get Cody as a natural product addition with bundled procurement
  • Credits for AI features are included in the Enterprise price, not billed as a separate line

Cons

  • Self-hosted infrastructure cost (indexing layer) adds 10-20% on top of license sticker
  • Enterprise pricing requires sales conversation and bundle modeling with Sourcegraph parent
  • Standalone Cody (without Sourcegraph parent) is harder to justify than the bundled story

Right for

Engineering orgs already running Sourcegraph or willing to bundle code search with AI coding for finance leverage.

Avoid if

You want a single-product AI coding tool with simple SaaS pricing and no parent-platform dependency.

The Domain Practitioner

The Domain Practitioner

Daily hands-on reality in the product's domain — adapts identity per category, same lens
7.5/10

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.

Day-3 Reality8.0

Codebase-aware completions land immediately on indexed repos; the AI feels grounded, not guessing.

Documentation Practitioner-Fit7.5

Real code examples in the docs; Sourcegraph parent docs are deeper than Cody-specific.

Friction Surface7.0

Indexing latency on large monorepos is real; subsequent incremental updates are fast.

Power-User Depth8.0

Custom shareable Prompts and code-graph queries scale for advanced engineering teams.

Workflow Integration8.0

VS Code and JetBrains plugins work without proprietary editor lock-in.

Pros

  • Codebase-aware completions cite file:line references — grounded, not hallucinated
  • VS Code and JetBrains plugins both work without forcing editor migration like Cursor
  • Custom, shareable Prompts from the Prompt Library give power users a codebase-specific workflow surface

Cons

  • Initial indexing on large monorepos takes hours before Cody value materializes
  • Single-app developers feel less leverage than monorepo or multi-repo teams
  • Sourcegraph parent docs are deeper than Cody-specific docs — sometimes you need both open

Right for

Engineers in monorepo or multi-service codebases where cross-repository AI context matters daily.

Avoid if

Your team works in single-app focused codebases where Cursor's editor-first speed wins.

The Power User

The Power User

Daily human experience, onboarding, polish, learning curve, reliability
7.0/10

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.

Daily Polish7.5

VS Code plugin and chat panel are clean; not noticeably more polished than Cursor or Copilot.

Learning Curve7.0

First hour is slow due to indexing; week three is when the codebase-aware advantage compounds.

Mobile Parity6.5

Mobile is not a developer tool surface — neutral category-wide.

Onboarding Experience6.5

First 48 hours are slow because of indexing latency; less welcoming than Copilot's instant-on shape.

Reliability Feel8.0

Once indexed, completions are consistent and citations are accurate — trust grows over weeks.

Pros

  • Codebase-aware AI grounds answers in real file:line references
  • The chat panel works without ceremony — no setup ritual before your first question
  • The VS Code plugin is an ordinary plugin in the good way — nothing new to learn

Cons

  • Initial indexing latency makes first-48-hour experience feel slower than Copilot
  • No free tier and no card checkout — the only way in is a $16K annual enterprise contract
  • Side projects with small codebases feel less leverage than the marketing implies

Right for

Engineers working on real-world large codebases who can wait hours for initial indexing in exchange for grounded AI context.

Avoid if

You want immediate AI completion on the first day without waiting for an indexing job to finish.

The Skeptic

The Skeptic

Contrarian. Watch-outs, deal-breakers, broken promises, category patterns
7.2/10

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.

Competitive Differentiation7.0

Codebase context is real but Copilot can replicate; Sourcegraph parent moat is the durable differentiation.

Exit Portability7.5

VS Code and JetBrains integrations are standard plugins; switching out is a plugin uninstall.

Long-term Viability7.0

Parent durability is strong; AI coding category consolidation pressure is real.

Marketing Honesty8.0

Codebase-context claims hold up; Sourcegraph parent narrative is direct and unforced.

Track Record Match8.0

13 years of Sourcegraph operation puts the parent past most survival concerns.

Pros

  • Sourcegraph parent at 13 years is the strongest viability anchor in AI coding
  • Self-hosting with your own model keys or self-hosted models gives regulated teams a real compliance lever
  • Sourcegraph parent moat is durable competitive differentiation if the AI coding category consolidates

Cons

  • Cody shipped in 2023 — the thirteen-year track record belongs to the parent, not this product
  • Standalone Cody (without Sourcegraph) has a harder positioning story
  • AI coding category has 8+ active competitors and consolidation will eliminate most of them

Right for

Engineering orgs already running Sourcegraph or with regulated codebases where the parent platform moat matters.

Avoid if

You want the category-leader pick today and Copilot's distribution dominance is decisive.

Buyer Questions

Common questions answered by our AI research team

Pricing

How much does the Cody Enterprise plan cost?

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.

Integration

Which IDEs does Cody support?

Cody is supported on VS Code, JetBrains, and Visual Studio (experimental), plus a Web app and a CLI for command-line use.

Security

Does Cody use my code to train its models?

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.

Features

Can Cody exclude certain repositories from context?

Yes. Context Filters let Cody ignore selected repositories from chat and autocomplete results, giving you control over what context your codebase uses.

Setup

How do I start using Cody in VS Code?

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.

Alternatives to Cody by Sourcegraph

Who Cody by Sourcegraph competes with, and how each one differs

Product Information

  • Founded

    2013
  • Pricing

    Contact for pricing
  • Free Plan

    Available

Platforms

webmacwindowslinux

About Sourcegraph

Sourcegraph is a San Francisco-based code intelligence company whose Cody AI coding assistant and code search are used by enterprise engineering teams.

Resources

Documentation
API
Blog
Changelog

Also in AI Coding Tools