~/projects/gitcommit-ai.md

GitCommit AI

01Agentic AIfeaturedshipped Oct 2026

An agentic, repository-aware Git commit assistant (git ai-commit) that learns how a repository writes commits and drafts messages in that style, checked by a deterministic critic before you see them.

Repository (opens in a new tab)All projects

How it works

How GitCommit AI works: Staged diff + history → Diff analyst → Context retrieval → Generator → Critic → You confirm → Staleness check + commit rejected Staged diff +history Diff analyst Context retrieval Generator Critic You confirm Staleness check +commit
  1. Staged diff + history
  2. Diff analyst
  3. Context retrieval
  4. Generator
  5. Critic ↺ rejected: back to “Generator”
  6. You confirm
  7. Staleness check + commit

What it does

  • Detects the repository's commit convention and style profile from recent history, with a confidence score.
  • A critic loop checks each draft against deterministic rules plus an LLM faithfulness check, and regenerates until it passes.
  • Never stages files and refuses to commit if the staging area or HEAD changed while it was working.
  • Supports Anthropic, Gemini, Hugging Face, OpenAI, OpenRouter and Ollama (local or remote), with an evaluation harness that replays your own history.

Stack

  • LangGraph
  • Python
  • Multi-agent
  • OpenAI
  • Anthropic
  • Gemini
  • Ollama