Features

Search, navigate, and automate code faster.

Chat

Chat directly with AI to ask questions about your code, generate code, and edit code. Cody has context of your open file and repository by default, and you can use '@' to add context on specific files, symbols, remote repositories, or other non-code artifacts.

Ask about your code

Use "@" + a repository, file, line range, or symbol to ask questions about your codebase. Generate code using context @-mention files or symbols to use that code as context. Cody will use it to generate contextually relevant code.

Smart Apply

When Cody suggests code in chat, hit "Apply" to make those changes directly in your files.

Inline edits

Highlight code, hit the edit hotkey, and describe a change. Cody will generate a diff for the change in seconds.


Choose your favorite model

Choose from model options optimized for speed versus accuracy.

Reference development artifacts and the web

@-mention web URLs to pull live information like docs. You can also connect Cody to OpenCtx to @-mention non-code artifacts like Google Docs, Notion pages, Jira tickets, and Linear issues.

Run offline (Experimental)

Connect to Ollama to run entirely offline. You can even code using AI on an airplane.

Prompts

Automate key tasks in your workflow with premade and customizable prompts. Any common query or task can be built into a prompt to save and share with your team.

Generate unit tests

Generate unit tests for your code selection, adding to your existing test file or creating a new one, with consideration for your existing tests and test framework.

Document code

Generate documentation for any selection of code (from symbols to entire files), even for legacy code you didn't write yourself.

Find code smells

Analyze a code selection and provide suggestions for improving readability, maintainability, performance, or security.

Prompt library

Create and save prompts for reuse, then share them with your teammates via the Prompt Library.

Inline edits

Highlight code, hit the edit hotkey, and describe a change. Cody will generate a diff for the change in seconds.


Choose your favorite model

Choose from model options optimized for speed versus accuracy.

Autocomplete

Sourcegraph predicts what you're trying to write before you type it. It makes single-line and multi-line suggestions as you type, using the context of the code around your cursor to make accurate suggestions.

Smart predictions

Cody predicts your next move as you type, suggesting code (like function arguments) without needing to look them up.

Natural language code generation

Type out a comment in natural language. Cody will suggest how to implement what you commented.

Get Cody for yourself

Use Cody for free in your IDE, no credit card required.

Download Cody for free

Get Cody for your team

Cody Enterprise provides additional security, scalability, and control for your organization. Unlimited usage and context search for your entire codebase.

Book a demo
See pricing