AI Features
Git Canopy uses AI to help you write better commit messages and pull request descriptions.
Table of contents
- Getting started
- Generate commit messages
- AI Commit
- Generate pull requests
- Choose your provider
- Custom instructions
- Launch AI coding tools
Getting started
Before using AI features, you need to add an API key.
- Open Settings (gear icon in the toolbar)
- Go to the AI tab
- Click Add Key next to your preferred provider
- Paste your API key and click Save
Your API key is stored securely in the macOS Keychain.
You can get an API key from Anthropic or OpenAI.
Generate commit messages
When you have staged changes ready to commit:
- Click the sparkles button next to the commit message field
- Git Canopy analyzes your diff and generates a message
- Edit the message if needed, then commit
The AI follows conventional commit format by default (e.g., feat:, fix:, docs:).
AI Commit
For a faster workflow, use AI Commit:
- Make changes to your files
- Click the AI Commit button in the worktree lane
- Git Canopy stages all files, generates a message, and prepares the commit
This is useful when you want to commit everything in one action.
Generate pull requests
When creating a pull request:
- Click Create PR in the worktree lane footer
- In the Create PR sheet, click the sparkles button next to the title or description
- Git Canopy analyzes your commits and diff to generate content
For the fastest workflow, click AI Create to generate both title and description, then create the PR in one action.
Choose your provider
Git Canopy supports multiple AI providers and models:
| Provider | Model | Best for |
|---|---|---|
| Anthropic | Claude Sonnet 4.5 | Best quality (default) |
| Anthropic | Claude Haiku 4.5 | Faster, lower cost |
| OpenAI | GPT-4o | Alternative high quality |
| OpenAI | GPT-4o Mini | Faster, lower cost |
To change your provider:
- Open Settings > AI
- Select your preferred Provider and Model
Custom instructions
You can customize how AI generates messages.
Global instructions
- Open Settings > AI
- Edit the Commit Instructions or PR Instructions fields
- Your instructions are appended to the AI prompt
Per-project instructions
For project-specific conventions:
- Open the repository in Git Canopy
- Click Settings in the toolbar
- Go to the AI tab
- Add custom instructions for this project only
Project instructions override global instructions when set.
Instruction presets
Git Canopy includes built-in presets:
- Conventional Commits (default) - Uses
feat:,fix:,docs:prefixes - Minimal - Brief, no strict format
- Detailed - Comprehensive messages with context
Launch AI coding tools
Git Canopy can open your worktree in AI-powered editors:
- Right-click a worktree lane header
- Select Open in Claude Code or Open in Cursor
This launches the AI coding tool at the worktree’s directory, ready to work on that branch.
You need Claude Code or Cursor installed for this feature.