Explore Sourcegraph (Cody), an AI-powered coding tool that understands your code, offers autocomplete, and simplifies coding.

By: Steven Pinker, Published on: 2024-01-17, Last Updated: 14-03-2024

Reviewed by: Joanna Penn

Table of Contents

Coding is like the backbone of our online field. It brings new ideas and makes the technologies we use every day. But sometimes, when our projects get more complicated, it's hard to find our way through all the code.


That's where Sourcegraph, also known as Cody, comes in. It's a smart tool that's changing the game for developers like me. With this tool, I can easily check out and understand my code. I can chat with it, just like I'm talking to ChatGPT.

It helps me search for a specific piece of code or fix any problem. Its easy-to-use interface and deep understanding of code make everything smooth and quick.

Moreover, Sourcegraph's autocomplete feature speeds up my coding. And its search tool helps me find things in big code projects. This AI tool hasn't just made my coding faster, it's also given me the confidence to tackle tough problems in software engineering.

Key Features of Cody

  • It adapts to your coding style, providing context-based suggestions for your current project.
  • Ask project-specific or general programming questions effortlessly using its chat.
  • Enhance codebase understanding by allowing enhanced context.
  • Quickly carry out common code actions using commands (/edit, /explain/doc, /smell, /test).
  • VS Code extension users can effortlessly fix, explain, and edit code using Code Actions.

Checking Cody Working and Accuracy 

Alright, as you are familiar with what Cody is and what its features are. Now, I’m going to review this tool to see how it works and how accurate it is, so let’s begin. 

Primarily, I opened the tool on the web and logged in with my Gmail and password. It took a couple of seconds, and this interface appeared, as you can see in the below screenshot. This is the dashboard of this AI coding tool.


After that, I clicked on “Cody Chat,” and the below interface appeared to me. There was a chatbox in which I typed my prompt to generate code.


Now, I entered my prompt, “Write code to create a footer using HTML.” After entering this, I clicked Enter.


As you can see in the below picture, Sourcegraph instantly generated a code on my given prompt.


In my opinion, this tool is great for developers like me, programmers, and other like IT students. So, if you want to explore more of it, you may give it a try.

Pros and Cons of Cody


  • Better understanding of code connections and functionality.
  • Improve usability by learning more about your codebase.
  • Quickly debug issues with efficient search capabilities.
  • The color-coded layout ensures an easy-to-navigate experience.


  • Doesn’t support multiple languages.
  • It is not very user-friendly.

Pricing Plan

  1. Free: Ideal for individuals working on hobby projects or professional developers exploring AI coding assistants.
  2. Pro: Unlimited use for larger projects, free until February 2024. sourcegraph-pricing

Who Is It For?

Cody is best for research students, programmers, companies, and developers.  

Additional Resources