Beta
AgentsReading · ~3 min · 45 words deep

Cody

Cody is Sourcegraph's enterprise AI coding assistant · leverages their code-graph index for deep repo-wide context.

Cody on agents list
TL;DR

Cody is Sourcegraph's enterprise AI coding assistant · leverages their code-graph index for deep repo-wide context.

Level 1

Cody launched 2023 from Sourcegraph. Features: chat, inline completions, code-search-driven context, and commands like /doc and /test. Differentiator: Sourcegraph's existing code-graph index means Cody sees cross-repo symbols, usage sites, and definitions far better than grep-based context. Used by enterprises with massive monorepos.

Level 2

Cody's context engine combines Sourcegraph Code Search, embeddings, and graph traversal. When asked "how is this function used?" Cody can answer with actual call sites, not hallucinations. Model-pluggable · Claude, GPT, Mixtral, StarCoder. Enterprise deployment supports on-prem with BYO-API-key or BYO-model. SOC2 + HIPAA certified.

Level 3

Sourcegraph's "code-graph" advantage matters most on monorepos >1M LOC where embedding-only search degrades. Cody uses a hybrid retrieval: graph lookups for structural queries + embeddings for semantic queries. The Cody Gateway is a commercial proxy that centralizes billing and policy. Sourcegraph pivoted hard to Cody post-2023 · the original code search product became a Cody context engine.

The takeaway for you
If you are a
Researcher
  • ·Graph-aware code context · cross-repo symbol lookup
  • ·Hybrid retrieval: graph + embeddings
  • ·Pluggable model · Claude, GPT, Mixtral, StarCoder
If you are a
Builder
  • ·Enterprise tier · SOC2 + HIPAA + on-prem options
  • ·Strong for huge monorepos where grep-based context fails
  • ·Less community traction than Cursor or Cline
If you are a
Investor
  • ·Sourcegraph valued ~$2.6B at Series D · strategy pivoted to AI
  • ·Graph moat is real · hardest for Copilot to replicate on massive monorepos
  • ·Enterprise revenue concentration · few large customers
If you are a
Curious · Normie
  • ·An AI coding assistant from Sourcegraph
  • ·Good at understanding huge codebases
  • ·Used by big tech companies with massive repos
Gecko's take

Cody wins where monorepos break everything else · the enterprise moat is real but the product is niche.

Cody has better repo-wide context via Sourcegraph's code graph. Copilot has broader IDE integration and bigger user base.