
What is Cody?
Cody is an AI coding assistant launched by the code search and browsing tool “Sourcegraph.” By reading the entire codebase and code graph, it helps developers write code and answer questions. Cody leverages a combination of Sourcegraph’s code graph and large language models (LLMs) to eliminate tedious tasks in manual development and streamline developers’ workflows.
You can consider Cody as your coding assistant. This automated programming tool has read all the code in open source, all the questions on Stack Overflow, and the entire codebases of developers. It can answer questions encountered during the development process or suggest some methods based on prior knowledge.
The main functions of Cody
Cody is like ChatGPT in a code editor, which can help you program better and faster.
- Artificial Intelligence for Code Generation. Cody can generate everything from boilerplate code to API parsers based on the context and style of the codebase. It can also fix errors, improve readability, or address unhandled edge cases in code blocks.
- Automatic Unit Test Generation. Cody can write unit tests, saving developers time to focus on building software.
- Code Explanation. Cody can explain what the code does at a high level or in detail, highlighting any code block or the entire file, and explaining in conversational language what is happening.
- Programming Language Translation. Developers can provide Cody with a snippet of code, such as a function. Cody can translate the code and provide a code snippet in another language with the same functionality.
How to Use Cody
Using Cody is very simple. Currently, Cody can be used in the Sourcegraph web interface and VS Code.
- Install the Cody extension for VS Code.
- Open Cody (from the activity bar, or press Alt + / or Opt + /) and log in.
- Click Chat or Recipes (some built-in commands) to start using.
Similar Sites


Codeium

Duo Chat

Windsurf

Locofy

Augment

Plandex
