Coder Social home page Coder Social logo

philipp-spiess / cody Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sourcegraph/cody

0.0 2.0 0.0 1.95 MB

Code AI with codebase context

License: Apache License 2.0

Shell 0.17% JavaScript 0.33% TypeScript 96.57% CSS 2.79% HTML 0.10% Dockerfile 0.05%

cody's Introduction

Cody

Code AI with codebase context

"an AI pair programmer that actually knows about your entire codebase's APIs, impls, and idioms"

Docscody.dev

vscode extension License test Twitter Discord

Get started

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

— or —

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

What is Cody?

Cody is a code AI tool that autocompletes, writes, fixes, and refactors code (and answers code questions), with:

  • Codebase context: Cody fetches relevant code context from across your entire codebase to write better code that uses more of your codebase's APIs, impls, and idioms, with less hallucination.
  • Editor features: Popular extensions for VS Code and JetBrains (and WIP support for Neovim and Emacs).
    • Autocomplete: with better suggestions based on your entire codebase, not just a few recently opened files
    • Inline chat: refactor code based on natural language input, ask questions about code snippets, etc.
    • Recipes: explain code, generate unit test, generate docstring, and many more (contribute your own!)
    • Codebase-wide chat: ask questions about your entire codebase
  • Swappable LLMs: Support for Anthropic Claude and OpenAI GPT-4/3.5, highly experimental support for self-hosted LLMs, and more soon.
    • Free LLM usage included (currently Anthropic Claude/OpenAI GPT-4) for individual devs on both personal and work code, subject to reasonable per-user rate limits (more info).

See cody.dev for more info.

Demos

Autocomplete

Inline chat

More demos

Contributing

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

Quickstart: pnpm install && 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 your free individual account when Codying on your work code. If that doesn't meet your needs (because you need higher rate limits, a dedicated/single-tenant instance, scalable embeddings, audit logs, etc.), fill out the "Cody at work" form and we'll help.

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 akalia25 avatar beyang avatar bobheadxi avatar burmudar avatar camdencheek avatar danielmarquespt avatar deepak2431 avatar dominiccooney avatar eseliger avatar jtibshirani avatar keegancsmith avatar lrhacker avatar michaellzc avatar mrnugget avatar nathan-downs avatar novoselrok avatar olafurpg avatar philipp-spiess avatar renovate[bot] avatar sin-ack avatar sqs avatar st0nebreaker avatar superauguste avatar thenamankumar avatar tjdevries avatar toolmantim avatar umpox avatar valerybugakov avatar vdavid avatar

Watchers

 avatar  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.