AI Commits for IntelliJ based IDEs/Android Studio.
AI Commits is a plugin that generates your commit messages by using git diff and LLMs. To get started, install the plugin and configure a LLM API client in plugin's settings: Settings > Tools > AI Commits
- Generate commit message from git diff using LLM
- 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
- Anthropic
- Azure Open AI
- Gemini Google AI
- Gemini Vertex AI
- GitHub Models
- Hugging Face
- Mistral AI
- Open AI
- Ollama
- Qianfan (Ernie)
The plugin is implemented in a generic way and uses langchain4j for creating LLM API clients. If you would like to use some other LLM model that is supported by langchain4j, 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 "AI Commits" > Install Plugin > Restart IntelliJ IDEA
For Mac: IntelliJ IDEA > Preferences > Plugins > Marketplace > Search for "AI Commits" > Install Plugin > Restart IntelliJ IDEA
- Download zip from releases
- Import to IntelliJ: Settings > Plugins > Cog > Install plugin from disk...
- Set LLM client configuration in plugin's settings: Settings > Tools > AI Commits
- Star the repository
- Buy me a coffee
- Rate the plugin
- Share the plugin
- Sponsor me
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
- Inspired by Nutlope's AICommits.
- openai-kotlin for OpenAI API client.
- langchain4j for LLM API clients.
Please see LICENSE for details.