Generate Conventional Commit messages from staged Git diffs with OpenAI-compatible and Gemini APIs, right inside VS Code.
English · 简体中文 · Report Bug · Request Feature
- AI-powered commit messages - send staged diffs to OpenAI, Azure OpenAI, DeepSeek, or Gemini and get back a ready-to-use Conventional Commit message.
- Gitmoji or plain Conventional Commits - switch between emoji-prefixed and plain formats with one click.
- 19 languages - generate commit subjects and bodies in English, Chinese, Japanese, Korean, French, and more.
- Per-repository overrides - set a different language, prompt preset, or provider profile for individual repositories.
- Provider Profiles - save multiple API configurations and switch between them without editing settings by hand.
- Secure API keys - keys are stored in VS Code SecretStorage, never in settings.json.
- Extra context from the SCM input - type a hint in the Source Control message box before generating, and the AI will incorporate it.
AI Commit Plus is currently distributed as a VSIX package through GitHub Releases. It is not published to the Visual Studio Marketplace.
- Download the latest
.vsixfrom GitHub Releases. - Run
Extensions: Install from VSIX...from the Command Palette. - Select the downloaded
ai-commit-plus-<version>.vsix.
Requires Node.js
24.14.1or later for local development and packaging.
- Install the
.vsixpackage from GitHub Releases and enableAI Commit Plus. - Run
Manage Provider Profilesfrom the Command Palette (Ctrl+Shift+P). - Create a profile: pick a provider type (OpenAI-compatible or Gemini), enter a name, model, and API key.
- Stage the files you want to commit.
- (Optional) Type extra context in the Source Control message box.
- Click the AI Commit Plus button in the Source Control title area.
- Review the generated message and commit.
The status bar shows the current provider, language, and prompt preset. Click it to change any of them on the fly.
Profiles let you save and switch between multiple AI provider configurations. Each profile stores the provider type, display name, base URL, model, temperature, and Azure API version, while the API key is kept in VS Code SecretStorage.
| Command | Description |
|---|---|
Manage Provider Profiles |
Create, edit, copy, delete, or activate profiles |
Switch Provider Profile |
Quick shortcut to the profile switcher |
Supported provider types:
- OpenAI-compatible - OpenAI, Azure OpenAI, DeepSeek, and any API that speaks the OpenAI chat-completions protocol.
- Gemini - Google Gemini models.
| Command | Description |
|---|---|
AI Commit Plus |
Generate a commit message from staged changes (available in the SCM title bar) |
Manage Provider Profiles |
Add, edit, copy, or delete provider profiles |
Switch Provider Profile |
Change the active provider profile |
Show Available OpenAI Models |
Browse and pick a model from an OpenAI-compatible endpoint |
Set Commit Language for Current Repository |
Override the commit language for the current repository |
Set Prompt Preset for Current Repository |
Override the prompt preset (Gitmoji / plain / custom) for the current repository |
All settings live under the ai-commit-plus. prefix.
| Setting | Type | Default | Notes |
|---|---|---|---|
PROVIDER_PROFILES |
array | [] |
Saved provider profiles; API keys are stored in SecretStorage |
ACTIVE_PROVIDER_PROFILE_ID |
string | "" |
Active profile ID; can be overridden per workspace or folder |
AI_COMMIT_LANGUAGE |
string | English |
Commit message language (19 options); supports per-repo overrides |
PROMPT_PRESET |
string | with-gitmoji |
with-gitmoji, without-gitmoji, or custom; supports per-repo overrides |
AI_COMMIT_SYSTEM_PROMPT |
string | "" |
Custom system prompt used when PROMPT_PRESET is custom |
You can override the commit language, prompt preset, and active provider profile for individual repositories. Overrides are stored as VS Code workspace or folder settings (typically in .vscode/settings.json).
Run these commands from the Command Palette when the target repository is open:
Set Commit Language for Current RepositorySet Prompt Preset for Current RepositoryManage Provider Profiles-> pick a profile -> Set for current workspace
If
.vscode/settings.jsonis tracked by Git, the override will appear as a local change.
git clone https://github.com/mizuikk/ai-commit-plus.git
cd ai-commit-plus
npm installOpen the project in VS Code and press F5 to launch an Extension Development Host.
You can also develop with GitHub Codespaces:
Issues and pull requests are welcome. Use GitHub Issues for bugs, feature requests, and discussion.
AI Commit Plus began as a fork of Sitoi/ai-commit and has since evolved with independent branding, Provider Profiles, per-repository overrides, Gemini support, and a combined status bar.
- auto-commit - https://github.com/lynxife/auto-commit
- opencommit - https://github.com/di-sukharev/opencommit
This project is MIT licensed.

