Generate git commit messages from your diff using any major AI provider. Conventional Commits subject + optional bullet-point body.
Supported providers
Anthropic Claude
OpenAI GPT (incl. o-series reasoning models)
Google Gemini
DeepSeek
xAI Grok
Mistral
Groq
OpenRouter
Ollama (local, no API key)
Any custom OpenAI-compatible endpoint
Usage
Run command: AI Commit: Select Provider, Model & API Key (Cmd+Shift+P)
Pick provider → pick model → paste API key (stored securely in VS Code SecretStorage)
Click the ✨ sparkle button in the Source Control title bar
Commit message appears in the message box — edit if needed, commit
Staged changes are used first; falls back to unstaged, then to a list of untracked files.
Multi-root workspaces: the repo is picked from the SCM view you clicked, else the active file.
Settings
Setting
Default
Description
aiCommit.provider
anthropic
Provider id
aiCommit.model
claude-opus-4-8
Model id
aiCommit.baseUrl
""
Override base URL (required for custom, optional for ollama)
aiCommit.includeBody
true
Allow a multi-line body below the subject. false = subject only