Draft commit messages with AI
Connect an AI provider, request a draft from staged changes, and review what it says before committing.
Configure a provider
Open Settings → AI and select a supported provider. Enter the endpoint, model, and credentials the selected form requests. Use a provider allowed for your project. Its pricing and data handling apply.
Draft from the changes you intend to commit
- Stage the changes for this commit and review the staged diff.
- Request a draft in the commit composer. This sends staged change context to the configured provider. See what the request contains.
- Read the editable summary and description. If the draft says “Add search” but your patch fixes only the empty state, revise it to “Fix empty search results.”
- Confirm the intended files and commit when the message matches the patch.
You can enter a message directly whenever you prefer.


Review, stage, and commit changes · See supported AI providers
MoonGit