SuperAPI AI Directory

Cody by Sourcegraph

Cody is an AI coding assistant from Sourcegraph, built on the latest LLMs and combined with the user's development context to help understand, write, and fix code. It uses Sourcegraph's advanced search API to extract context from local and remote code repositories, so it can draw on context about APIs, symbols, and usage patterns from across the entire codebase. Cody seamlessly connects to code hosting platforms such as GitHub and GitLab, as well as IDEs such as VS Code, JetBrains, and Visual Studio, and serves as a personal AI coding assistant offering capabilities such as developer chat, code completion, code editing, and customizable prompts. It is primarily aimed at teams and individual developers using Sourcegraph Enterprise, and supports multiple ways of use.

Open website

About this tool

Purpose and positioning Cody is Sourcegraph's AI coding assistant, designed to help developers understand, write, and fix code faster. It uses the latest LLMs together with the user's development context, and with the help of Sourcegraph's advanced search API extracts context from local and remote code repositories, thereby making use of contextual information about APIs, symbols, and usage patterns from across the entire codebase.

Main capabilities

  • Developer chat: supports conversations using the most powerful models combined with context.
  • Code completion, code editing, and customizable prompts.
  • Broad context: to provide more accurate results.
  • Compatible with Sourcegraph products (such as Code Search), allowing you to ask questions about the codebase in chat; when running search queries and opening repositories or files, a Cody button appears, entering the Cody chat interface to ask questions related to the codebase.

Ways to use Cody supports multiple entry points:

  • Cody for VS Code: install the VS Code extension.
  • Cody for JetBrains: install the JetBrains extension.
  • Cody for Visual Studio (experimental): install the Visual Studio extension.
  • Use Cody in the Sourcegraph web app.
  • Run Cody from the command line.
  • Cody Enterprise: you can contact the team to try the Sourcegraph Enterprise version of Cody. Cody also seamlessly connects with code hosting platforms such as GitHub and GitLab, as well as IDEs such as VS Code, JetBrains, and Visual Studio.

Use cases Suitable for developers and teams that need AI assistance for code understanding, writing, fixing, and searching in large or complex codebases, especially organizations using Sourcegraph Enterprise.

Limitations and notes

  • The official documentation states that Cody is supported on Sourcegraph Enterprise, and Cody Enterprise requires contacting the team to try it.
  • The Visual Studio version is marked as experimental.
  • Data collection and privacy: when using Cody, Sourcegraph collects prompts and responses to provide the service; through Sourcegraph.com individual users who use Cody, their prompts and responses may be used to improve the user experience, but Sourcegraph will not use any data to train models. In addition, usage data and feedback are collected to improve the user experience; for more details, see the Cody usage and privacy policy.
  • Information such as pricing, free quota, and specific model versions is not provided in the available materials.