Skip to content
aicoolies logo
aicommits logo

aicommits

CLI that writes your git commit messages with AI

aicommits is a lightweight CLI tool that generates git commit messages using AI by analyzing your staged changes. Supports OpenAI, Anthropic, and local models via multiple providers. Configure message style, language, and conventional commit format. 8,800+ GitHub stars, MIT licensed. Built by Nutlope (Hassan El Mghari), known for popular open-source AI projects. Install via npm and run 'aicommits' to generate a message from your current diff.

About aicommits

aicommits takes a simple approach to AI-assisted git workflows: stage your changes, run the command, and get a descriptive commit message generated from the diff. The tool sends only the diff (not your full codebase) to the configured LLM, keeping API costs minimal and context focused. It supports conventional commit format, custom commit types, and multiple language output for international teams.

Configuration is minimal — set your API key and preferred model, then use 'aicommits' as a drop-in replacement for 'git commit -m'. The tool can also run as a git hook via 'aicommits hook install', automatically generating messages for every commit. Multiple AI providers are supported through a plugin system, including OpenAI, Anthropic, and OpenAI-compatible endpoints for local model servers.

With 8,800+ GitHub stars and MIT license, aicommits is one of the most popular AI git tools. It prioritizes simplicity over features — no GitHub Actions integration or team workflows, just fast commit message generation. Compared to OpenCommit which offers more integration options and conventional commit enforcement, aicommits is the lighter-weight choice for developers who want minimal tooling overhead.

Pricing & Platform Specs

Pricing Summary

Free and 100% open source under the MIT license. aicommits has no licensing fees, subscriptions, or seat costs. Users provide their own OpenAI API key (BYOK) and only pay for standard OpenAI per-token model usage (e.g., GPT-4o-mini or GPT-4o).

full pricing breakdown →

Supported Platforms

CLI (npm), git hook integration

Explore categories, tags & use cases

AI-generated git commit messages in 1 second

OpenCommit is a CLI tool that generates meaningful git commit messages using LLMs in about one second. It analyzes staged changes and produces conventional commit-style messages following your team's conventions. Supports OpenAI, Anthropic Claude, Ollama local models, and other providers. 7,200+ GitHub stars, MIT licensed, winner of GitHub 2023 Hackathon. Works as a CLI command, git hook, or GitHub Action for automated commit message generation.

Open Source

Customer engagement infrastructure for developers

Knock is flexible notification and customer engagement infrastructure built for developers and AI agents. Send messages across email, SMS, push, chat, and in-app channels from a single API. Features AI-native journey building with single-prompt workflows, advanced segmentation with dynamic attributes, in-app messaging with custom components, data unification across warehouse and CDP, and version control with rollbacks. Delivers hundreds of millions of messages monthly with 99.99% uptime.

freemium

Side-by-Side Comparisons

OpenCommit logo
OpenCommit
vs
aicommits logo
aicommits

OpenCommit vs aicommits — Feature-Rich AI Commit Tool vs Lightweight Commit Generator

OpenCommit and aicommits both generate Git commit messages using AI, but serve different developer preferences. OpenCommit offers broader LLM provider support, conventional commit enforcement, and GitHub Actions integration. aicommits prioritizes minimalism with a clean CLI and git hook installation. This comparison helps developers choose between feature breadth and lean simplicity for AI-assisted commit messages.

OpenCommitaicommits

Community experience

Sources & verification

Sources checked
Content verified

Verification dates are editorial checks. Routine CMS saves and automatic updatedAt timestamps do not advance them.

FAQ

What is aicommits?

aicommits is a lightweight CLI tool that generates git commit messages using AI by analyzing your staged changes. Supports OpenAI, Anthropic, and local models via multiple providers. Configure message style, language, and conventional commit format. 8,800+ GitHub stars, MIT licensed. Built by Nutlope (Hassan El Mghari), known for popular open-source AI projects. Install via npm and run 'aicommits' to generate a message from your current diff.

Is aicommits free?

Yes — aicommits is open source and free to use. Free and 100% open source under the MIT license. aicommits has no licensing fees, subscriptions, or seat costs. Users provide their own OpenAI API key (BYOK) and only pay for standard OpenAI per-token model usage (e.g., GPT-4o-mini or GPT-4o).

Is aicommits open source?

Yes — aicommits is open source.

Is aicommits still maintained?

Yes — aicommits is active. Its listing was last verified on September 6, 2026.

What are the best aicommits alternatives?

The first editor-selected aicommits alternatives are OpenCommit, Knock.