Skip to main content
Cody logo

Cody

Sourcegraph's AI coding assistant with deep, whole-codebase context.

coding#write-code
Free plan API Self-hosted Teams Browser extension
Toolglade’s take

Best where codebase context matters most — Sourcegraph's search heritage gives Cody an edge on large, sprawling repositories.

Cody screenshot

About Cody

Cody is Sourcegraph's AI coding assistant that uses deep codebase context — powered by Sourcegraph's code search — to give more accurate completions, chat, and edits across large repositories.

Cody is the AI coding assistant from Sourcegraph, a company built on code search. That heritage is Cody's edge: it pulls deep, whole-codebase context so its completions, chat answers, and edits are grounded in how your actual code works — valuable in large, sprawling repositories where generic assistants lose the thread. It works across major IDEs, supports multiple underlying models, and offers a free tier plus paid plans with enterprise controls. For teams working in big monorepos or complex codebases, Cody's context handling is its main draw.

TL;DR

Cody is an AI coding assistant developed by Sourcegraph that provides code completion, chat, and automated edits with deep awareness of an entire codebase. It leverages Sourcegraph's code search and indexing to supply large-repository context to leading large language models. As of mid-2025, Sourcegraph discontinued the free and Pro consumer tiers and repositioned Cody as an enterprise-only product. It is best suited to large engineering organizations that want AI coding features integrated with their existing code intelligence stack.

Company overview

Sourcegraph was founded in 2013 by Quinn Slack and Beyang Liu, and built its reputation on universal code search across large, multi-repository codebases. The company is headquartered in San Francisco and serves large enterprise engineering teams.

Cody was introduced as Sourcegraph's AI coding assistant, extending the company's code intelligence platform with AI-powered chat, completions, and automated edits. In 2025 Sourcegraph consolidated Cody into its Enterprise offering, discontinuing standalone Free and Pro plans.

Product features

Cody provides AI chat, autocomplete, inline edits, and automated fixes, using deep codebase indexing and multi-repository context so responses reflect an organization's actual code. Administrators can select from multiple underlying models, including Anthropic Claude and OpenAI and Google models.

Enterprise capabilities include unlimited code search, SSO/SCIM, SOC 2 Type II compliance, guarantees that customer code is not used for training, and options for self-hosting or air-gapped BYO-cloud deployment. Cody integrates into IDEs such as VS Code and JetBrains.

Target market

Cody targets large engineering organizations and enterprises, particularly those already using Sourcegraph for code search, that need AI coding assistance with broad codebase context, security controls, and compliance guarantees.

Buyer personas

End users

Software developers and engineers working in large, multi-repository codebases.

Buyers

Engineering leadership, VPs of engineering, and platform/developer-productivity teams.

Key influencers

Staff and senior engineers, security and compliance teams, and DevEx advocates.

Ideal customer profile

Large enterprise engineering organizations already using or evaluating Sourcegraph that need AI coding assistance with full-codebase context and enterprise security controls.

Funding & performance

Cody is a product of Sourcegraph, which has raised substantial venture funding. Sourcegraph raised a $125 million Series D in 2021 led by Andreessen Horowitz at a reported $2.625 billion valuation, following a $50 million Series C in 2020. Earlier investors include Sequoia Capital, Craft Ventures, and Redpoint Ventures. Total funding raised is reported at over $220 million.

Pros & cons

Pros

  • Deep, whole-codebase context from Sourcegraph search
  • Strong in large, complex repositories
  • Multiple model options and enterprise controls

Cons

  • Context advantage matters less on small projects
  • Setup shines most with Sourcegraph in place
  • Free tier has usage limits

Pricing plans

Enterprise
$59 / month
  • Per-user monthly price on annual contract
  • AI chat, autocomplete, and inline edits
  • Deep codebase indexing and multi-repo context
  • Admin choice of underlying LLMs
  • SSO/SCIM and SOC 2 Type II compliance
  • Self-hosted and air-gapped deployment options
Enterprise (platform)
Custom
  • Full Sourcegraph platform with included AI credits
  • Unlimited code search across repositories
  • On-premise and BYO-cloud deployment
  • Priority support and dedicated account management
  • Guarantee that customer code is not used for training

Key features

API
Browser extension
Team collaboration
Self-hosted
Multi-language
Integrations
VS Code, JetBrains IDEs, Sourcegraph, GitHub, GitLab, Bitbucket
Input types
text, code
Output types
text, code
Best For
Enterprise AI coding assistance, Large codebase context, Codebase-wide search and chat

Compare key features

View all alternatives →
Feature
Cody
GitHub Copilot
Replit AI
Pricing
Freemium
Freemium
Freemium
Free plan
Yes
Yes
Yes
Free trial
No
No
No
API
Yes
No
No
Self-hosted
Yes
No
No
Team support
Yes
Yes
Yes

Frequently asked questions

Is Cody free?+

Yes, Cody has a free tier; paid plans (from about $9/month) add higher limits and enterprise features.

What makes Cody different?+

Its deep, whole-codebase context, drawn from Sourcegraph's code-search technology.

Which IDEs does Cody support?+

Major editors including VS Code and the JetBrains family.

Reviews (0)

Write a review

Pick a rating
Loading reviews…
Compare

Compare Cody with other AI tools

Side-by-side pages for pricing, features, and best-fit use cases.

All comparisons →

People also compare

Similar tools you may like