DevChat is an open-source tool that helps developers write prompts to generate code and documentation.
Project description
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. -
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.
What is Prompt-Centric Software Development (PCSD)?
-
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.)
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 repository, as DevChat only works within one.
- Set your OpenAI API Key by running
export OPENAI_API_KEY="[sk-...]"
. - To access help, use the commands:
devchat --help
anddevchat prompt --help
.
Community
-
Join our Discord!
-
Participate in discussions!
-
Chinese speaking users: 欢迎加入中文讨论组!
Contributing
Issues and pull request are welcome: https://github.com/covespace/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
We are creators of Apache DevLake.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.