Cody logo

Cody

Free tier

AI coding assistant with deep codebase context powered by Sourcegraph Search

Free tier available·Technical·Powered by Multiple (latest LLMs)·API available

Key strengths

Deep codebase context via Sourcegraph's advanced Search APIMulti-IDE support (VS Code, JetBrains, Visual Studio, Web)Choice of latest LLMs for chat and completionsAuto-edit suggestions based on cursor movement and recent changesEnterprise-grade context filtering and privacy controls
Free tier + paid plans
San Francisco, USA
Self-hostable
No ratings yet

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.