Skip to content

Latest commit

 

History

History
226 lines (177 loc) · 9.44 KB

index.md

File metadata and controls

226 lines (177 loc) · 9.44 KB
<style> .limg { list-style: none; margin: 3rem 0 !important; padding: 0 !important; } .limg li { margin-bottom: 1rem; padding: 0 !important; } .limg li:last { margin-bottom: 0; } .limg a { display: flex; flex-direction: column; transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 350ms; border-radius: 0.75rem; padding-top: 1rem; padding-bottom: 1rem; } .limg a:hover { padding-left: 1rem; padding-right: 1rem; background: rgb(113 220 232 / 19%); } .limg p { margin: 0rem; } .limg a img { width: 1rem; } .limg h3 { display:flex; gap: 0.6rem; margin-top: 0; margin-bottom: .25rem } th:first-child, td:first-child { min-width: 200px; } .markdown-body table thead tr{ border-top:0; } .markdown-body table th, .markdown-body table td { text-align: left; vertical-align: baseline; padding: 0.5714286em; } .markdown-body table tr:nth-child(2n) { background: unset; } .markdown-body table th, .markdown-body table td { border: none; } .markdown-body .cards { display: flex; align-items: stretch; } .markdown-body .cards .card { flex: 1; margin: 0.5em; color: var(--text-color); border-radius: 4px; border: 1px solid var(--sidebar-nav-active-bg); padding: 1.5rem; padding-top: 1.25rem; } .markdown-body .cards .card:hover { color: var(--link-color); } .markdown-body .cards .card span { color: var(--link-color); font-weight: bold; } body.theme-dark img.toggle { filter: invert(100%); } img.toggle { width: 20px; height: 20px; } .toggle-container { border: 1px solid; border-radius: 3px; display: inline-flex; vertical-align: bottom; } </style>

Cody

Learn how Cody understands your entire codebase and enhances your development process with features like autocomplete and commands.

Beta Cody is currently available in beta for all users.

What is Cody?

Cody is a free and open-source AI coding assistant that writes, fixes, and maintains your code. Cody understands your entire codebase by leveraging the power of Code Graph to gather context, which assists you in writing accurate code.

Cody connects seamlessly with codehosts like GitHub, GitLab and IDEs like VS Code and JetBrains. Once connected, Cody acts as your personal AI coding assistant, equipped with a comprehensive understanding of the following three crucial elements:

  1. Your entire codebase
  2. Vast knowledge of open source code
  3. Extensive training data for code understanding and problem-solving

Getting started

You can start using Cody with one of the following clients:

  • VS Code Cody for VS Code

    Install Cody's free and open source extension for VS Code.

  • JetBrainsCody for JetBrains (beta)

    Install Cody's free and open source extension for JetBrains.

  • NeovimCody for Neovim (experimental)

    Install Cody's free and open source extension for Neovim.

  • Cody for WebCody for Web

    Use Cody in the Sourcegraph web app.

    Cody AppCody for Desktop

    Free desktop app to try Cody with your local codebase.

  • Cody EnterpriseCody Enterprise

    Get in touch with our team to try Cody for Sourcegraph Enterprise.

Main features

Cody's main features include:

Feature Description
Autocomplete Cody makes context-based code autocompletions. Cody can autocomplete single lines or whole functions in any programming language, configuration file, or documentation.
Chat Ask Cody questions in the chat view or inline with code, and it will use Sourcegraph’s code graph to answer using knowledge of your codebase.
Commands Cody offers quick ready-to-use commands for common actions, such as adding code documentation, generating unit tests, and detecting code smells.

What data is collected and how it's used?

Cody collects and uses data in the following ways:

  • Prompts and responses: When you use Cody, Sourcegraph collects your prompts and responses to provide the service. For individuals using Cody via Sourcegraph.com, Sourcegraph may use your prompts and responses to enhance the user experience, but Sourcegraph does not use any of your data to train models.
  • Usage data and feedback: Sourcegraph also collects usage data and feedback to improve the user experience.

Read more about Cody Usage and Privacy policy here →

Compatible with Sourcegraph products

Cody is compatible to use with the other Sourcegraph products, like Code Search. You can use Cody's chat to ask questions about your codebase. When you run any search query, you'll find an Ask Cody button that takes you to Cody's default chat interface that you can use to ask questions about the codebase.

On a free tier, you can use Cody chat with Code Search on ten public and one private repository. For enterprise users, Cody Chat extends to repositories indexed by your site administrator.

Read more in the Cody FAQs to learn more about such queries →

Join our community

If you have any questions regarding Cody, you can always ask our community on GitHub discussions, Discord, or create a post on X.

More resources

For more information on what to do next, we recommend the following resources: