Cody
Type less, code more: Cody is an AI code assistant that uses advanced search and codebase context to help you write and fix code.
Alternatives
Tech stack
No tech stack added yet. Sign in to suggest some
Note: When this entry was written, the official website cody.dev could not be fetched, so the content below is compiled from available information. Pricing, plans, and supported models change quickly, so please refer to the official website for the latest details.
Overview
Cody is an AI coding assistant developed by Sourcegraph, which is best known for its large-scale code search and code intelligence platform. Cody's main strength is that it understands codebase context: it first uses Sourcegraph's code search and indexing capabilities to find the code relevant to a question, then passes it to a large language model. As a result, its answers and generated code fit the actual project more closely.
Key Features
- Code chat (Chat): Ask questions in natural language right in your editor, such as what a piece of code does, where a feature is implemented, or how to modify a module. Answers draw on relevant files and code snippets.
- Code autocompletion: Offers single-line or multi-line completion suggestions based on context as you write code.
- Code explanation and generation: Explains selected code, or generates new code from a description.
- Code refactoring and editing: Modifies or refactors selected code according to your instructions.
- Test and documentation generation: Generates unit tests, comments, and documentation for functions or modules.
- Choice of multiple LLMs: Supports leading large language models from several vendors (such as Anthropic Claude and OpenAI's GPT series), so you can choose as needed.
- Custom prompts: Save frequently used prompts or instructions for your team to reuse.
Target Users and Use Cases
- Individual developers: Use it for everyday coding to autocomplete, explain code, and troubleshoot problems more efficiently.
- Large engineering teams and enterprises: When codebases are huge and spread across many repositories, Sourcegraph's cross-repository context helps in understanding complex systems.
- Onboarding new team members: Get familiar with an unfamiliar codebase and its architecture quickly through conversation.
- Code maintenance and refactoring: Understand legacy code, make bulk changes, or generate tests.
Core Strengths
- Strong context awareness: Built on Sourcegraph's code search and code graph, it can reference context across files and repositories, not just the file you currently have open.
- Enterprise-ready: The enterprise edition supports integration with your own code hosting platform and offers access control and security and compliance capabilities.
- Choice of models: You can pick among multiple LLMs rather than being tied to a single vendor.
How to Use
Cody is mainly delivered as an IDE extension:
- VS Code: Search for "Cody" in the extension marketplace, install it, and sign in with your Sourcegraph account.
- JetBrains IDEs (IntelliJ IDEA, PyCharm, WebStorm, etc.): Install the Cody plugin from the plugin marketplace, then sign in.
- Web: You can chat with Cody in the Sourcegraph web interface.
Enterprise users can connect Cody to their company's own Sourcegraph instance to work with internal codebases.
Things to Note
- Cody requires an internet connection and calls cloud-based large language models. Before processing sensitive code, make sure you understand its data handling and privacy policy.
- Sourcegraph has adjusted Cody's product and plan strategy in recent years, so the availability of the individual and enterprise editions may have changed. Please check the official website for the current offering before using it.
Discover more
Aider
aider is AI pair programming in your terminal
Cindy
Cindy is an open-source AI agent app that connects your computer and phone, so you can use agent frameworks such as Claude Code, Codex and Pi, along with a wide range of models, all in one place. It supports cross-device access to tasks, files and models, as well as remote desktop takeover, with no need to set up your own server.
Cline
Autonomous coding agent as an SDK, IDE extension, or CLI assistant.
Continue
open-source coding agent
Flowise
Build AI Agents, Visually
HuggingFace Chat UI
The open source codebase powering HuggingChat