Sourcegraph Cody Review

Bring enterprise code search and multi-repository context into AI-assisted development.

Independently researched by AI Toolbox Team · Reviewed 2026-07-15
THE SHORT VERSION

What Sourcegraph Cody does

Sourcegraph Cody is an enterprise coding assistant that uses Sourcegraph Search and code intelligence to answer questions, complete code, and generate changes with organization-wide context.

Sourcegraph Cody is no longer positioned as a self-serve assistant for individual developers. Cody Free and Pro ended in July 2025, leaving Cody Enterprise as the supported route. That focus clarifies its strongest use case: an organization already indexing a large, interconnected code estate in Sourcegraph can give developers AI assistance grounded in repositories, symbols, search results, and internal conventions that a local-only assistant may not see.

The experience spans chat, code completion, contextual mentions, prompts, and agentic context fetching, but capabilities differ across VS Code, JetBrains, Visual Studio, the web interface, and CLI. Sourcegraph Search replaces embeddings for Enterprise retrieval and can scale context across repositories while respecting configured repository permissions. Administrators can control access, model selection, token expiry, pre-instructions, repository filters, and adoption analytics, making rollout a platform-governance project rather than a simple extension install.

Sourcegraph says Enterprise customer data is not used for training and documents zero-retention arrangements for its default model route. Those assurances depend on the configured provider and official clients; a bring-your-own model requires separate terms. Cody can still generate insecure, incorrect, or license-sensitive code, and its deprecated Guardrails feature has explicit matching limitations. Teams should pilot representative repositories, verify permissions and data paths, and require tests and diff review before judging productivity.

UNDER THE HOOD

How Sourcegraph Cody works

Cody retrieves permission-aware code context through Sourcegraph Search, combines it with the developer's request and selected files, then sends the assembled prompt to an approved language model. The response returns as chat, autocomplete, or an edit for human review in a supported client.

01 · INDEX

Build a permission-aware code map

Sourcegraph indexes selected repositories, symbols, branches, and relationships while preserving configured code-host permissions. Repository filters and enterprise settings determine which parts of the code estate may become context for each user.

02 · RETRIEVE

Find evidence for the request

When a developer asks a question or invokes a prompt, Cody uses Sourcegraph Search plus explicit file, symbol, repository, directory, or URL mentions to retrieve relevant context. Client support and context controls vary, so users should inspect the files Cody actually selected.

03 · GENERATE

Route context to an approved model

Cody assembles the instruction and retrieved snippets, then sends them through the configured Sourcegraph model provider or BYOK route. The model returns chat, completion, or edit suggestions, but provider choice changes retention, security, capability, and contractual terms.

04 · GOVERN

Review code and measure outcomes

Developers inspect the proposed diff and run normal tests, security scans, and license review before acceptance. Administrators monitor adoption and permission behavior, tune pre-instructions and model access, and treat deprecated Guardrails as a limited signal rather than a safety guarantee.

YOUR INPUTSOURCEGRAPH CODYREVIEWED OUTPUT
QUICK START

How to set up Sourcegraph Cody

1

Confirm the enterprise architecture

Ask Sourcegraph for a current quote and map whether the instance, code hosts, model gateway, and optional BYOK provider will be cloud-managed or self-hosted.

2

Index permissioned repositories

Connect approved code hosts, synchronize repository permissions, and test that users cannot retrieve context from repositories they cannot access.

3

Choose models and data controls

Configure supported chat and completion models, retention terms, access-token expiry, repository filters, and any pre-instructions before enabling clients.

4

Install one supported client

Pilot the current Cody extension in VS Code, JetBrains, or Visual Studio with a small group and verify the exact feature matrix for that client.

5

Measure reviewed outcomes

Track acceptance, defects, latency, and time saved, but require developers to inspect diffs, run normal checks, and report permission or context failures.

COMMON QUESTIONS

Sourcegraph Cody FAQs

Is Sourcegraph Cody free?

No for new users. Sourcegraph retired Cody Free and Cody Pro on July 23, 2025; Cody Enterprise remains available through a sales-led plan.

Which editors support Cody?

Cody supports VS Code, JetBrains IDEs, Visual Studio, Sourcegraph's web interface, and a CLI, but chat, autocomplete, editing, and context features vary by client.

Does Sourcegraph train on enterprise code?

Sourcegraph says it does not train on Enterprise customer data. Data handling also depends on the configured language-model provider, deployment, and client, so buyers should verify the complete route contractually.

Can Cody understand multiple repositories?

Yes. Multi-repository context is a central Enterprise capability, using Sourcegraph Search and repository permissions to retrieve relevant code across an indexed estate.

Does Cody guarantee license-safe code?

No. Its deprecated Guardrails feature has coverage and exact-match limitations. Teams must still review provenance, licenses, security, and every proposed change.

Listing reviewed 2026-07-15. Product details and pricing can change; verify important terms on the provider's website.

KEEP RESEARCHING

Related Coding AI tools

Related AI guides

COMMUNITY NOTES

Reviews

Be the first to share a detailed review.

Tell the community what you made, what worked, and what you wish you knew before starting.