Sourcegraph Cody logo

Sourcegraph Cody

Sourcegraph Cody is an AI coding assistant that helps write, understand, and fix code across various languages.
Visit website
Share this
Sourcegraph Cody

What is Sourcegraph Cody?

Sourcegraph Cody is an AI coding assistant developed by Sourcegraph to assist developers in writing, understanding, and fixing code efficiently. This tool is open-sourced and utilizes AI to provide intelligent code completion, documentation, and chat support across various programming languages and codebases. Cody can explain entire code repositories, generate tests, optimize code, and more with just a few clicks. It seamlessly integrates into popular IDEs like VS Code and JetBrains for free, with a temporary availability of the "Pro" version at no cost.

Furthermore, Cody offers different versions tailored to different user needs:

  • Cody Free is suitable for individuals working on hobby projects or professional developers experimenting with AI coding assistants, with usage limits in place.
  • Cody Pro is ideal for professional developers seeking unlimited usage and context for larger local codebases.
  • Cody Enterprise caters to organizations requiring security, scalability, and control, utilizing the Sourcegraph platform to offer context for the organization's remote codebase to Cody.

Cody's features include autocomplete for faster coding, context-aware chat support, automation of workflows with custom commands, and retrieving codebase context to personalize responses. Cody Enterprise requires an annual contract, while Cody Pro is billed monthly. Users have the flexibility to upgrade or downgrade between Cody Free and Cody Pro within their account settings as needed.

Who created Sourcegraph Cody?

Sourcegraph Cody was created by Quinn Slack and Beyang Liu, who are the CEO/cofounder and CTO/cofounder of Sourcegraph, respectively. Sourcegraph is an all-remote company that focuses on code intelligence platforms to help developers rapidly search, write, and understand code effectively.

What is Sourcegraph Cody used for?

  • Intelligent code completion
  • Code optimization
  • Documentation generation
  • Chat support
  • Chat support for developers
  • Explanation of entire code repositories
  • Generation of tests
  • Seamless integration with popular IDEs like VS Code and JetBrains
  • Available as a Pro version for free (temporarily)
  • Suitable for hobby projects and professional developers trying out AI coding assistants
  • Usage for organizations requiring security, scalability, and control
  • Explaining entire code repositories
  • Generating tests
  • Optimizing code
  • Integrating with popular IDEs like VS Code and JetBrains
  • Free version available for a limited time
  • AI-powered assistance for writing, understanding, and fixing code
  • Seamless integration with programming languages and codebases
  • Chat support across programming languages and codebases
  • Integration with popular IDEs like VS Code and JetBrains
  • Seamless integration into IDEs
  • Free temporary access to the 'Pro' version
  • Personalized responses through codebase context

Who is Sourcegraph Cody for?

  • Software engineers
  • Web Engineers

How to use Sourcegraph Cody?

To use Sourcegraph Cody effectively, follow these steps:

  1. Sign Up: Create an account on Sourcegraph and log in to access Cody.

  2. Installation: Integrate Cody with your preferred IDE like VS Code or JetBrains for seamless usage.

  3. Features Overview: Explore Cody's capabilities such as code completion, documentation, and chat support across various languages and projects.

  4. AI Assistance: Utilize Cody to understand code repositories, generate tests, optimize code, and more with just a few clicks.

  5. User Tiers: Choose between Cody Free, Pro, or Enterprise based on your needs and usage frequency.

  6. Upgrade Options: Upgrade/downgrade between Free and Pro tiers easily in your account settings. Contact sales for Cody Enterprise upgrades.

  7. Subscription: Cody Pro operates on a monthly payment model, while Cody Enterprise requires an annual contract.

  8. Billing: Understand the billing criteria for Cody Pro which is based on active user interactions with Cody.

  9. Context & Security: Cody requires cloud-based services. Enterprise customers can provide their own LLM API key for supported LLMs.

  10. Support Resources: Refer to Sourcegraph's documentation for detailed information on available LLM options and user actions.

By following these steps, you can make the most of Sourcegraph Cody's AI coding assistance features to enhance your coding efficiency and productivity.

Pros
  • Facilitates tracking trends in the codebase and automating large-scale code changes
  • Availability of a temporary free 'Pro' version
  • Assistance in writing, understanding, and fixing code faster
  • Powered by AI for enhanced assistance
  • Open-sourced for transparency and collaborative improvement
  • Aids in automating workflows with commands for common tasks
  • Context-aware chat support for human-like query interactions
  • Useful for reducing friction, speeding up feedback loops, and improving developer velocity
  • Enables faster onboarding to new codebases, understanding code, and finding & fixing security risks
  • Can be integrated seamlessly into most popular IDEs like VS Code and JetBrains at no cost
  • Provides additional security, scalability, and control for organizations with Cody Enterprise
  • Unlimited usage and context search for entire codebase with Cody Enterprise
  • Creates a software intelligence platform that brings insights from the entire codebase to the developer's editor
  • Cody uses advanced search and codebase context to help write and fix code faster
  • Provides autocomplete suggestions for single lines or entire functions in any programming language
Cons
  • Cody requires Cloud-based services to power its AI features, which may not be suitable for customers looking for a fully self-hosted or air-gapped solution
  • Cody Free may have usage limits which could be a constraint for individuals or professional developers working on larger projects
  • Cody Enterprise requires an annual contract, which may not be suitable for all organizations
  • Cloud-based services are required to power Cody's AI features, which may not be ideal for customers seeking a fully self-hosted or air-gapped solution
  • No specific cons mentioned, but factors like price for Cody Pro and missing features compared to other AI tools may influence the perceived value for money

Sourcegraph Cody FAQs

What is Cody Free best suited for?
Cody Free is best for individuals working on hobby projects or professional devs trying out AI coding assistants. Usage limits apply.
What is Cody Pro best suited for?
Cody Pro is best for professional developers who want unlimited usage and context for larger local codebases.
What is Cody Enterprise designed for?
Cody Enterprise is for organizations needing security, scalability, and control. It uses the Sourcegraph platform to provide context of an organization's remote codebase to Cody.
How are Cody autocompletions counted?
Cody autocompletions are counted based on the number of suggestions served to the user in their IDE as ghost text, including all suggestions regardless of acceptance.
How does Cody retrieve codebase context for personalizing responses?
Cody can personalize responses by generating embeddings for local user repositories. Cody Free users can create embeddings for up to 200MB of code, while Cody Pro users can create embeddings for up to 1GB of code.
How does Cody Enterprise retrieve context?
Cody Enterprise uses Sourcegraph search to retrieve context, allowing Cody to pull context from a team's full codebase at any scale.
What support options are available for Cody Pro and Cody Enterprise customers?
Email and web portal support are available to both Cody Pro and Cody Enterprise customers, with the option for premium support with enhanced SLAs as an add-on for Cody Enterprise customers.
How is Cody Pro billed?
Cody Pro is billed on a monthly basis and can be paid with a credit card.

Get started with Sourcegraph Cody

Sourcegraph Cody reviews

How would you rate Sourcegraph Cody?
What’s your thought?
Be the first to review this tool.

No reviews found!