Sourcegraph DocsSourcegraph Docs
  • Code Intelligence

    • Cody
    • Code Search
  • Code Management

    • Batch Changes
    • Code Navigation
    • Code Monitoring
    • Code Ownership
    • Code Insights
    • Notebooks
  • Platform

    • Sourcegraph Admin
    • Sourcegraph Cloud
    • Integrations
    • Development
  • CLI & API

    • Sourcegraph CLI
    • Sourcegraph GraphQL API
    • Sourcegraph Stream API
  • Help & Support

    • SLAs & Premium Support
    • Tutorials
    • Sourcegraph Accounts
    • Changelog
  1. Docs
  2. cody
  3. clients
  4. app

Cody App

Starting December 2023, we are completely sunsetting the Cody App, which has been deprecated.

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.

Setup

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

NOTE: The JetBrains IntelliJ extension is in the Experimental stage.

Rate limiting

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.

Embeddings

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.

NOTE: The old app versions were called "Sourcegraph" and included Sourcegraph Code Search. However, the recent versions provide a Cody-only experience.

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:

  • Discord
  • GitHub
  • X

On this page

  1. Cody App

    1. Setup
    1. Rate limiting
    1. Updating the app
    1. Uninstalling the app
    1. Get help give feedback