Description
Cody is an AI-powered coding assistant designed to accelerate the development process by understanding and utilizing your entire codebase. It integrates seamlessly with popular code hosting platforms like GitHub and GitLab, as well as IDEs such as VS Code, JetBrains, and Visual Studio. By connecting to these environments, Cody acts as a personal AI assistant, equipped to enhance code comprehension, generation, and debugging.
At its core, Cody utilizes the latest Large Language Models (LLMs) and draws context from your development environment. This context is pulled using Sourcegraph's advanced Search API, allowing Cody to access information about APIs, symbols, and usage patterns across both local and remote codebases. This comprehensive context ensures that Cody can provide highly accurate and relevant assistance.
Key capabilities of Cody include developer chat, where users can ask questions about their code, generate new code snippets, and request code edits. The assistant offers intelligent code completions and auto-editing suggestions, which analyze cursor movements and recent changes to propose contextual modifications. Cody also features a robust prompt system, enabling developers to automate recurring tasks with customizable and shareable prompts. Furthermore, its debugging capabilities are optimized to identify and fix errors, significantly speeding up the troubleshooting process and boosting developer productivity.
Cody offers flexible deployment options, including extensions for VS Code, JetBrains, and Visual Studio, as well as a web app interface and a command-line interface (CLI). For enterprise-level solutions, Cody for Sourcegraph Enterprise is available. The platform also includes context filters, allowing users to exclude specific repositories from chat and autocomplete results, thereby enhancing control over the context used by the AI.
Data collection by Cody focuses on prompts and responses to provide the service. For individual users on Sourcegraph.com, prompts and responses may be used to enhance user experience but not for model training. Usage data and feedback are also collected to improve the overall user experience. Cody is compatible with other Sourcegraph products, such as Code Search, allowing users to query their codebase and then use Cody's chat interface to ask questions about the search results.
Cody's Core Features
AI-powered code understanding, writing, and fixing
Utilizes LLMs and development context for accuracy
Integrates with GitHub, GitLab, VS Code, JetBrains, Visual Studio
Developer chat for code-related questions and generation
Code completions and auto-editing suggestions
Customizable and shareable prompts for task automation
Advanced Search API for local and remote codebase context
Debugging assistance to identify and fix code errors
Context filters to manage repository inclusion
Available as IDE extensions, web app, and CLI
Enterprise solutions for Sourcegraph Enterprise
How to use Cody?
Install: Download and install the Cody extension for your IDE (VS Code, JetBrains, Visual Studio) or access it via the Sourcegraph web app.
Connect: Link Cody to your code repositories (e.g., GitHub, GitLab) and development environment.
Interact: Use the chat interface to ask questions about your code, request code generation, or initiate code edits.
Utilize Completions: Leverage Cody's intelligent code completions as you type.
Configure Prompts: Create and use custom prompts to automate repetitive coding tasks.
Debug: Employ Cody's debugging capabilities to identify and resolve errors in your code.
Manage Context: Configure context filters to specify which repositories Cody should consider.
Cody's Use Cases
- Code Understanding
- Code Generation
- Code Editing
- Debugging Assistance
- Task Automation
- Contextual Search







