Last modified: February 15, 2024
These terms apply to use of Cody when added to an Enterprise License granted prior to February 15, 2024. All other use of Cody is governed by the Sourcegraph Terms.
Sourcegraph Cody (“Cody”) is a state-of-the-art AI coding assistant designed to help software developers by answering code questions and generating code. Cody uses Large Language Models (LLMs), Sourcegraph search, and Sourcegraph code intelligence to provide context-specific results to developers, streamlining their workflow, reducing the time spent on repetitive tasks, and improving the quality and consistency of their work. In the event of a conflict between this Cody Terms of Use (“Cody Terms”) and the terms that govern your order form (“Terms”), the terms of the Cody Terms prevail.
As between the parties, you own all inputs to and outputs generated by your use of Cody. You retain ownership of your code and responsibility for ensuring any code snippets emitted by Cody comply with software licenses and copyright law.
Sourcegraph has entered into partnerships with certain LLMs ("Sourcegraph Partner LLMs") to provide the services. Sourcegraph Partner LLMs are trained on large datasets of public repositories.
Sourcegraph and Sourcegraph Partner LLMs do not use code from Cody Enterprise or Cody Pro teams to train models. Sourcegraph may fine-tune a custom model solely for your proprietary use if you purchase that service.
Sourcegraph Partner LLMs will not retain any input or output from the model, including embeddings, beyond the time it takes to generate the output ("Zero Retention").
For all deployments, including Self-Hosted, Cloud, and Sourcegraph.com, Sourcegraph collects and uses the following data to support and improve user experience:
Enterprise Cody: When you use Cody, Sourcegraph collects the following Customer Content solely to provide the Service and not for product improvement purposes:
However, Sourcegraph does not collect or have access to User Prompts or Responses for customers with an enterprise license who bring their own LLM API key for a self-hosted deployment, as the software is hosted in the customer’s systems.
Sourcegraph will indemnify you against any claims alleging that your use of Cody or any Cody outputs infringes third-party intellectual property rights in accordance with the indemnification terms in your agreement. Sourcegraph's indemnification obligation is uncapped if you have signed an Order Form with us and you use the most current version available and any filters provided by Sourcegraph.
Sourcegraph will process Customer Content in accordance with the Security Exhibit.
You may not use Cody for unlawful purposes or in violation of our Acceptable Use Policy.
Cody uses context from your codebase to substantially improve the accuracy of its responses compared to other AI-based tools. However, Sourcegraph does not guarantee the accuracy of Cody's answers.
If you have uncapped liability for breach of confidentiality or data security in your Agreement with Sourcegraph, a limit of liability of five times (5x) your annual license fees will apply to breaches of confidentiality or data security in connection with your use of Cody. If you do not have uncapped liability in your Agreement with Sourcegraph, the limit of liability in your Agreement shall apply to your use of Cody.
Yes. Cody sends LLM Prompts to a third-party LLM provider. In addition, when an administrator turns on the feature to generate embeddings for a repository, a copy of the repository contents will be shared with a third-party LLM provider for the sole purpose of providing you the service.
The following Sourcegraph commitments may not apply if you use your own LLM relationship in conjunction with Cody:
No, Cody does not train on your code unless you provide permission. Our third-party Language Model (LLM) providers do not train on your specific codebase.
For individual users accessing the Sourcegraph Cody extension via Sourcegraph.com, Sourcegraph also collects the following User Content to support and improve user experience, though none of it will be used to train any generally available models:
For more information, see docs.sourcegraph.com/cody.