Observed since 21 Oct, 10:46 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
AI generated commit messages!
Use AI to generate commit message for your staged changes.
openai, groq, gemini, togetherai, deepseek, qwen) or your custom provider.pip install ai-gen-commit
In any git directory with staged changes, run:
aic
aic -d
aic -m <model-name>
aic -m "llama3.2:3b"
# OR
export OLLAMA_MODEL="llama3.2:3b"
To run in remote mode, export your API keys as:
export OPENAI_API_KEY=<your-api-key>
Specify which remote provider to use:
export AI_COMMIT_PROVIDER="gemini" or "openai" or "togetherai" or "groq" or "deepseek" or "mistral"
then enable remote mode:
aic -r
Specify the model to use based on the provider:
export AI_COMMIT_PROVIDER="groq"
export AI_COMMIT_MODEL="qwen-2.5-32b" # pass the model as env var
aic -r
# ---
export AI_COMMIT_PROVIDER="openai"
aic -r -m "gpt-4o-2024-11-20" # pass the model as flag
# ---
export AI_COMMIT_PROVIDER="gemini"
aic -r -m "gemini-1.5-flash"
You can use any OPEN AI compatible provider/server for commit generation.
export AI_COMMIT_PROVIDER=custom # should be set to custom
export AI_COMMIT_MODEL=llama3.2:3b # example
export AI_COMMIT_PROVIDER_BASE_URL=http://localhost:11434/v1 # example
export OPENAI_API_KEY=<your-api-key> # if your custom provider requires one
Set your editor environment variable:
export EDITOR=vim
export EDITOR=nvim
# For VSCode
export EDITOR='code --wait'
After commit message is generated, press e to edit using the defined $EDITOR.
Defaults to using vi.
Users can generate commit messages based on the format and instructions defined in the system prompt.
To define system prompt on project level
.ai-commit file in your git repository's root directory (same location as the .git folder)To define a global system prompt
~/.$HOME/.ai-commit| Project-level System Prompt > Global System Prompt > Built-in system prompt.
aic -h
make setup
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.4 | 6 Oct 2026 | 1 |
This describes our collected data; it is not a security assessment.
Observed since 21 Oct, 10:46 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:b46d271f9b41452f442df8dd49a74e9365544b50f784121bc71372ad5efe07fc