Cody

updated 1m ago 12 0 0

The free AI programming tool launched by Sourcegraph

published date:
2025-03-19
CodyCody
Cody

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.

  1. 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.
  2. Automatic Unit Test Generation. Cody can write unit tests, saving developers time to focus on building software.
  3. 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.
  4. 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.

  1. Install the Cody extension for VS Code.
  2. Open Cody (from the activity bar, or press Alt + / or Opt + /) and log in.
  3. Click Chat or Recipes (some built-in commands) to start using.

Similar Sites

No comments yet...

none
No comments yet...