git-lrc

Free, Unlimited AI Code Reviews That Run on Commit

402
Stars
+308
Stars/month
5
Releases (6m)

Star Growth

+50 (13.9%)
354387419Mar 27Apr 1

Overview

git-lrc is an AI-powered code review tool that automatically analyzes code changes during Git commits. It integrates directly with Git's commit workflow, examining diffs before they are finalized to catch potential issues early in the development process. The tool is designed to address concerns with AI-generated code, which can introduce bugs, remove logic, or change behavior without explicit notification. With a focus on security and code quality, git-lrc helps developers identify problems before they reach production. The tool positions itself as completely free with unlimited usage, making enterprise-grade code review accessible to all developers. Built with Go and featuring comprehensive security scanning workflows, it aims to provide professional-level code analysis without the typical cost barriers associated with automated code review services.

Deep Analysis

Key Differentiator

Git-native pre-commit AI review with iteration tracking and coverage metrics baked into git log — vs PR-level review tools that run after push

Capabilities

  • AI-powered code review on every git commit (pre-commit hook)
  • GitHub-style diff UI with inline AI comments and severity badges
  • Review iteration tracking with coverage metrics in git log
  • Vouch/skip workflow for human attestation
  • One-click copy of AI issues to feed back to coding agents
  • Multi-provider support (Gemini, OpenAI, Claude, DeepSeek, OpenRouter)

🔗 Integrations

Git (global hooks)Gemini APIOpenAIAnthropic ClaudeDeepSeekOpenRouter

Best For

  • Solo developers wanting AI review on every commit
  • Teams using AI coding agents who need review guardrails
  • Establishing code review habits in small teams

Not Ideal For

  • Replacing full PR review workflows (GitHub/GitLab CI)
  • Large teams with established code review processes

Languages

Go

Deployment

CLI binary (global install)IPM package managercurl installer (Linux/macOS/Windows)

Pricing Detail

Free: Completely free with your own API keys (Gemini free tier available)
Paid: N/A — free tool, bring your own AI API key

Known Limitations

  • Requires AI API key (Gemini free or bring your own)
  • Review quality depends on the AI model used
  • Web UI opens in browser (not inline in terminal)
  • Only reviews staged changes, not entire codebase

Pros

  • + Completely free with unlimited AI code reviews, removing cost barriers for comprehensive code analysis
  • + Seamless Git integration that automatically reviews changes on commit without disrupting developer workflow
  • + Quick 60-second setup process that minimizes onboarding friction for immediate productivity gains

Cons

  • - Limited documentation available in the provided README excerpt to fully evaluate feature completeness
  • - Relatively modest GitHub star count (361) suggests smaller community and potentially less mature ecosystem
  • - Dependency on AI models may result in false positives or missed issues that human reviewers would catch

Use Cases

  • Teams using AI coding assistants who need to validate automatically generated code for security vulnerabilities and logic errors
  • Individual developers working on personal projects who want professional-level code review without subscription costs
  • Organizations implementing security-first development practices that require automated scanning of all code changes before commit

Getting Started

Install git-lrc using the provided installation method for your platform, configure the tool to integrate with your Git repository's commit hooks, and make your first commit to see the AI code review in action analyzing your changes.

Compare git-lrc