Meet Cody
BETA
Cody answers code questions and writes code for you by reading your entire codebase and the code graph.
Sign up to get free access 👇
By registering, you agree to our Terms of Service and Privacy Policy
We’re working to bring you Cody where you need it most
Step 1: Sign up
Sign up for a Sourcegraph.com account.
Step 2: Install Cody app
BETA
Step 2: Install Cody app
BETA
The app is a free, lightweight, native desktop version of Sourcegraph that connects your local code to our AI coding assistant, Cody.
Codebase-aware intelligence
Answer questions about both general programming topics and your specific codebase from right inside your editor. Cody knows about your local code and can learn from the code graph and documentation inside your organization to do just that.
Code explanation
Cody can explain what code is doing—at a high level or in detail. Highlight any code block or an entire file and Cody will explain what’s happening in conversational language.
Code smells
Cody can act as a pair programmer and analyze code blocks for code smells, potential bugs, and unhandled errors. Cody will point out issues in selected code such as magic numbers, unhandled edge cases, or unclear variables names, with suggestions to fix those issues.
Summarize recent code changes
Cody is able to reference recent diffs to tell you about recent changes to your code. Cody can generate summaries of changes to an entire repository over the last day or week or summarize the changes specific to a selected file.
Debugging assistance
Cody can help you debug and improve your code. Pass in a code snippet to the Cody chat and request a specific fix—such as handing for a new edge case—and Cody will provide a rewritten code suggestion.
Translate language
Cody translates selected between programming languages. You can feed code snippets to Cody—for example, a certain function—and Cody can translate that code, providing you with a code snippet of another language with the same functionality.