DevChat is an open-source workflow engine that enables developers to craft scripts for:
- Engaging with users through a chat panel within their IDEs, facilitating the completion of development tasks.
- Creating intelligent, automated workflows for these tasks, utilizing the full potential of various large language models (LLMs).
DevChat combines the flexibility of script writing, the cutting-edge capabilities of latest AI models, and an enriched user experience through intuitive chat GUI.
While numerous AI coding tools exist, many still struggle to adeptly handle nuanced scenarios inherent in bespoke development processes. For instance, your team might adhere to a specific coding format that existing products don't support configuration for. Or, you desire an automated workflow to run tests and, upon encountering an error, allow AI to attempt a fix, but only once to avoid likely subsequent failures. Such specific functionalities are often not fully realized in available products.
At its core, we believe that the creativity and productivity of developers are yet to be fully unleashed. Our aim with DevChat is to simplify the integration of AI in software development to the level of writing a script, thereby unlocking new possibilities for developers.
Source code of the intelligent scripts in the above video:
- Generate unit tests of a function: /unit_tests.
- Write a well-formatted commit message: /commit.
- Automatically rename poorly-named local variables for improved readability: /refactor.names.
Documentation: https://docs.devchat.ai/chatmark-markdown-spec.
For GUI, install our IDE extension or plugin.
For CLI:
- Install Python 3.8+ and pip.
- Install DevChat by running:
pip install devchat
. - Set your OpenAI API Key by running
export OPENAI_API_KEY="[sk-...]"
(or DevChat access key). - To access help, use the command:
devchat --help
ordevchat prompt --help
.
-
Repositories:
- The core library and CLI: https://github.com/devchat-ai/devchat
- System default workflows: https://github.com/devchat-ai/workflows
- Visual Studio Code extension: https://github.com/devchat-ai/devchat-vscode
- IntelliJ Platform plugin: https://github.com/devchat-ai/devchat-intellij
-
Issues and pull request are welcome: https://github.com/devchat-ai/devchat/issues
-
Join our Discord!
-
The traditional code-centric paradigm is evolving. Stay ahead of the curve with DevChat.
-
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.)
Email: [email protected]
We are creators of Apache DevLake.