AI Commits is a command-line tool that writes your git commit messages for you using an AI model. It works by running git diff to gather your staged code changes, sending that diff to an LLM (originally GPT-3, now configurable), and receiving back a concise, human-readable commit message. The tool is designed to integrate cleanly into a developer’s workflow so that generating a descriptive commit message becomes a single command rather than a chore. It supports configuration via environment variables or config files so you can set your API key, preferred model, message style, and more. There are also options to preview, edit, or regenerate the AI-proposed message before actually committing, giving developers control instead of blindly trusting the output. Because it’s published as an npm package and even as a Homebrew formula, installation is straightforward across platforms.

Features

  • CLI that auto-generates commit messages from your git diff using an LLM
  • Configurable provider, model, and style via environment variables or config file
  • Interactive flow to preview or edit the suggested commit message before using it
  • Distributed as an npm package and Homebrew formula for easy installation
  • Supports conventional commit styles and other formatting presets in newer versions
  • Reduces friction around writing clear, descriptive commit messages for frequent commits

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow AI Commits

AI Commits Web Site

Other Useful Business Software
Paessler: Easy to Use With Enterprise Power. Free Trial Icon
Paessler: Easy to Use With Enterprise Power. Free Trial

A low-code dashboard makes monitoring intuitive for any admin, while scripting and custom sensors give experts full control.

You shouldn't have to choose between a monitoring tool that's easy to use and one that's powerful enough for a complex environment. PRTG's low-code interface lets any admin build dashboards, set alerts and monitor devices without scripting, while custom sensors and full API access are there when your team needs deeper control. One platform, no compromise. Download a free 30-day trial now.
Get Free Download
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of AI Commits!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Artificial Intelligence Software, TypeScript Command Line Tools

Registered

2025-11-19