
Sourcegraph Cody
Code-search and AI assistant by Sourcegraph — semantic search across enterprise codebases plus inline coding help.
Sourcegraph Cody is a code-search and AI assistant by Sourcegraph — semantic search across enterprise codebases plus inline coding help. Indexes very large monorepos for semantic, regex, and structural search.
About Sourcegraph Cody
Sourcegraph Cody is a code-search and AI assistant from Sourcegraph — semantic search across large codebases paired with inline coding help.
Its differentiator is search-grounded answers: it indexes very large monorepos for semantic, regex, and structural search and feeds that context to the model, which cuts hallucinations on internal APIs. A self-hosted Enterprise option keeps source on your own infrastructure.
It fits enterprises with big codebases that want AI grounded in their own code and control over where it runs. Caveats: self-hosted setup and indexing are non-trivial, and pricing moves from per-seat to an enterprise contract at scale.
It's the code-search-first assistant, where Copilot and Cursor lead with completion and editing.
Sources: sourcegraph.com/cody, this listing
What it does well
- Indexes very large monorepos for semantic, regex, and structural search.
- Self-hosted Enterprise option keeps source code on customer infrastructure.
- Combines code-search context with LLM answers, reducing hallucinations on internal APIs.
Where it falls short
- Setup and indexing for self-hosted deployment is non-trivial.
- Pricing shifts from per-seat to enterprise contract at scale.
Tagged
- Self-hostable
- Supports Claude
- Supports GPT
- VS Code Extension
- JetBrains Plugin
- Enterprise Plan
- Freemium
Compared with similar things
Picked by shared tags inside the AI Coding Agents.
- 01Freemium →GitHub Copilot
GitHub's AI pair programmer with chat, inline completions, and agent mode across major IDEs.
- 02Freemium →JetBrains AI Assistant
JetBrains' first-party AI assistant for IntelliJ, PyCharm, WebStorm, and the rest of the IDE family.
- 03Freemium →Tabnine
Enterprise AI code completion with private models, zero data retention, and on-prem deployment options.
- 04Freemium →Codeium
Free AI code completion and chat across 70+ IDEs, with enterprise self-hosting available.
- 05Freemium →Codex
OpenAI's coding agent — works in the terminal, IDE, and cloud, reviews GitHub pull requests, and runs on GPT-5 models.
- 06Freemium →OpenRouter
Unified API gateway for 200+ LLMs across providers with usage-based billing on a single account.
Related reading
- What Is an AI Agent Harness? The Runtime That Turns an LLM Into an Agent
A harness is the runtime wrapper that turns a bare language model into an agent — the layer that runs tools, holds memory, assembles context, and enforces limits. The model does the reasoning; the harness does everything the model can't do on its own. It's the part that decides whether you shipped a chatbot or a real agent — and it's why the same model feels brilliant in one tool and useless in another.
Read guide → - Claude Code Memory
Claude Code has built-in memory — a CLAUDE.md file it reads each session — but it only holds short, hand-written notes. To make it understand a large codebase or docs set, you add a second brain: turn the repo into a knowledge graph, fold that into an Obsidian vault, and let the agent query the map instead of re-reading every file.
Read guide → - How to Do Your Own SEO with Claude Code
Claude Code can do most of your SEO — build a crawlable static site, write and optimize pages, fix the technical layer, even bottle the whole workflow into a reusable skill. What it can't do is invent authority or pick keywords, and if you let it generate 10,000 pages you'll get de-indexed, not ranked. Here's the honest, hands-on version for a maker whose site shipped last week.
Read guide →
Concepts you should know
- Embedding
A fixed-length vector of floating-point numbers that represents the semantic meaning of a piece of text, image, or other input. Used for similarity search, clustering, and retrieval. Common embedding models output 768 to 3072 dimensions.
- RAG
Retrieval-Augmented Generation — a pattern where the application retrieves relevant text chunks from a knowledge base (vector DB, search index) and includes them in the LLM prompt at query time, so the model answers from grounded sources instead of pure memorisation.
Featured on Vibedonalds
Own Sourcegraph Cody? Add this badge to your site to show you’re listed — and link back to your profile here.
<a href="https://vibedonalds.com/tools/sourcegraph-cody" target="_blank" rel="noopener">
<img src="https://vibedonalds.com/badge/featured-on-vibedonalds.svg" alt="Sourcegraph Cody — Featured on Vibedonalds" width="240" height="60" loading="lazy" />
</a>Frequently asked questions
- What is Sourcegraph Cody?
- Sourcegraph Cody is a code-search and AI assistant by Sourcegraph — semantic search across enterprise codebases plus inline coding help.
- Is Sourcegraph Cody free?
- Sourcegraph Cody offers a free tier and paid plans with higher limits or premium features.
- What platforms does Sourcegraph Cody support?
- Sourcegraph Cody runs on vscode-ext, jetbrains-plugin, web.
- What category does Sourcegraph Cody belong to?
- Sourcegraph Cody is in the AI Coding Agents category — Autonomous agents that write, edit, run, and review code. Includes CLI agents, agentic IDE add-ons, and code-review bots.
- What are the downsides of Sourcegraph Cody?
- Setup and indexing for self-hosted deployment is non-trivial. Pricing shifts from per-seat to enterprise contract at scale.