Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>AI Git PilotNew to Visual Studio Code? Get it now.
AI Git Pilot

AI Git Pilot

som shrestha

| (0) | Free
AI-powered commit messages using free models — Ollama, Groq, Gemini. No paid API required.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

PilotCommit

AI-powered commit message generator for VS Code. Works with free AI models — no paid API required.

Features

  • One click — click ✨ in Source Control panel to generate a commit message
  • 100% free — Ollama (local/private), Groq (1000 req/day), Gemini (1500 req/day), OpenRouter
  • Works everywhere — optional global git hook covers all terminals and git clients (GitKraken, Sourcetree, CLI)
  • Conventional Commits style by default (also short or detailed)
  • Smart diff handling — strips lock files, truncates huge diffs automatically
  • Branch-aware — includes branch name in context for better suggestions

Quick Start

  1. Install the extension
  2. Run PilotCommit: Setup / Change Provider from the Command Palette
  3. Stage your changes (git add)
  4. Click ✨ in the Source Control panel title bar

AI Providers

Provider Free Tier Privacy Speed
Ollama (recommended) Unlimited 100% local Fast
Groq 1,000 req/day Cloud Very fast
Google Gemini 1,500 req/day Cloud Fast
OpenRouter Free models Cloud Varies

Ollama Setup (recommended)

  1. Download from ollama.com
  2. Run: ollama pull qwen2.5-coder:7b
  3. Select Ollama in PilotCommit setup

Groq Setup

  1. Get a free key at console.groq.com
  2. Select Groq in PilotCommit setup and paste your key

Global Hook (Terminal Support)

To generate commit messages in any terminal or git client:

Command Palette → PilotCommit: Install Global Git Hook

Requires jq and curl to be installed. The hook fires on every git commit.

Settings

Setting Default Description
pilotcommit.provider ollama AI provider
pilotcommit.ollamaModel qwen2.5-coder:7b Ollama model
pilotcommit.ollamaUrl http://localhost:11434 Ollama server URL
pilotcommit.groqApiKey — Groq API key
pilotcommit.geminiApiKey — Gemini API key
pilotcommit.style conventional conventional / short / detailed
pilotcommit.language english Language for commit messages
pilotcommit.customInstructions — Extra prompt instructions
pilotcommit.maxDiffSize 8000 Max diff chars sent to AI
pilotcommit.excludeFiles lock files Files excluded from diff

Commands

  • PilotCommit: Generate Commit Message — generate and inject message
  • PilotCommit: Setup / Change Provider — interactive setup wizard
  • PilotCommit: Install Global Git Hook — hook for all terminals

License

MIT — somshrestha3669@gmail.com

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft