OpenGit Composer is a VS Code extension that turns staged git changes into semantic, reviewable commit drafts with AI.
It groups related changes, explains the reasoning, and lets you inspect, edit, and commit from a dedicated composer panel or the Activity Bar container.
Install it from the VS Code Extensions view when published to the marketplace.
Download the VSIX directly:
Download opengit-composer-2.0.5.vsix
Then install it with:
code --install-extension opengit-composer-2.0.5.vsix- AI-assisted commit planning from staged changes
- Support for multiple providers:
- OpenAI
- Anthropic
- Groq
- Google Gemini
- Kimi (Moonshot)
- Ollama for local/offline use
- Semantic grouping of changes into atomic commits
- Conventional, Angular, Gitmoji, and custom commit styles
- Interactive diff viewer and draft editor
- Batch commit execution with progress feedback
- Provider connection testing and model availability checks
- Privacy controls for excluded files and redacted patterns
- Stage the changes you want to commit.
- Open OpenGit Composer from the VS Code Activity Bar.
- Choose a provider and model in AI Controls.
- Add an API key if your provider needs one.
- Click Compose to generate commit drafts.
- Review the grouped files, edit messages if needed, then commit individually or in batch.
You can configure OpenGit Composer in VS Code settings or by using the extension UI.
| Setting | Description | Default |
|---|---|---|
commitComposer.aiProvider |
AI provider to use | openai |
commitComposer.apiKey |
API key for the selected provider | "" |
commitComposer.model |
Model to use, or leave empty for provider default | provider default |
commitComposer.ollamaHost |
Ollama server URL | http://localhost:11434 |
commitComposer.commitFormat |
Commit style (conventional, angular, gitmoji, custom) |
conventional |
commitComposer.maxSubjectLength |
Maximum commit subject length | 72 |
commitComposer.splitThreshold |
File count threshold for splitting commits | 3 |
commitComposer.excludePatterns |
Glob patterns excluded from AI input | [] |
commitComposer.redactPatterns |
Regex patterns redacted before sending diffs to AI | [] |
commitComposer.debugMode |
Enable detailed logging | false |
OpenGit Composer sends staged diffs only to the provider you choose.
- API keys stay local in VS Code settings.
- You can exclude files from compose input.
- You can redact sensitive text before any request is sent.
- Ollama can keep all analysis local on your machine.
Commit Composer: Auto ComposeCommit Composer: Show Debug LogsCommit Composer: Copy Sanitized Logs