Runs your pre-commit checks, turns failures into error reports your coding agent can act on, and writes a conventional commit message for each group of changes. No OpenAI required.
Not just another AI wrapper. commit-mint understands your staging area, your hooks, and your workflow.
10 changed files across 3 concerns? commit-mint splits them into separate commits, each with its own focused message.
When biome, tsc, vitest, or eslint fails — get a structured error report you can copy to clipboard and paste straight into a coding agent. Skip the hook, restage, edit, or cancel.
lint-staged-compatible checks in .cmintrc that run after staging but before the AI call. Already using lint-staged? Rename your config and go.
Works with Groq, Cerebras, and Mistral out of the box. Bring your own API key, pick the provider that fits your budget.
cmint --agent runs non-interactively with JSON output — auto-group, generate, and commit from any coding agent. No TUI, no prompts.
Every message follows the Conventional Commits spec. feat, fix, docs, chore — properly scoped and formatted.
Three commands. No accounts to create, no dashboards to configure.
Install globally via npm, or run once with npx. Requires Node.js 18+ and git.
Run the interactive setup. Pick your AI provider and paste your API key.
Stage your changes and let commit-mint do the rest. Use -a to auto-stage everything.
commit-mint vs other commit message tools.
| Feature | commit-mint | aicommits | opencommit | cz-git | commitizen |
|---|---|---|---|---|---|
| AI-generated messages | ✓ | ✓ | ✓ | — | — |
| Auto-group by intent | ✓ | — | — | — | — |
| Hook failure recovery | ✓ | — | — | — | — |
| Pre-flight checks | ✓ | — | — | — | — |
| lint-staged-compatible config | ✓ | — | — | — | — |
| AI agent mode (JSON output) | ✓ | — | — | — | — |
| Multiple AI providers | ✓ | — | ✓ | — | — |
| Cached retries | ✓ | — | — | — | — |
| Conventional commits | ✓ | ✓ | ✓ | ✓ | ✓ |
| Open source (MIT) | ✓ | ✓ | ✓ | ✓ | ✓ |