Sourcegraph Cody(企业级代码智能) 评测 2026
Sourcegraph Cody 2026 年仅面向企业客户:个人免费档与 Pro 档已于 2025-07-23 停售(Sourcegraph 官方公告),现有企业客户不受影响、个人用户由 Amp 承接;企业版以全代码库索引与多仓库上下文为区分点,定价无公开挂牌价、须向销售询价,第三方口径企业搜索 $49/用户/月与企业版 $59/用户/月并存,以销售报价为准。
Sourcegraph Cody in 2026 is enterprise-only: Cody Free and Pro were discontinued on 23 July 2025 (Sourcegraph's own announcement), existing enterprise customers are unaffected, and individuals are directed to Amp. Its differentiator is whole-codebase indexing with multi-repo context. No live official list price exists; third-party figures of $49 per user a month (Enterprise Search) and $59 (Enterprise) conflict — sales quote wins, and the $9 Pro price is discontinued.
概述 Overview
Sourcegraph Cody 2026 年仅面向企业客户:个人免费档与 Pro 档已于 2025-07-23 停售(Sourcegraph 官方公告),现有企业客户不受影响、个人用户由 Amp 承接;企业版以全代码库索引与多仓库上下文为区分点,定价无公开挂牌价、须向销售询价,第三方口径企业搜索 $49/用户/月与企业版 $59/用户/月并存,以销售报价为准。
Sourcegraph Cody in 2026 is enterprise-only: Cody Free and Pro were discontinued on 23 July 2025 (Sourcegraph's own announcement), existing enterprise customers are unaffected, and individuals are directed to Amp. Its differentiator is whole-codebase indexing with multi-repo context. No live official list price exists; third-party figures of $49 per user a month (Enterprise Search) and $59 (Enterprise) conflict — sales quote wins, and the $9 Pro price is discontinued.
专家点评 Expert Take
结论:Cody 现在是平台级采购,而非开发者个人采购。如果你的组织已经在用 Sourcegraph,工程师又要在多仓库代码库上花费大量时间上手,那就把 Cody Enterprise 纳入平台续约一并购买,先在一个遗留代码库上验证效果。如果你是个人开发者,或团队没有用 Sourcegraph,2026 年 Cody 无论出多少钱都不是选项:Amp 才是 Sourcegraph 的出路,Cursor 或 Copilot 则是 IDE 原生替代品。
Verdict: Cody is now a platform purchase, not a developer purchase. If your organisation already runs Sourcegraph and engineers lose hours onboarding onto multi-repo codebases, buy Cody Enterprise as part of the platform renewal and prove it on one legacy codebase first. If you are an individual developer or a team without Sourcegraph, Cody is not an option in 2026 at any price: Amp is Sourcegraph's path, and Cursor or Copilot are the IDE-native alternatives.
优点 Pros
- ✓ 全品类中代码库上下文最深,适合多仓库组织
- ✓ 答案附带来源,可验证
- ✓ 企业级部署、SSO 与访问控制,适合受监管团队
- ✓ 现有企业客户不受影响,继续获得支持
- ✓ Deepest codebase context in the category, for multi-repo organisations
- ✓ Answers cite their sources, so they can be verified
- ✓ Enterprise deployment, SSO and access controls for regulated teams
- ✓ Existing Enterprise customers are unaffected and remain supported
缺点 Cons
- ✗ 免费档与 Pro 档已于 2025 年 7 月停售——个人用户已无入口
- ✗ Cody AI 无公开挂牌价;第三方 49 美元与 59 美元的口径互相冲突
- ✗ 要发挥全部价值,需要部署 Sourcegraph 实例并完成索引配置
- ✗ 多方对比中,补全流畅度不及 Cursor 或 Copilot
- ✗ Free and Pro discontinued in July 2025 — no individual route remains
- ✗ No public list price for Cody AI; third-party $49 vs $59 figures conflict
- ✗ Requires a Sourcegraph instance and indexing setup for full value
- ✗ Completion is rated less fluid than Cursor or Copilot in comparisons
核心功能 Key Features
- 🕸️全代码库索引,而非只看当前打开的文件: 答案与编辑的依据来自整个组织各仓库的定义、用法与模式。
- 🔎可验证的上下文:看清答案背后的文件: Cody 会展示哪些文件、哪些代码片段支撑了答案,推理过程可核查。
- 💬聊天、自动补全、编辑、测试与文档: 代码聊天、行内补全、编辑、测试生成与文档撰写,共用同一份索引上下文。
- 🏢企业级部署与管控: 专属云或自托管 Sourcegraph、SSO/SAML、代码访问 RBAC,以及第三方报道中的管理控制。
- 🧩IDE、网页与 CLI 多端: VS Code 与 JetBrains 插件、网页访问与 CLI,按部署方式支持多家模型厂商。
- 🕸️Whole-Codebase Indexing, Not Just the Open File: Answers and edits draw on definitions, usages and patterns from across the organisation's repositories.
- 🔎Verifiable Context: See the Files Behind the Answer: Cody shows which files and code ranges informed an answer, so reasoning can be checked.
- 💬Chat, Autocomplete, Edits, Tests and Docs: Code chat, inline completion, edits, test generation and documentation from the same indexed context.
- 🏢Enterprise Deployment and Controls: Dedicated cloud or self-hosted Sourcegraph, SSO/SAML, RBAC for code access, and admin controls per third-party coverage.
- 🧩IDE, Web and CLI Surfaces: VS Code and JetBrains plugins, web access and CLI, across multiple model providers by deployment.
应用场景 Use Cases
- 🧭上手遗留单体应用: 为老旧代码库生成文档,并基于索引回答架构问题。
- 🔀跨服务追踪一次改动: 找到某个接口在哪些地方被调用,以及共享库改动会波及什么。
- 🧪基于真实代码的测试与文档: 生成贴合代码库实际约定的测试与文档,而非通用模板。
- 🏛️带访问控制的受监管代码库: 把代码智能留在组织自己的 Sourcegraph 部署内,通过 RBAC 控制谁能看到什么。
- 🧭Onboard Onto a Legacy Monolith: Generate documentation for an aging codebase and answer architecture questions from the index.
- 🔀Trace a Change Across Services: Find where an endpoint is consumed and what breaks if a shared library changes.
- 🧪Tests and Docs Grounded in Real Code: Generate tests and docs that reference the actual conventions of the codebase, not generic patterns.
- 🏛️Regulated Codebases With Access Control: Keep code intelligence inside the organisation's own Sourcegraph deployment, with RBAC on who sees what.
快速开始 Getting Started
先确认你是 Cody 企业版客户、或将采购 Sourcegraph 企业版,索引一个遗留代码库问跨服务问题并核对引用文件,拿书面平台报价——没有公开挂牌价可供预算。
结论 Verdict
Sourcegraph Cody(企业级代码智能)是同类 AI 工具中的扎实可靠的选择。功能聚焦,建议结合你的具体工作流亲自试用。
Sourcegraph Cody is a solid ai tools solution. It provides focused functionality worth testing against your specific workflow requirements.
常见问题 Frequently Asked Questions
2026 年 Sourcegraph Cody 还能用吗?
仅面向企业客户。按 Sourcegraph 官方公告,Cody Free 与 Cody Pro 已于 2025 年 6 月 25 日停止新注册,并于 2025 年 7 月 23 日终止访问;Cody Enterprise 客户声明不受影响、继续获得支持。个人开发者被引导至 Amp——Sourcegraph 的智能编程工具。
Sourcegraph Cody 多少钱?
2026 年 10 月核查时,未能验证 Cody AI 的官方实时挂牌价:Cody 作为 Sourcegraph 企业平台的一部分通过销售渠道出售,定价定制。第三方口径互相冲突——一家对比文章称 Enterprise Search 为每用户每月 49 美元、Cody AI 定价未公开,另一家称 Enterprise 为每用户每月 59 美元——两者都不宜直接作为预算依据。广为流传的 9 美元 Pro 价是已停售的 2023–2025 年个人套餐,并非当前购买选项。请向 Sourcegraph 销售确认套餐与价格。
Cody 与 Copilot 或 Cursor 有何不同?
在于上下文来源。Cody 基于 Sourcegraph 的代码搜索与智能平台构建,会索引组织内的代码库,让答案与编辑能够依据各仓库的定义、用法与模式,而不仅限于当前打开的文件。Cody 还会展示哪些文件、哪些代码片段支撑了答案,推理过程可验证。Copilot 与 Cursor 主要是 IDE 原生助手;Cody 则主要是面向已部署或将采购 Sourcegraph 的企业的代码库理解平台。
个人开发者还能注册 Cody 吗?
不能。Cody Free 与 Pro 的新注册已于 2025 年 6 月 25 日停止,访问权限于 2025 年 7 月 23 日终止。Sourcegraph 将原 Free 与 Pro 用户引导至 Amp,包括过渡积分(Free 用户注册送 10 美元,Pro 与 Enterprise Starter 用户通过邮件获得 40 美元)。如今 Cody 只适合已经部署或将采购 Sourcegraph Enterprise 的团队。
Is Sourcegraph Cody still available in 2026?
Only for enterprise customers. Sourcegraph stopped new sign-ups for Cody Free and Cody Pro on 25 June 2025 and ended access on 23 July 2025, per Sourcegraph's own announcement; Cody Enterprise customers were stated to be unaffected and remain supported. Individual developers were directed to Amp, Sourcegraph's agentic coding tool.
How much does Sourcegraph Cody cost?
No live official list price for Cody AI could be verified in October 2026: Cody is sold as part of the Sourcegraph enterprise platform through sales, with custom pricing. Third-party figures conflict — one comparison lists Enterprise Search at $49 per user a month for code search with Cody AI pricing not publicly listed, another lists Enterprise at $59 per user a month — so neither should be budgeted from. The widely quoted $9 Pro price is the discontinued 2023-2025 individual plan, not a current purchase option. Confirm packaging and price with Sourcegraph sales.
What makes Cody different from Copilot or Cursor?
Its context source. Cody is built on Sourcegraph's code search and intelligence platform, which indexes an organisation's repositories so answers and edits can draw on definitions, usages and patterns from across repositories, not just the open file. Cody also shows which files and code ranges informed an answer, so reasoning can be verified. Copilot and Cursor are primarily IDE-native assistants; Cody is primarily a codebase-understanding platform sold to enterprises that already run Sourcegraph.
Can an individual developer still sign up for Cody?
No. New Cody Free and Pro sign-ups stopped on 25 June 2025 and access ended on 23 July 2025. Sourcegraph directed former Free and Pro users to Amp, including transition credits ($10 for Free users on signup, $40 for Pro and Enterprise Starter users by email). Cody now fits only teams that already run, or will buy, Sourcegraph Enterprise.