Skip to content
Sourcegraph Cody logo

Sourcegraph Cody

AI coding assistant that uses Sourcegraph code search context to help you chat, complete code, and run customizable prompts across local and remote repositories.

CodingResearch

How it works / How to use

AI coding assistant that uses Sourcegraph code search context to help you chat, complete code, and run customizable prompts across local and remote repositories.

  1. Open Sourcegraph Cody in your editor, terminal, or browser workspace.
  2. Describe the change, bug, or feature with file paths and expected behavior.
  3. Review suggested diffs or commands before applying them.
  4. Iterate with test output or error messages when the first pass is incomplete.

How to prompt

Cody uses @ references and Sourcegraph search to pull context from multiple codebases.

How is rate limiting implemented across our microservices? @repo:payments @repo:gateway summarize patterns and file paths.

Best output tips

  • Include file paths, stack, and error output verbatim.
  • Ask for tests or type checks when changing production code.
  • Review every command before running destructive operations.
  • Verify current plans and limits on the official Sourcegraph Cody website.

Try this AI

Try Sourcegraph Cody

Product Details

Pricing, features, limits and latest updates

Sourcegraph Cody

AI coding assistant that uses Sourcegraph code search context to help you chat, complete code, and run customizable prompts across local and remote repositories.

No listed price

Pricing Plans

No listed plans.

Key Features

Chat

chat workflow (sourcegraph.com).

Agents

agents workflow (sourcegraph.com).

Ideas / Prompt experiences

Share a prompt that worked for you. Username and email are shown with your submission. External links are not allowed.

Example prompt

Ask across repositories

Prompt

How is rate limiting implemented across our microservices? @repo:payments @repo:gateway summarize patterns and file paths.

Short explanation

Cody uses @ references and Sourcegraph search to pull context from multiple codebases.

Example prompt

Debug with context

Prompt

This stack trace points to a nil pointer in order processing. Find the likely cause in our codebase and suggest a minimal fix.

Short explanation

Cody is optimized for debugging with repository-wide context in chat.

Share your experience

Required fields are marked. Variation, result, and explanation are optional.

Cursor logo

Cursor

Explore

AI coding agent for building software in your editor, terminal, and IDE.

CodingFree / Paid

AutoGPT logo

AutoGPT

Explore

Platform for building and running AI agents with visual Agent Builder, AutoPilot chat, scheduling, and 200+ integration blocks; self-host open source or use hosted Pro/Max plans.

CodingFree / Paid

Hugging Face logo

Models, datasets, and inference for open machine learning.

CodingFree / Paid