AI code reviews.
Right in your terminal .
A provider-agnostic, local-first CLI that reviews your staged changes, a single commit, or a PR-style range — before your colleagues do. Zero telemetry. No server.
works with every provider you already pay for
Built like a real CLI.
Not a SaaS in disguise.
Four guarantees we won't compromise on. Read the source — it's ~11k lines of Go.
Privacy-first & local-only
No telemetry, no analytics endpoint, no account. Config is plain YAML on disk. Pair with Ollama for a fully offline review loop — no API key, no network egress.
Project rules in plain markdown
Drop a COMMITBRIEF.md next to your README. No DSL, no YAML schema — just the words you'd say in a code review, used as the system prompt.
Engineered for cheap tokens
SHA-256 response cache skips reviews you've already run. Provider
prompt caching (Anthropic, OpenAI, Gemini) cuts repeated input cost.
--verbose tells you what you saved.
Truly provider-agnostic
Swap between six providers — four API backends plus subprocess
wrappers around Claude Code and Gemini CLI — with
commitbrief providers use or per-run
--provider. Keep an alternate
configured so a 429 is one command away.
From zero to first review
before your coffee finishes brewing.
Pick provider, paste key
An interactive wizard cycles through Anthropic, OpenAI, Gemini, and Ollama; pings the provider to confirm the key works.
Optional: your own rules
Embedded defaults ship in the binary, so day-one runs work without this step. init writes COMMITBRIEF.md + an OUTPUT.md template you can edit.
Review before you commit
Default scope is your staged diff. Reach any historic range via commitbrief diff <args> — forwards verbatim to git diff (HEAD~3 HEAD, main...feature, merge SHAs). Output in terminal, plain markdown, or strict JSON.
Your rules file,
on a token diet.
Three embedded prompts rewrite COMMITBRIEF.md into a denser, equivalent
instruction set. Backs up the original under
.commitbrief/backups/, applies atomically,
and refuses to overwrite when the result isn't actually smaller.
Catch the bug before
your colleague does.
One install. No account. Free forever — because it's open source.