Cody is Sourcegraph's AI coding assistant that uses the Sourcegraph code graph for repo-wide context, ships across VS Code/JetBrains/CLI, and is priced from $0 Free to $16/user/month Pro and Enterprise custom.
Cody is Sourcegraph's AI coding assistant that uses the Sourcegraph code graph for repo-wide context, ships across VS Code/JetBrains/CLI, and is priced from $0 Free to $16/user/month Pro and Enterprise custom.
Cody is the AI coding assistant from Sourcegraph, the company that has indexed and search-graphed source code at enterprise scale for over a decade. The differentiator is the Sourcegraph code graph — a structural, symbol-aware index of your private repositories that Cody pulls into context when answering questions, generating code, or writing tests. That means Cody can answer 'where is this function used' or 'how does authentication work in our monorepo' with grounded, cite-able references instead of the plausible-sounding hallucinations that smaller-context tools like base <a href="/tools/github-copilot">GitHub Copilot</a> or <a href="/tools/codeium">Codeium</a> tend to produce on unfamiliar codebases. Cody runs as a VS Code, JetBrains, Visual Studio, Eclipse, and CLI extension, supports a rotating roster of frontier models (Claude, GPT-4o-class, Gemini), and offers an Agentic Chat mode plus deep-context completions, prompt library, and BYOK (bring your own LLM key) on Enterprise. Pricing on the Sourcegraph page is Free at $0/user/month with limited credits, Pro at $16/user/month with a generous credit pool that resets monthly, and Enterprise Starter / Enterprise on contact-sales for SSO, audit logs, code-graph indexing of unlimited private repos, BYOK, and the broader Sourcegraph platform (Code Search, Batch Changes, Code Insights).
Was this helpful?
Cody by Sourcegraph stands out as the AI coding assistant with the deepest codebase context awareness, leveraging Sourcegraph's code intelligence platform to understand entire codebases across repositories. While enterprise features require significant setup, the depth of context and multi-LLM flexibility make it a strong choice for large development organizations.
Unlike tools that only see your open file, Cody uses Sourcegraph's code intelligence platform to index and search across all your repositories, providing AI suggestions informed by your entire codebase's patterns, APIs, and conventions.
Choose from multiple frontier AI models including Claude (Anthropic), GPT-4o (OpenAI), Gemini (Google), and others. Enterprise customers can bring their own API keys for maximum flexibility and cost control.
Proactively suggests contextual code modifications by analyzing cursor movements and editing patterns, going beyond traditional autocomplete to anticipate multi-line changes.
Native extensions for VS Code, JetBrains IDEs (IntelliJ, WebStorm, GoLand, PyCharm, etc.), Visual Studio, and Neovim provide a consistent AI coding experience across development environments.
Create, save, and share reusable prompts that automate team-specific tasks — from test generation templates to code review checklists — enabling standardized AI-assisted development practices.
Enterprise-grade attribution checking identifies when generated code closely matches known open-source code, flagging potential licensing issues before code is committed to your repositories.
Sourcegraph's Amp extends Cody's intelligence into an autonomous coding agent that enables multi-step task execution with parallel subagents and team thread sharing for collaborative agentic workflows.
Administrators can exclude specific repositories from AI interactions, enforce data residency policies, and configure permission-aware context to ensure AI suggestions respect your organization's access controls.
$0/user/month
$16/user/month
Custom (contact sales)
Custom (contact sales)
Ready to get started with Cody by Sourcegraph?
View Pricing Options →We believe in transparent reviews. Here's what Cody by Sourcegraph doesn't handle well:
Weekly insights on the latest AI tools, features, and trends delivered to your inbox.
Cody continues to lean into agentic coding workflows and deeper Sourcegraph platform integration. Amp, the agentic coding product built on Cody's context engine, has expanded its capabilities for autonomous task execution. Enhanced model flexibility allows teams to choose from the latest Claude, GPT-4o, and Gemini models.
Coding Agents
GitHub's AI development environment that transforms issue descriptions into complete features with planning, coding, testing, and pull request generation.
AI Coding
Devin is an autonomous AI software engineer from Cognition that plans, writes, and ships code from a single prompt, running long-horizon engineering work in a cloud sandbox.
Deployment & Hosting
Privacy-focused AI code completion that runs locally or in your cloud — delivering intelligent suggestions across 30+ languages without exposing source code to external servers, built for regulated industries and security-conscious dev teams.
No reviews yet. Be the first to share your experience!
Get started with Cody by Sourcegraph and see if it's the right fit for your needs.
Get Started →Take our 60-second quiz to get personalized tool recommendations
Find Your Perfect AI Stack →Explore 20 ready-to-deploy AI agent templates for sales, support, dev, research, and operations.
Browse Agent Templates →