aicommits

aicommits

★ 4.5 🔖 920 saves 💰 Free Code Assistant

aicommits is an open-source CLI that writes your git commit messages for you using AI, straight from the terminal.

Overview

aicommits is a tiny, focused command-line tool: run it after staging changes and it generates commit message suggestions from your diff, letting you pick or regenerate before committing. It supports multiple generated options, works with OpenAI and other model providers via API keys, and stays out of your workflow otherwise. As an open-source project with tens of thousands of GitHub stars, it has become a default shortcut for developers who hate writing commit messages.

The tool’s popularity comes from restraint: it does exactly one thing and disappears into the git workflow. Developers accept, edit, or regenerate suggestions with a keystroke, keeping commit velocity high without importing an assistant into their editor.

Key Features

  • AI-generated commit messages from staged diffs
  • Multiple suggestions with instant regeneration
  • Works entirely from the git workflow in your terminal
  • Supports OpenAI and compatible model providers
  • Conventional-commit style configuration
  • Lightweight open-source install via npm

The project’s simplicity has made it a fixture in dotfiles setups and git aliases around the world. Because it is open source, teams audit and fork it freely, and contributors keep it aligned with new model providers as they arrive.

Pricing

aicommits is free and open source. You supply your own model API key and pay only for usage.

Who Is It For

Developers who want consistent, descriptive commit history with zero context switching out of the terminal.

FAQ

Is aicommits free to use?

Yes, the tool itself is free; model API usage costs are borne by your own key.

Does aicommits offer an API?

It is a CLI wrapper around model APIs rather than a hosted service.

How does aicommits compare to alternatives?

IDE plugins like AICommit are richer; aicommits wins on simplicity and works with any editor.

Which model providers work with aicommits?

OpenAI and compatible APIs are supported through simple configuration with your own key.

Can I enforce conventional commits?

Yes, style configuration lets you generate messages that follow conventional commit formats.

Does it work with any git host?

Yes, it works with local git so GitHub, GitLab, and self-hosted remotes are all fine.

Can I edit before committing?

Yes, you pick or rewrite the generated message before the commit is created.

Does aicommits install easily?

Yes, installation via npm takes a minute and configuration is minimal.

Does aicommits work with any language?

Yes, it reads diffs for any programming language and generates commit messages describing the changes accurately.

🚀 Visit aicommits Official Site

Related tools

Claude Code is Anthropic's agentic coding assistant that lives in your terminal and works across an entire repository, not just the open…

★ 4.818500 savesDetails >

Cline is a popular open-source VS Code agent that plans, edits, and runs commands with human-in-the-loop approval at every step. OverviewCline is…

★ 4.79800 savesDetails >

Antigravity is Google's agentic development platform where AI agents work across editors and terminals, supervised through a shared mission-control interface.OverviewAntigravity treats agents…

★ 4.29107 savesDetails >