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 a better experience, check out our Visual Studio Code extension on Visual Studio Marketplace! Install and enjoy the enhanced UI 👏
What is DevChat?
DevChat is an open-source tool that helps you write prompts to generate code and documentation. It is not 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?
-
To enable AI to write code, DevChat assists you in providing the right context for AI.
Chat history, code, files, directory trees,
git diff --cached
, or the output of any command. -
To apply AI-generated code, DevChat streamlines your actions to take.
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.
More prompt templates, iterative calls to AI, and program operations.
-
To suit 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 (PSSD)?
-
The traditional code-centric paradigm is evolving.
-
Write prompts to create code. Transform prompts into everything.
(This image is licensed by devchat.ai under a Creative Commons Attribution-ShareAlike 4.0 International License.)
-
It is DevPromptOps
(This image is licensed by devchat.ai under a Creative Commons Attribution-ShareAlike 4.0 International License.)
Quick Start
For UI, install the 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!
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.