Coder Social home page Coder Social logo

raznar / cody Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sourcegraph/cody

0.0 0.0 0.0 31.21 MB

AI that knows your entire codebase

Home Page: https://cody.dev

License: Apache License 2.0

Shell 0.08% JavaScript 0.41% C++ 0.14% Scheme 0.09% Python 0.33% C 0.11% PHP 0.07% Java 0.24% Go 0.98% Rust 0.10% Kotlin 2.03% TypeScript 89.35% CSS 6.03% HTML 0.04%

cody's Introduction

Cody

Code AI with codebase context

Cody is an AI coding assistant that uses search and codebase context to help you understand, write, and fix code faster.

Docscody.dev

vscode extension License test Twitter Discord

Get started

Install Cody from the VS Code Marketplace or the JetBrains Marketplace, then check out the demos to see what you can do.

— or —

  • Build and run the VS Code extension locally: pnpm install && cd vscode && pnpm run dev
  • See all supported editors

What is Cody?

Cody is an open-source AI coding assistant that helps you understand, write, and fix code faster. It uses advanced search to pull context from both local and remote codebases so that you can use context about APIs, symbols, and usage patterns from across your codebase at any scale, all from within your IDE. You can also choose from the latest large language models—like GPT-4o and Claude 3 Opus—to customize Cody to your needs.

Cody is available for VS Code, JetBrains, and on the web.

See cody.dev for more info.

What can Cody do?

  • Chat: Ask Cody questions about your codebase. Cody will use semantic search to retrieve files from your codebase and use context from those files to answer your questions. You can @-mention files to target specific context, and you can also add remote repositories as context on Cody Enterprise.
  • Autocomplete: Cody makes single-line and multi-line suggestions as you type, speeding up your coding and shortcutting the need for you to hunt down function and variable names as you type.
  • Inline Edit: Ask Cody to fix or refactor code from anywhere in a file.
  • Commands: Cody has quick commands for common actions. Simply highlight a code snippet and run a command, like “Document code,” “Explain code,” or “Generate Unit Tests.”
  • Swappable LLMs: Support for Anthropic Claude 3, OpenAI GPT-4o, Mixtral, Gemini 1.5, and more.
    • Free LLM usage included Cody Free uses Anthropic Claude 3 and is available for individual devs on both personal and work code, subject to reasonable per-user rate limits (more info).

Demos

Autocomplete

Codebase-wide chat:

Contributing

All code in this repository is open source (Apache 2).

Quickstart: pnpm install && pnpm build && cd vscode && pnpm run dev to run a local build of the Cody VS Code extension.

See development docs for more.

Feedback

Cody is often magical and sometimes frustratingly wrong. Cody's goal is to be powerful and accurate. You can help:

Usage

Individual usage

Individual usage of Cody currently requires a (free) Sourcegraph.com account because we need to prevent abuse of the free Anthropic/OpenAI LLM usage. We're working on supporting more swappable LLM options (including using your own Anthropic/OpenAI account or a self-hosted LLM) to make it possible to use Cody without any required third-party dependencies.

Codying at work

You can use Cody Free or Cody Pro when Codying on your work code. If that doesn't meet your needs (because you need higher rate limits, a dedicated/single-tenant instance, audit logs, etc.), upgrade to Cody Enterprise.

Existing Sourcegraph customers

The Cody editor extensions work with:

  • Sourcegraph Cloud
  • Sourcegraph Enterprise Server (self-hosted) instances on version 5.1 or later

cody's People

Contributors

abeatrix avatar philipp-spiess avatar sqs avatar valerybugakov avatar umpox avatar olafurpg avatar toolmantim avatar beyang avatar dominiccooney avatar thenamankumar avatar keegancsmith avatar dantup avatar renovate[bot] avatar deepak2431 avatar akalia25 avatar taras-yemets avatar kalanchan avatar pkukielka avatar mkondratek avatar arafatkatze avatar jtibshirani avatar strum355 avatar hitesh-1997 avatar cbart avatar bobheadxi avatar superauguste avatar novoselrok avatar rafax avatar eseliger avatar nathan-downs avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.