/devchat

The way developers work with AI. Going beyond simple code auto-completion.

Primary LanguagePythonApache License 2.0Apache-2.0

devchat

DevChat


PRs Welcome CircleCI GitHub license Downloads PyPI version Discord Chat


The DevChat core library and CLI.

👉 For an enhanced experience and UI, we welcome you to install Visual Studio Code extension from Visual Studio Marketplace! Enjoy DevChat VSCode! 👏


What is DevChat?

DevChat is the open-source solution to help you write prompts to generate code and documentation, going beyond simple code auto-completion. It isn't limited to performing predefined operations on short code snippets.

DevChat is the way developers interact and collaborate with AI.

💬 Build the future with prompts, not code.

Why DevChat?

  • Great output requires great input, to maximize the power of AI, DevChat assists you seamlessly to provide the right context to the AI.

    Chat history, code, files, directory trees, git diff --cached, or the output of any command.

    20230523-220717-cut-merged-1684855581224

    20230523-220717-00 00 28 206-00 00 44 950

  • Once you have generated code with AI, DevChat streamlines the actions to properly integrate and ship.

    View diffs, copy or insert, commit & sync, or export to documentation, wikis, and more.

    20230523-220717-00 00 46 728-00 01 00 120

    20230523-220717-00 01 00 120-00 01 14 452

  • To guide AI in your work, define your own workflows with DevChat.

    20230523-220717-00 01 14 614-00 01 41 680

    Explore more prompt templates, iterative calls to AI, and program operations.

  • To ensure the experience fits your preferences, customize your own experiences with DevChat.

    Open-source, no waiting for opaque feature schedules. Access GPT-4 today and more models in the future.

What is Prompt-Centric Software Development (PCSD)?


Quick Start

For UI, install our Visual Studio Code extension from Visual Studio Marketplace.

For CLI:

  • Install DevChat by running: pip install devchat.
  • Make sure you are working in a Git or SVN repository, as DevChat only works within one.
  • Set your OpenAI API Key by running export OPENAI_API_KEY="[sk-...]" (or DevChat access key).
  • To access help, use the commands: devchat --help and devchat prompt --help.

Community

Contributing

Issues and pull request are welcome: https://github.com/devchat-ai/devchat/issues

Roadmap

  • Implement code diff application.
  • Improve code diff application using code change instructions.
  • Develop a framework for defining workflows.
  • Implement topic management.
  • Enable interaction with external development tools.
  • Introduce more selective workflows.

Contact

hello@merico.dev

We are creators of Apache DevLake.