Skip to content

AI coding assistant with human in the loop. Not yet another experiment. True productivity.

License

Notifications You must be signed in to change notification settings

Ahua-Tan/devchat

 
 

Repository files navigation

devchat

DevChat: Intelligent Scripts that Streamline Your Dev Workflows

PRs Welcome CircleCI GitHub license Downloads PyPI version Discord Chat

Harness AI-Powered Scripts in Your IDE with a Dynamic Chat GUI

🧩 Develop AI-powered scripts in a unified framework with minmized efforts to handle IDEs and LLMs.

🛠️ Tailor the AI coding assistant to align perfectly with your specific needs.

✨ Elevate your text chats with a dynamic, Markdown-rendered GUI for enhanced interaction.

What is DevChat?

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.

Why DevChat?

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.

Showcase

Watch the video

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.

Core Features

IDE Chat Panels

ChatMark

Documentation: https://docs.devchat.ai/chatmark-markdown-spec.

IDE Services

Quick Start

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 or devchat prompt --help.

Contributing

What is Prompt-Centric Software Development (PCSD)?

Contact

Email: [email protected]

We are creators of Apache DevLake.

About

AI coding assistant with human in the loop. Not yet another experiment. True productivity.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.5%
  • Other 0.5%