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.
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.
When Cody suggests code in chat, hit "Apply" to make those changes directly in your files.
Highlight code, hit the edit hotkey, and describe a change. Cody will generate a diff for the change in seconds.
Choose from model options optimized for speed versus accuracy.
@-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.
Connect to Ollama to run entirely offline. You can even code using AI on an airplane.
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 for your code selection, adding to your existing test file or creating a new one, with consideration for your existing tests and test framework.
Generate documentation for any selection of code (from symbols to entire files), even for legacy code you didn't write yourself.
Analyze a code selection and provide suggestions for improving readability, maintainability, performance, or security.
Create and save prompts for reuse, then share them with your teammates via the Prompt Library.
Cody 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.
Cody predicts your next move as you type, suggesting code (like function arguments) without needing to look them up.
Type out a comment in natural language. Cody will suggest how to implement what you commented.
Search all of your code in one place. Sourcegraph indexes all your code hosts to a single server that you can search and navigate from the web.
See your code from a single search bar, across every repository and every code host.
Share exact files and lines of code with teammates using shareable web URLs.
Search across all repositories, branches, forks, and even archived repositories.
Use diff and commit searches to find specific changes to your codebase. Filter by author and date.
Run exhaustive searches in the background for sensitive tasks like finding tokens & secrets.
Proactively monitor changes to your codebase. Get notified via Slack, email, or webhook.
Navigate code with Find 'references' and 'Go to definition,' supporting 40+ languages out-of-the-box.
Configure SCIP data of your code graph for 100% accurate code navigation supporting 11 common languages.
Write batch specs to make programmatic changes across multiple repositories.
View the status of all changesets from a single dashboard, tracking them through completion.
Use Cody for free in your IDE, no credit card required.
Cody Enterprise provides additional security, scalability, and control for your organization. Unlimited usage and context search for your entire codebase.