whatisgithub

What is cody-public-snapshot?

sourcegraph/cody-public-snapshot — explained in plain English

Analysis updated 2026-06-26

3,794TypeScriptAudience · developerComplexity · 2/5LicenseSetup · moderate

In one sentence

A frozen public snapshot of Cody, an AI coding assistant plugin for VS Code and JetBrains that answers questions about your codebase and suggests code completions using Claude, GPT-4o, and other models.

Mindmap

mindmap
  root((Cody))
    What it does
      Codebase-aware chat
      Inline code edits
      Code completions
      Unit test generation
    Editors supported
      VS Code
      JetBrains IDEs
      Web interface
    AI models
      Claude
      GPT-4o
      Gemini
      Mixtral
    Audience
      Individual developers
      Enterprise teams
    Setup
      Sourcegraph account
      Apache licensed
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Install Cody in VS Code to get AI-powered code completions that are aware of your actual project files

USE CASE 2

Use the chat interface to ask questions about an unfamiliar codebase by @mentioning specific files

USE CASE 3

Highlight a function and ask Cody to rewrite it, fix a bug, or generate unit tests for it inline

What is it built with?

TypeScriptVS CodeJetBrains

How does it compare?

sourcegraph/cody-public-snapshotgothinkster/node-express-realworld-example-appimsyy/dailyhotapi
Stars3,7943,7913,798
LanguageTypeScriptTypeScriptTypeScript
Setup difficultymoderatemoderatemoderate
Complexity2/52/53/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires a free Sourcegraph account for API access to the underlying AI models.

Use freely for any purpose including commercial use under the Apache license, as long as you include the copyright notice.

So what is it?

This is a public snapshot of Cody, an AI coding assistant built by Sourcegraph. The codebase moved to a private repository at some point, so what you see here is a frozen copy of the code as it existed just before that transition. If you want to work with the Apache-licensed version specifically, the README points to the last commit under that license. Cody itself is a plugin for code editors, available for VS Code and JetBrains IDEs as well as through a web interface. It connects to AI language models and uses information from your actual codebase to assist with writing, understanding, and fixing code. Rather than just responding to general questions, it pulls in context from your files and project structure so the answers are relevant to what you are actually working on. The main things it can do: answer questions about your codebase using a chat interface, suggest code completions as you type, let you ask it to rewrite or fix a specific section of code inline, and run quick prompts like explaining a snippet or generating unit tests for it. You can point it at specific files using @-mentions in the chat. It works with several different AI models including Claude, GPT-4o, Gemini, and Mixtral, and the free tier includes access to some of those models with usage limits. For individual use, a free Sourcegraph account is required because the service relies on API access to Anthropic and OpenAI on your behalf. Larger teams with needs around dedicated infrastructure or audit logs can upgrade to an enterprise plan. Sourcegraph customers running their own self-hosted instances can also connect the editor extensions to those.

Copy-paste prompts

Prompt 1
I have Cody installed in VS Code. How do I use @-mentions in the chat to ask it about a specific file in my project?
Prompt 2
Using Cody's inline edit feature, rewrite this JavaScript function to use async/await instead of callbacks.
Prompt 3
I want to build on the Apache-licensed version of Cody from this public snapshot. How do I compile and load it into VS Code as a development extension?
Prompt 4
Set up Cody in JetBrains to connect to a self-hosted Sourcegraph instance and use Claude as the AI backend.

Frequently asked questions

What is cody-public-snapshot?

A frozen public snapshot of Cody, an AI coding assistant plugin for VS Code and JetBrains that answers questions about your codebase and suggests code completions using Claude, GPT-4o, and other models.

What language is cody-public-snapshot written in?

Mainly TypeScript. The stack also includes TypeScript, VS Code, JetBrains.

What license does cody-public-snapshot use?

Use freely for any purpose including commercial use under the Apache license, as long as you include the copyright notice.

How hard is cody-public-snapshot to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is cody-public-snapshot for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.