Sourcegraph Cody is an enterprise AI coding assistant built by Sourcegraph that combines large language models with Sourcegraph's code-search engine so it can answer questions, write code, and fix bugs using context pulled from an organization's actual codebase rather than a single open file. Sourcegraph was founded in 2013 by Quinn Slack and Beyang Liu and is headquartered in San Francisco; Cody was introduced in 2023 and reached general availability on December 14, 2023.
What it does
Cody's core capability is chat: developers can chat directly with the AI to ask questions about their code, generate code, and edit code, with the assistant drawing on repository- and file-level context through Sourcegraph's Search API rather than relying only on what's open in the editor. This lets Cody pull in context about APIs, symbols, and usage patterns from across an entire codebase — useful in large, multi-repository or monorepo environments where a typical single-file copilot loses context. Beyond chat, Cody provides inline code completions, code edits, customizable prompts, and is optimized to identify and fix errors for debugging support. Administrators can scope what the assistant sees by excluding selected repositories from chat and autocomplete results. Cody is available as an extension for VS Code, JetBrains IDEs, and Visual Studio, as a web app, and via a command-line interface, and it integrates with major code hosts including GitHub and GitLab.
Pricing and availability
Cody's product tier has changed significantly since launch: it originally shipped with a free tier, a Pro tier around $9/user/month, and an Enterprise tier. As of mid-2025, Sourcegraph discontinued the free and Pro individual plans and repositioned Cody as an enterprise-only product, directing individual users toward a separate Sourcegraph product called Amp. Today, Sourcegraph's public pricing page lists a single Enterprise plan starting at $16,000, scaling with team size, and built around an AI-feature credit system with org-wide credit pooling, no monthly credit expiry, and rollover on renewal; volume credit add-ons are available. The Enterprise plan also includes code search and navigation, Batch Changes, Insights, Monitoring, full MCP server/API/CLI access, single-tenant cloud deployment, and 24×5 support with upgrade options.
Who it's for
Cody is aimed squarely at engineering organizations rather than individual hobbyist developers — particularly teams working in large, complex, or multi-repository codebases who need an assistant that understands cross-repository context, not just the currently open file. Enterprise buyers get self-hosted deployment options, zero data retention, and contractual guarantees that customer code is not used to train models, which positions Cody as a security- and compliance-conscious alternative to consumer-facing copilots for regulated or security-sensitive engineering teams.