Cody
Free tierAI coding assistant with deep codebase context powered by Sourcegraph Search
Key strengths
Get alerts when Cody changes
Free. We'll email you when pricing, the free tier, API access or open-source status changes.
Technical Setup & API Usage
IDE Extension Installation
Install via your IDE's marketplace:
- VS Code: Search "Cody AI" in the Extensions panel or visit the VS Code Marketplace.
- JetBrains: Install from JetBrains Plugin Marketplace (supports IntelliJ, PyCharm, GoLand, etc.).
- Visual Studio: Available as an experimental extension.
Authentication
Sign in using a Sourcegraph.com account for free-tier access, or configure an enterprise endpoint:
// settings.json (VS Code example)
{
"cody.serverEndpoint": "https://your-sourcegraph-instance.com"
}
Context Injection with @ Mentions
In chat, use @ to inject specific context:
@filename— include a specific file@symbol— include a specific symbol definition@remote-repo— pull context from a remote repository indexed by Sourcegraph
Context Filters (Enterprise)
Admins can configure contextFilters to exclude sensitive repositories from AI chat and autocomplete, ensuring IP or compliance boundaries are respected.
Cody CLI
Run Cody from the terminal for scripted or headless workflows:
cody chat --message "Explain the auth flow in src/auth/index.ts"
Enterprise Deployment
Cody Enterprise integrates with self-hosted Sourcegraph instances, supporting custom LLM configurations, SSO, audit logging, and large-scale repository indexing via Sourcegraph's Search API.
Alternatives to Cody
Is Cody yours? Claim the listing & get the badge
