aic AI-powered git commits

01 — Introduction

Stop writing
commit messages.
Stop untangling
merge conflicts.

aic reads your diff, drafts a conventional commit, and commits it — one command. Mid-merge? It resolves your conflicts file-by-file, with a diff to approve before anything lands. Nothing staged? It groups your work into logical commits for you.

then run aic setup
aic commit staged work · or batch-plan unstaged
aic setup one-time wizard — provider → key → model
aic list show resolved config + masked API key

02 — How it works

install once → type aic → clean commit.

  1. 01
    install brew install aic
  2. 02
    setup provider · key · model
  3. 03
    run type: aic
  4. 04
    read reads the diff
  5. 05
    draft writes the message
  6. 06
    commit ships it ✓

03 — Auto-batching

nothing staged?

aic groups your unstaged work into logical commits — and ships each one. One aic command becomes a clean, reviewable history without you staging a single file.

auto-batching ✦

see aic among the best AI commit tools →

04 — Providers & privacy

your key · your model

Bring your own provider. aic talks straight to your LLM — no middleman, no per-commit markup, no proxy. Your API key never leaves your machine.

  • OpenAI
  • Anthropic
  • Gemini
  • DeepSeek
  • Groq
  • Ollama
  • xAI
  • Mistral
  • OpenRouter
  • Perplexity
  • Together
  • OpenAI-compatible
OpenAI
gpt-5-mini
Anthropic
claude-haiku-4-5
Gemini
gemini-2.5-flash
DeepSeek
deepseek-v4-flash
Groq
llama-3.3-70b-versatile
Ollama
llama3.3
xAI
grok-4.3
Mistral
mistral-small-latest
OpenRouter
(your model)
Perplexity
sonar
Together
meta-llama/Llama-3.3-70B-Instruct-Turbo
OpenAI-compatible
(your model)

no middleman · no per-commit markup · calls go straight from your machine

read the provider code →

05 — Install

install aic in one line.

brew tap CaicoLeung/aic && brew install aic

Update with `brew upgrade aic`. Homebrew installs are detected automatically, so `aic update` will redirect you to brew.

then run aic setup to pick provider, key, and model.