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! ๐
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.
-
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. -
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.
-
To guide AI in your work, define your own workflows with DevChat.
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.
-
The traditional code-centric paradigm is evolving.
-
Write prompts to create code. Transform prompts into all the artifacts in software engineering.
(This image is licensed by devchat.ai under a Creative Commons Attribution-ShareAlike 4.0 International License.)
-
We like to call it DevPromptOps
(This image is licensed by devchat.ai under a Creative Commons Attribution-ShareAlike 4.0 International License.)
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
anddevchat prompt --help
.
- Join our Discord!
- Participate in discussions!
Issues and pull request are welcome: https://github.com/devchat-ai/devchat/issues
- 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.
We are creators of Apache DevLake.