Repolode
Blarc

Blarc/ai-commits-intellij-plugin

A JetBrains IDE plugin that generates git commit messages from your diff using a configurable LLM backend.

Stars
872
Forks
71
Open issues
34
Last commit
9 days ago

What is it?

AI Commits is a plugin for IntelliJ-based IDEs and Android Studio that writes commit messages from the git diff using large language models. You configure an LLM API client in the plugin settings under Tools > AI Commits, and the plugin uses the changes you have staged or selected in the commit dialog as input.

The plugin computes the diff only from the files and lines selected in the commit dialog, and it lets you write your own prompt with predefined variables and hints. It supports Git and Subversion as version control systems. Model access is built on langchain4j, and supported backends include OpenAI, Anthropic, Azure OpenAI, Gemini, Mistral AI, Ollama, Hugging Face, Amazon Bedrock, GitHub Models, Qianfan, and local CLIs such as Claude Code and Codex CLI.

Key features

  • 01Generates commit messages from git diff using an LLM
  • 02Computes the diff only from files and lines selected in the commit dialog
  • 03Supports custom prompts with predefined variables and hints
  • 04Works with Git and Subversion
  • 05Connects to many LLM providers, including local Ollama

Use cases

  • Writing consistent commit messages without leaving the IDE
  • Committing only part of a change set and generating a message for that subset
  • Using a self-hosted or local model through Ollama for commit generation

In collections

Topics

FAQ

What is ai-commits-intellij-plugin?
A JetBrains IDE plugin that generates git commit messages from your diff using a configurable LLM backend. AI Commits is a plugin for IntelliJ-based IDEs and Android Studio that writes commit messages from the git diff using large language models. You configure an LLM API client in the plugin settings under Tools > AI Commits, and the plugin uses the changes you have staged or selected in the commit dialog as input.
Is ai-commits-intellij-plugin free to use? What license does it have?
ai-commits-intellij-plugin is open source under the MIT license. Check the license terms before using it in commercial products.
Is ai-commits-intellij-plugin still maintained?
Actively maintained. The last commit to ai-commits-intellij-plugin was on Oct 28, 2026.
What can I use ai-commits-intellij-plugin for?
Writing consistent commit messages without leaving the IDE Committing only part of a change set and generating a message for that subset Using a self-hosted or local model through Ollama for commit generation
Where can I get ai-commits-intellij-plugin?
The source code and installation instructions are on GitHub: https://github.com/Blarc/ai-commits-intellij-plugin

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects