Learn how to use Cody and its features with the native Cody app.
The Cody app is a free, lightweight, native desktop application that connects your local code to our AI coding assistant, Cody. You can ask Cody questions about your code using the app's interface. However, Cody will be available directly inside your code editor if connected to the VS Code extension.
You can download and install the Cody desktop app for the following:
macOS (Apple Silicon)
Install Cody app for your Apple Silicon computers.
Install Cody app for your Apple Intel-based computers.
Install Cody app for your Linux-based computers.
After a successful installation, follow these steps to complete the app setup:
- Sign in and connect the app with your Sourcegraph.com account, or create a new account if you haven't got one
- Next, select up to 10 local repositories to add to your code graph
- This code is sent to OpenAI to create embeddings, which helps Cody build the code graph and generate more accurate answers about your code
- If you use VS Code or JetBrains IntelliJ IDEs, it's recommended to install their extensions and Ask Cody questions right within your editor
Several forms of rate limiting help us manage costs for free versions of Cody. We're working actively to relax these limits and facilitate users with Cody Gateway.
If you hit these limits, you can request an increased limit by visiting our Discord channel for both chats and completions. If you'd like to use your third-party LLM provider instead of Cody Gateway, create your key with Anthropic or OpenAI and update your app configuration.
The default Cody app setup allows you to select up to 10 repos for embeddings. However, you can add more repos and "Schedule Embeddings". Go to Cody Settings > Advanced settings > Embedding jobs, and you can add and schedule repositories for embeddings.
However, these additional number of supported repos will vary depending on their size.
Updating the app
You'll get prompts to upgrade the app automatically. Let us know if you have any issues, and we'll be happy to help.
If you're on a version that's
2023.6.13 or older, it's recommended to uninstall the app and download the most recent version to add your projects to your code graph during the setup.
Uninstalling the app
To uninstall the app, navigate to Troubleshooting > Clear All Data from the system tray and delete the app from your applications folder.
If you're on an older version of the app and don't see a "Clear All Data" option, run the following script in your terminal:
rm -rf ~/.sourcegraph-psql ~/Library/Application\ Support/com.sourcegraph.cody ~/Library/Caches/com.sourcegraph.cody ~/Library/WebKit/com.sourcegraph.cody
Get help give feedback
If you run into any trouble or have ideas/feedback, you can reach out via the following:
Read more about App API integrations to learn about how extensions and other clients can integrate with Cody app.
For more information on what to do next, we recommend the following resources: