Cody
AI coding assistant that understands your entire codebase
Visit sourcegraph.com ↗External link. Not endorsed — curated for usefulness.
What is Cody?
Cody is an AI coding assistant made by Sourcegraph that uses large language models and your codebase context to help developers understand, write, and fix code faster. Available as extensions for VS Code, JetBrains, Visual Studio, and through a web app, it integrates with codehosts like GitHub and GitLab to provide contextual assistance across local and remote repositories.
The assistant's core capabilities include developer chat for asking questions about code and generating new code, auto-edit functionality that suggests contextual modifications based on cursor position and recent changes, and customizable prompts that automate recurring tasks within development workflows. Cody leverages Sourcegraph's advanced Search API to pull context about APIs, symbols, and usage patterns from across your entire codebase, enabling it to deliver more accurate results than assistants without codebase awareness. The debugging feature identifies and fixes errors by analyzing code structure and suggesting fixes, while context filters allow teams to exclude specific repositories from chat and autocomplete results to control which data informs the assistant's responses.
Cody operates on a freemium model with free tier access through Sourcegraph.com for individual developers using supported LLMs, and an Enterprise option for organizations requiring advanced features and deployment control. The service collects prompts, responses, and usage data to improve the user experience; however, Sourcegraph states it does not use data from individual users via Sourcegraph.com to train its models. Teams can build and share custom prompts across their organization to standardize workflows and knowledge capture.
The tool integrates seamlessly with existing development environments, allowing developers to access Cody's chat directly from search results in the Sourcegraph interface. A command-line interface is also available for developers preferring terminal-based workflows. Comparable