AI-powered conventional commit message generator. Analyzes your staged changes and suggests a commit message following the Conventional Commits spec.
npm install -g @smeltier/aicommitAdd to your .zshrc or .bashrc:
export AICOMMIT_PROVIDER=anthropic # anthropic | openai | ollama
export AICOMMIT_API_KEY=your-api-key
export AICOMMIT_LANG=en # language for commit messagesgit add .
aicommit| Provider | Default model |
|---|---|
| anthropic | claude-haiku-4-5-20251001 |
| openai | gpt-4o-mini |
| ollama | llama3 |
To override the model:
export AICOMMIT_MODEL=claude-opus-4-6See the MIT License