← all repositories
Blarc/ai-commits-intellij-plugin

Your IDE now writes commit messages you won't hate

An IntelliJ plugin that feeds your git diff to an LLM and spits back a commit message, supporting everything from OpenAI to your local Ollama instance.

816 stars Kotlin Coding Assistants
ai-commits-intellij-plugin
Velocity · 7d
+0.7
★ / day
Trend
steady
star history

What it does

AI Commits is a JetBrains plugin that reads your staged changes, sends the diff to a language model, and drops a generated commit message into the commit dialog. It works with Git and Subversion, and can scope the diff to just selected files or lines if you don’t want the LLM seeing everything.

The interesting bit

The plugin doesn’t hardcode to one AI provider. It builds LLM clients generically through langchain4j, which is why it supports a baker’s dozen of backends—from the obvious (OpenAI, Anthropic, Gemini) to the less obvious (Qianfan/Ernie, GitHub Models, Claude Code via CLI). You can also write your own prompt template with variables and hints, so you’re not stuck with whatever default the author thought was clever.

Key highlights

  • 12+ LLM providers supported, including local Ollama and CLI tools like Codex
  • Custom prompt templates with predefined variables
  • Diff scoping: selected files or selected lines only
  • Generic architecture via langchain4j; new providers can be added by request
  • Available on JetBrains Marketplace for the full IDE family (including Android Studio)

Caveats

  • The README notes the plugin is “implemented in a generic way,” which is polite code for “some provider integrations may be thinner than others”
  • No mention of token cost estimation or caching, so heavy use with paid APIs could get expensive without warning

Verdict

Worth a look if you write enough commits in JetBrains IDEs that message fatigue is real, and you already have API keys lying around. Skip it if you’re allergic to sending code diffs to third-party services, or if your team enforces commit-message conventions too strict for a generic LLM prompt to satisfy.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.