
I wrote a CLI that writes your git commit messages. Works with any AI provider.
Spent the weekend building ai-commit - a CLI tool that generates commit messages from your staged diff. The gimmick is it's provider-agnostic: works with OpenAI, Anthropic, Ollama, Groq, whatever you have.
Why this exists: every other AI commit tool locks you into one provider. OpenAI only. Anthropic only. A local Ollama thing. If you switch providers, you switch tools. This one swaps providers in a config line or env var.
Also has a --install-hook flag that sets up a prepare-commit-msg hook.
Install: pip install ai-commit. Source: github.com/mohamedorigami-jpg/ai-commit
Curious what people think. Does provider-agnostic matter to you?
u/InterestingCherry812 — 6 days ago