comparisongit-agent vs cz-git
cz-git is a highly configurable Commitizen adapter that adds AI-assisted message suggestions, emoji support, and rich TUI customisation on top of the standard interactive flow.
feature comparison
| Feature | git-agent | cz-git |
|---|---|---|
| Atomic commit splitting | git-agent — Yes | cz-git — No |
| Conventional Commits format | git-agent — Yes | cz-git — Yes |
| LLM-backed message drafting | git-agent — Yes | cz-gityes — optional, OpenAI key required |
| Pre-commit hook integration with retry loop | git-agent — Yes | cz-gitpartial — no retry loop |
| Dry-run preview before committing | git-agent — Yes | cz-gityes — TUI review step |
| Amend last commit message | git-agent — Yes | cz-git — No |
| Free shared gateway | git-agent — Yes | cz-gitno — AI mode requires your own key |
| Config-file based scope definitions | git-agentyes — .git-agent/config.yml | cz-gityes — .cz-git.js / .czrc |
install
git-agent
brew install gitagenthq/brew/git-agentcz-git
npm install -g cz-git commitizen && echo '{ "path": "cz-git" }' > ~/.czrcoutput example
git-agent
test(checkout): add integration tests for card payment failure paths
- cover declined card (4000 0000 0000 0002) returning 402 with structured error
- cover expired card returning 402 with card_expired code
- assert that no order record is persisted on payment failure
The happy path was covered but failure branches had zero coverage; these
tests caught a bug where declined-card errors were mapped to 500 instead
of 402.cz-git
test(checkout): add card payment failure integration testsFAQ
Is cz-git more configurable than git-agent?cz-git offers extensive TUI customisation options. git-agent is intentionally minimal in configuration — scope definitions in config.yml are the primary knob. More config reduces the automation value.
Does cz-git's AI assist split commits automatically?No. cz-git's AI mode generates a message for the current staged diff as a single commit. Only git-agent discovers the working tree, plans, stages, and executes atomic splits across multiple commits.
Do I need Node.js installed to use git-agent?No. git-agent is a standalone Go binary. cz-git requires Node.js and npm/pnpm to be installed globally.