One command to stage, commit, and push with AI-generated commit messages.
brew tap mikwiseman/wai-git && brew install acpOr with curl:
curl -fsSL https://raw.githubusercontent.com/mikwiseman/wai-git/main/install.sh | bash# First run - automatically starts setup
acp
# Reconfigure
acp setupThat's it! On first run, acp will guide you through setup.
acp # Stage all, generate message, commit, push
acp -y # Skip confirmation
acp -n # Don't push
acp -d # Dry run (show message only)
acp -p ollama # Use specific provider
acp -m gpt-4o # Use specific model
acp -s auth # Add scope: feat(auth): ...Config file: ~/.config/acp/config
# Provider: ollama | openai | claude
ACP_PROVIDER=ollama
# API keys (if using cloud providers)
ACP_OPENAI_API_KEY=sk-...
ACP_CLAUDE_API_KEY=sk-ant-...
# Custom models (optional - smart defaults used)
ACP_OPENAI_MODEL=gpt-5-mini
ACP_CLAUDE_MODEL=claude-haiku-4-5
ACP_OLLAMA_MODEL=qwen2.5-coder:7b| Provider | Cost | Setup |
|---|---|---|
| Ollama | Free | brew install ollama && ollama pull qwen2.5-coder:7b |
| OpenAI | ~$0.25/1000 commits | Get API key |
| Claude | ~$1/1000 commits | Get API key |
git,curl,jq
# macOS
brew install git curl jq
# Ubuntu
sudo apt install git curl jqMIT