Sourcegraph
Also known as: Cody, SCIP
Code intelligence platform whose code graph indexes entire organizations for exhaustive search, Deep Search answers with citations, and Batch Changes across many repositories, now positioned as the MCP context layer that makes third-party coding agents reliable.
Sourcegraph is a code intelligence platform built to help both engineers and AI agents understand, oversee, and safely change very large, complex codebases. Founded in 2013, it is used by major engineering organizations and is best known for its code search: the ability to search across every repository, branch, and code host with exact, exhaustive results, powered by a code graph that maps the relationships between symbols, references, and definitions throughout a codebase.
That code graph anchors a wider set of capabilities. Deep Search lets a developer ask a complex question in natural language and get a grounded answer with citations from an agent that explores the repositories on its own. Batch Changes rolls out the same fix, refactor, or migration across many repositories at once with control at scale. And tools for code insights, monitoring, and living documentation track how a codebase evolves over time and flag risky changes as they happen.
In the agentic era, Sourcegraph has positioned its code graph as the context layer that makes AI coding agents reliable. Because an agent working on one task usually sees only fragments of an enterprise codebase, it can miss changes or introduce inconsistencies; Sourcegraph indexes all of an organization's repositories and, through an MCP server, feeds agents complete, precise context so they produce better results with fewer retries and lower inference cost.
Sourcegraph also ships its own AI coding tools. Cody is its assistant for writing, fixing, and understanding code inside IDEs, drawing on full-codebase context and letting developers choose among frontier models from Anthropic, OpenAI, and Google; as of 2025 Cody is focused on enterprises. Agentic Batch Changes, now generally available, takes a plain language change, scopes it across the indexed codebase, and routes each repository to a deterministic script or a delegated coding agent, tracking every pull request through to merge. Amp, the agentic coding tool that began at Sourcegraph, is now a separate company.
Built for the largest monorepo and multi-repository architectures, Sourcegraph supports cloud, self-hosted, and air-gapped deployments, keeps LLM inference data out of retention, and meets enterprise requirements with SOC 2 and ISO 27001 compliance, single sign-on, and role-based access. Its throughline is giving humans and agents complete, trustworthy context at the scale of Big Code.
Vendor details
Canonical URL
https://sourcegraph.com/
Category
Agent infrastructure
Funding status
Independent. Founded 2013 by Quinn Slack and Beyang Liu. Raised over $200M, most recently a $125M Series D led by Andreessen Horowitz in July 2021 at a $2.625B valuation, with Craft, Redpoint, Sequoia and Goldcrest also on the board. In December 2025 the company split in two: Dan Adler became CEO of Sourcegraph, focused entirely on code search and code understanding, while Slack and Liu founded Amp Inc. as a separate company for frontier coding agents, remaining on Sourcegraph's board.
Company status
independent
Use cases & customers
Target customers
Deployment options
Integrations
An MCP server exposes the code graph so any compatible third-party agent can request precise repository context, which is how Sourcegraph now positions itself in the agentic stack. Cody Enterprise integrates with VS Code, JetBrains, Visual Studio and a CLI, retrieving context from up to ten repositories at once. Code host integrations cover every major platform for indexing, a browser extension adds search and navigation on code host pages, and public APIs drive search and Batch Changes programmatically. Cody supports Anthropic, OpenAI and Google models and customer-chosen endpoints including Azure OpenAI, AWS Bedrock and OpenAI-compatible gateways.
In practice
Your AI agents keep making inconsistent changes because each one only sees a slice of a sprawling enterprise codebase. Sourcegraph indexes every repository and feeds agents complete code-graph context through its MCP server, so their output is reliable.
You need to apply the same security fix across hundreds of repositories without missing any. Sourcegraph's Batch Changes rolls the change out everywhere at once, with control to review and track it at scale.
A new engineer needs to understand how a function is used across the whole system. Sourcegraph's code search and Deep Search return exact references and a natural-language answer with citations, instead of grepping through hundreds of files.
Sources & related URLs
Related / legacy domains
Agentic Index coverage score
11.0 / 14 capabilities · 79%
| Integrations & Tool Calling | Full |
|---|---|
|
Changesets go out to each code host through Agentic Batch Changes, which runs CI across GitHub, GitLab and Bitbucket and tracks each pull request through to merge, and the platform indexes all major code hosts. The MCP server works the other way, exposing Sourcegraph's own code graph to agents such as Claude Code, Cursor, Codex and Amp. Sourcesourcegraph.com/agentic-batch-changesread 2026-09-29 |
|
| Workflow Orchestration | Full |
|
Agentic Batch Changes, now generally available, runs a coordinator agent that takes a plain-language change, scopes it across the indexed codebase with Deep Search, splits the work by code ownership, routes each repository to a deterministic script or a delegated coding agent in isolated containers running in parallel, publishes changesets, reads CI logs and patches failures until CI is green. Sourcesourcegraph.com/agentic-batch-changesread 2026-09-29 |
|
| Knowledge Grounding & RAG | Full |
|
The code graph indexes every repository, branch and code host across an organization, mapping relationships between symbols, references and definitions for exhaustive exact search at monorepo and multi repository scale; Deep Search runs an agent that explores repositories autonomously and returns grounded answers with citations, Cody Enterprise retrieves relevant code from up to ten repositories simultaneously, and an MCP server feeds that complete indexed context to third party agents. Sourcesourcegraph.com and sourcegraph.com/docsread 2026-08-30 |
|
| Human Oversight & Guardrails | Partial |
|
Agentic Batch Changes lets teams validate a change on a few repositories before rolling it out, pauses for clarification when it needs input, and has the customer approve every changeset before it merges. The merge approval happens on the code host pull request, and no vendor approval step before the agent edits or publishes is described. Sourcesourcegraph.com/agentic-batch-changesread 2026-09-29 |
|
| Security, Identity & Governance | Full |
|
The homepage states SOC 2 Type II and ISO 27001 compliance, and enterprise authentication with SSO (SAML, OpenID Connect, OAuth), SCIM provisioning and lifecycle management, and RBAC; the security page adds configurable SAML, OAuth, HTTP proxy and OpenID Connect authentication and annual third-party penetration tests, with zero retention of LLM inference data. Sourcesourcegraph.comread 2026-09-29 |
|
| Observability & Auditability | Full |
|
The Agentic Batch Changes console records the coordinator's run step by step (scoping, container launch per repository, changeset publication per code host, each CI failure read and patched), with per-repository execution status, per-changeset PR tracking in the web UI and coverage tracking of which repositories have landed; Batch Changes execution keeps executor and pull request sync state. The record is shown in a product walkthrough rather than a reference page, and no retention period or export for run records is published. Sourcesourcegraph.com/agentic-batch-changesread 2026-09-29 |
|
| Memory & State Persistence | Partial |
|
Agentic Batch Changes keeps run state across a migration (which repositories are in scope, which changesets have landed, pull request sync) and follows customizable skills and AGENTS.md set per user, org or globally. The skills are instructions the customer writes and the code graph is a search index, so what persists is run state with no stated scope, lifetime or review. Sourcesourcegraph.com/agentic-batch-changesread 2026-09-29 |
|
| Deployment & Data Residency | Full |
|
Deployment spans Sourcegraph Cloud, customer self hosted instances and fully air gapped environments for the largest monorepo and multi repository architectures, with LLM inference data kept out of retention and Cody supporting cloud hosted or self hosted model endpoints including Azure OpenAI, AWS Bedrock and OpenAI compatible gateways. Sourcesourcegraph.com and sourcegraph.com/docs/admin/deployread 2026-08-30 |
|
| Prebuilt Agents, Templates & Packs | Partial |
|
Batch Changes are defined by reusable declarative specification files that can be templated, versioned and shared for recurring cross repository migrations, with published example specs, and saved searches and code monitors are reusable configuration; there is no catalog of installable prebuilt agents, skills or packs. Sourcesourcegraph.com/docs/batch-changes and sourcegraph.comread 2026-08-30 |
|
| Triggers & Channel Coverage | Full |
|
Code Monitoring alerts agents and teams the moment code changes, and Agentic Batch Changes uses changeset hooks for CI so the agent reacts to CI results and iterates without being prompted; both wake work on an event rather than a user. Other surfaces (web app, IDE extensions, CLI, MCP server) are on demand. Sourcesourcegraph.comread 2026-09-29 |
|
| Model Flexibility & Routing | Full |
|
The Cody supported models reference lists chat and prompt models from Anthropic (Claude Opus and Sonnet 5 line, Haiku 4.5), Google (Gemini 3.x Flash and Pro) and OpenAI (GPT-6), which site admins configure through modelConfiguration and users select per use case, alongside customer chosen endpoints on Azure OpenAI, AWS Bedrock and OpenAI compatible gateways. Cody no longer appears on the pricing page, but its reference is current. Sourcesourcegraph.com/docs/cody/capabilities/supported-modelsread 2026-09-29 |
|
| APIs, SDKs & MCP Extensibility | Full |
|
An MCP server is a shipped product exposing the code graph to third party agents, alongside public APIs driving code search and Batch Changes programmatically, a CLI, IDE extensions for VS Code, JetBrains and Visual Studio, and a browser extension; the SCIP Code Intelligence Protocol is fully open source, though the Sourcegraph and Cody source code moved to private repositories in August 2024 with only a public snapshot remaining. Sourcesourcegraph.com, sourcegraph.com/docs and github.com/sourcegraph/scipread 2026-08-30 |
|
| Testing, Debugging & Optimization | Partial |
|
The vendor's stated value is that complete code graph context makes third party agents produce better results with fewer retries and lower inference cost, and Code Insights track code health metrics over time; Batch Changes previews validate a change set before it is applied. No customer facing harness for testing, evaluating or regression testing agent behavior is documented. Sourcesourcegraph.com and sourcegraph.com/docsread 2026-08-30 |
|
| Browser & Computer Use | Not documented |
|
Sourcegraph operates on indexed repositories through its web application, IDE extensions, CLI and MCP server; a browser extension adds code search and navigation to code host pages but is a UI overlay for the user rather than the agent operating software. No browser control or computer use capability is documented. Sourcesourcegraph.comread 2026-08-30 |
|
The Agentic Index coverage score grades every vendor Full, Partial or Not documented against the same 14 buyer facing capabilities, from public evidence only. Each capability links to how all vendors in the index score on it. How this evidence is graded
Recent platform changes
Agentic Batch Changes now runs its coding steps on a Sourcegraph managed coding agent instead of Codex and Claude Code. The new agent brings MCP and its own Finder, Oracle and Worker subagents, and existing batch specs keep working.
Bears on: Workflow orchestration
View sourceSourcegraph Cloud updated Code Finder to accept the repository as a separate parameter and expanded read_live_changesets so Agentic Batch Changes can inspect live CI checks and branch state before requesting help. The same release adds structured publish credential problems to prepare_batch_spec metadata and enables repository fetch history logs. Deep Search gains safe date functions for analyzing commit activity and time windows.
Bears on: Workflow orchestration
View sourceSourcegraph introduced outcome based pricing for Agentic Batch Changes: customers pay per changeset successfully merged, not for compute or seats.
Bears on: Pricing / packaging
View sourcePricing
Enterprise from $16K a year (minimum annual contract, AI credits included) · Agentic Batch Changes billed per merged changeset
Annual platform contract that scales with team size, with AI-feature credits included per user and pooled org-wide; Agentic Batch Changes charged per merged changeset.
Included quota
Sourcegraph Free: basic code search across public repos + limited private support. Cody Enterprise ($59/user/mo, annual): full platform - code search + AI chat/autocomplete/inline edits, cross-repository context (indexes ALL org repos, 10+ at once), Context Filters, admin-chosen LLM (Claude Sonnet/Opus, GPT-4o, o1, Gemini), single-tenant deployment, no-training guarantee, SOC 2, self-host/BYOC/air-gapped. Enterprise platform adds code insights, batch changes, and advanced security at scale. Amp (separate company since Dec 2025): agentic CLI + VS Code coding with parallel subagents, Oracle/Smart modes, free credits + PAYG.
What is public
Sourcegraph now publishes a single Enterprise plan starting at $16K as a minimum annual contract that includes AI credits and scales with team size, covering code search and navigation, Deep Search, Batch Changes, Insights and Monitoring, the full MCP server, APIs and CLI, single-tenant cloud or self-hosted deployment and 24x5 support. Agentic Batch Changes is outcome priced per merged changeset. Cody is not listed on the pricing page; Cody Free and Pro ended in July 2025, and Amp became a separate company in December 2025.
Billing mechanics
Minimum annual contract from $16K scaled by team size, with credits for AI features included per user, pooled org-wide, no monthly expiry and rollover of purchased buckets on renewal; volume credit buckets are an add-on and premium support is optional. Agentic Batch Changes bills per changeset merged into the codebase rather than per token, seat or attempt.
Cost watchouts
AI features consume credits beyond the included allotment, large migrations through Agentic Batch Changes bill per merged changeset, self-hosted deployments add infrastructure and maintenance cost, and premium support is extra.
Variable cost rationale
The annual minimum is fixed, but AI features draw on a credit pool and Agentic Batch Changes charges per merged changeset, so heavy AI use or large migrations add variable cost.
Additional watchouts
There is no self serve or small-team plan: the entry point is a $16K annual minimum through sales. Confirm how many AI credits come per user and what happens when the pool runs out, and whether Cody is still licensed on your contract, since it no longer appears on the pricing page.
Overage / add-ons
Credits are pooled across the organization with no monthly expiry, purchased credit buckets roll over on renewal, and volume credit buckets can be added; Agentic Batch Changes charges only for changesets merged, not for those the team declines.
Sales call required
Yes, required for paid access
Free / trial
Team cloud trial available
Lowest paid plan
Enterprise from a $16K minimum annual contract (about $1,333 a month)
Commercial notes
Founded 2013, SF (Stanford grads Quinn Slack & Beyang Liu); ~800k developers, indexes 50B+ lines of code; early customers Uber/Dropbox/Lyft; core strength is cross-repository code-graph context at enterprise monorepo scale; Amp was spun off into a separate company in December 2025, leaving Sourcegraph focused on code search and code understanding
Key ambiguities
How the contract scales above the $16K annual minimum is negotiated, and whether Cody is still licensed under the Enterprise plan is not stated, since it no longer appears on the pricing page; Cody Free and Pro were discontinued in July 2025.
Cancellation / refund
Annual contracts standard for the platform + Cody Enterprise (multi-year unlocks discounts); a free public-repo code-search tier and a ~30-day team trial path exist; Amp offers free credits ($10 signup) + pay-as-you-go with no lock-in; Cody Pro/Enterprise-Starter users were offered $40 Amp credits during the 2025 transition
Support SLA / resale
Enterprise: dedicated support, SOC 2, no-training-on-your-code guarantee, single-tenant/self-hosted/BYOC/air-gapped deployment, admin LLM selection; integrates across VS Code, JetBrains, Neovim and code hosts (GitHub/GitLab/Bitbucket/Perforce); Amp adds enterprise-grade security for agentic workflows
Missing data
The per-user credit allotment, the rate for extra credits and the per-changeset price for Agentic Batch Changes are not published.
Related vendors
- AgentOps — Agent observability and debugging platform: open source SDKs trace…
- Agno — Python agent framework and AgentOS runtime (formerly Phidata) for…
- AIsa — Resource and payment gateway for AI agents: one key to 110+ models…
- AlphaBitCore — AI control plane for regulated financial firms: one gateway enforces…
- Anchor Browser — Cloud hosted browser infrastructure that lets AI agents operate real…
- Apify — Cloud platform and marketplace of more than 73,000 ready-to-run…
Alternatives to Sourcegraph
The closest documented capability profiles to Sourcegraph among agent infrastructure platforms tracked by Agentic Index, ordered by similarity on the same 14 point evidence the rankings use. No vendor pays for placement.
- Cartesia10.5 / 14A lighter documented profile than Sourcegraph
- Paragon10.0 / 14A lighter documented profile than Sourcegraph
- Thread AI11.0 / 14Fuller documented coverage on Human Oversight & Guardrails
- xpander.ai12.0 / 14Fuller documented coverage on Human Oversight & Guardrails and Memory & State Persistence
- Kestra12.5 / 14Fuller documented coverage on Human Oversight & Guardrails and Memory & State Persistence
- Netlify10.5 / 14Fuller documented coverage on Human Oversight & Guardrails
Similarity is computed from each vendor's Agentic Index coverage score evidence, axis by axis, not from the totals. How this evidence is graded