Nutlope /aicommits
A CLI that writes your git commit messages for you with AI
★ 9,131⑂ 484👁 29⑃ 204● 175▤ 76
-1
日增长
9,131
stars
484
forks
29
watchers
204
prs
175
issues
76
releases
README
A CLI that writes your git commit messages for you with AI. Never write a commit message again. --- What's new in v5 - Use the subscription you already have. Generate commit messages with your Claude plan, your ChatGPT plan through Codex, or your OpenCode Go plan. No API key needed. - Setup finds it for you. aicommits setup detects a logged-in claude or codex CLI and an OpenCode key, and lists them first. If a CLI is installed but logged out, setup can start the vendor's own login. - Safe by design. aicommits never reads or copies your Claude or Codex credentials. Subscription runs have no tools, no shell access and no saved sessions. - Works everywhere aicommits does. The Git hook, headless mode, the VS Code extension and aicommits pr all work with every provider. - More providers. OpenCode Go and Anthropic join Together AI, OpenAI, Groq, xAI, OpenRouter, Ollama, LM Studio and any OpenAI-compatible endpoint. - Fresh defaults. Together AI stays the recommended API provider, now on DeepSeek V4.1 Flash 1017, with GLM-5.3 and Beam as highlights. Setup The minimum supported version of Node.js is v22. Check your Node.js version with node --version. 1. Install _aicommits_: sh npm install -g aicommits 2. Run the setup command to choose your AI provider: sh aicommits setup This will guide you through: - Detecting subscriptions you already have on this machine (Claude, Codex, OpenCode Go) - Selecting your AI provider (sets the provider config) - Configuring your API key, when the provider needs one - Automatically fetching and selecting from available models (when supported) - Choosing your preferred commit message format (plain, conventional, conventional+body, gitmoji, or subject+body) Supported providers include: - TogetherAI (recommended) - Get your API key from TogetherAI - Claude Agent - Uses your Claude Pro, Max, Team or Enterprise login. No API key. Powered by Claude. - Codex - Uses your ChatGPT login through the Codex CLI. No API key. - OpenCode Go - Uses your OpenCode Go plan - OpenAI - Get your API key from OpenAI API Keys page - Anthropic - Get your API key from Claude Console - Groq - Get your API key from Groq Console - xAI - Get your API key from xAI Console - OpenRouter - Get your API key from OpenRouter - Ollama (local) - Run AI models locally with Ollama - LM Studio (local) - No API key required. Runs on your computer via LM Studio - Custom OpenAI-compatible endpoint - Use any service that implements the OpenAI API Together AI, OpenAI, xAI, and LM Studio models use the agentic generation flow. Tested Together models without compatible tool calls use the one-shot path; OpenAI, xAI, and LM Studio fall back when an endpoint rejects tools. LM Studio also falls back when a local model does not submit the required tool call. Other providers continue through the one-shot flow. For CI/CD environments, you can also set up configuration via the config file:
Top issues
#238Take into account previous commit messages5 comments · 2023-08-04#364MCP support?2 comments · 2026-08-17#357feat: support provider-specific request options0 comments · 2026-08-07
Latest release
v5.0.1 v5.0.1 2026-10-275.0.1 (2026-10-27)