Commit AI is a plugin that generates your commit messages by using git diff and LLMs.
- AI-powered commit messages: Generate meaningful commit messages from your code changes
- Multiple LLM providers: Support for Groq and Pollinations with top models like Llama 3.3 70B
- Smart diff analysis: Analyzes only selected files and lines in the commit dialog
- Amend mode support: Generate commit messages for previous commits in amend mode
- Custom prompts: Create and customize your own prompt templates with variables
- Universal IDE support: Works across all JetBrains IDEs (IntelliJ, PhpStorm, PyCharm, WebStorm, etc.)
- Git & SVN support: Compatible with both Git and Subversion version control systems
Install the plugin and configure your LLM client in Settings > Tools > Commit AI
- Generate commit message from git diff using LLM
- Generate commit message for previous commit when in amend mode
- Compute diff only from the selected files and lines in the commit dialog
- Create your own prompt for commit message generation
- Use predefined variables and hint to customize your prompt
- Supports Git and Subversion as version control systems.
- Groq (Freemium)
- Pollinations (Free)
The plugin uses langchain4j for creating LLM API clients with OpenAI-compatible APIs. It currently supports Groq and Pollinations. If you would like support for additional LLM providers, please make a feature request in GitHub issues.
IntelliJ IDEA, PhpStorm, WebStorm, PyCharm, RubyMine, AppCode, CLion, GoLand, DataGrip, Rider, MPS, Android Studio, DataSpell, Code With Me
Or you could install it inside your IDE:
For Windows & Linux: File > Settings > Plugins > Marketplace > Search for "Commit AI" > Install Plugin > Restart IntelliJ IDEA
For Mac: IntelliJ IDEA > Preferences > Plugins > Marketplace > Search for "Commit AI" > Install Plugin > Restart IntelliJ IDEA
- Download zip from releases
- Import to IntelliJ: Settings > Plugins > Install plugin from disk...
- Set LLM client configuration in plugin's settings: Settings > Tools > Commit AI
Please see CONTRIBUTING for details.
- langchain4j for LLM API clients.
Please see LICENSE for details.