Git Lrc

Free, Micro AI Code Reviews That Run on Commit

Last verified:

Visit Git Lrc

What is Git Lrc?

Git Lrc (git-lrc) is a free, unlimited AI code review tool developed by Hexmos that hooks into git commit and runs an AI review on every diff before it lands in your codebase. It acts as a commit-time quality gate for the AI era

Git Lrc pricing

Pricing model: Freemium

git-lrc is completely free with unlimited reviews. It uses Google Gemini's Free tier - you bring your own API key, so there's no middleman billing. The free tier includes 250 requests per day and 10 requests per minute for unpaid Gemini API keys. No credit card, no trial, no

Git Lrc pros

  • Free and unlimited AI code reviews with no credit card required
  • Hooks directly into git commit workflow for pre-commit reviews
  • 60-second setup time with machine-wide installation
  • Uses your own Google Gemini API key (bring your own key)
  • No seat-based pricing or trial walls
  • Catches credential leaks before they land in codebase
  • Detects logic errors and behavior changes from AI-generated code
  • GitHub-style diff viewer with inline AI comments
  • Three workflow options: review, vouch, and skip
  • Records review decisions in git log for audit trail
  • Organization-level prompt customization available
  • Handles large diffs through batching and context-aware processing
  • Source-available on GitHub with self-hosting option
  • Works across all IDEs as Git-level integration
  • VSCode/Cursor/AntiGravity extensions available via LiveReview
  • No billing layer or middleman charging for reviews
  • Lightweight CLI tool without dashboard overhead
  • Prevents expensive cloud calls from being introduced
  • Reduces production bugs from AI-generated code
  • Maintains developer control while AI assists

Git Lrc cons

  • Quality of suggestions depends on underlying Gemini model
  • False positives can occur requiring human judgment
  • Requires your own Gemini API key setup
  • Free tier has rate limits (250 requests/day for unpaid API key)
  • Cloud coordinator may not meet strict privacy requirements
  • Complex context-dependent changes still need deeper human review
  • Primarily focused on micro-reviews rather than comprehensive analysis
  • Limited to Google Gemini model (no multiple AI backend support in free version)
  • No built-in team dashboard or metrics in git-lrc itself
  • May abort commits requiring rework before committing

Frequently asked questions about Git Lrc

What is git-lrc and what problem does it solve?

git-lrc is a pre-commit AI code review tool that hooks into git commit and runs an AI review on every diff before it lands. It solves the problem of AI coding tools like Copilot and Cursor silently introducing bugs, removing logic, relaxing constraints, introducing expensive cloud calls, and leaking credentials. Think of it as a braking system for GenAI's high-speed code generation, catching issues at commit time rather than in production.

How do I install and set up git-lrc?

Installation takes 60 seconds. On Mac/Linux, run: curl -fsSL https://hexmos.com/lrc-install.sh | sudo bash. Then setup your keys with: git lrc setup. The tool installs machine-wide, applying hooks to every repository on your system.

How does the review workflow work?

When you type git commit, the tool intercepts the command and sends your diff to AI using your Gemini API key. It opens a local web interface showing a GitHub-style diff with inline AI comments. You can: accept feedback and abort commit to fix issues, use --vouch to manually verify and force commit (recorded in git log), or use --skip for trivial changes like docs/typos (also recorded in git log).

Can teams customize the AI checks?

Yes, git-lrc offers prompt customization at the organization level to adapt checks to team needs. The team-level LiveReview product provides additional features like dashboards, metrics, git host integrations, and multiple AI backend support with affordable paid plans.

What happens with huge diffs?

Huge diffs are handled well due to the tool's context handling, batching, and processing mechanisms. The system is designed to handle large code changes without losing context, making it suitable for substantial AI-generated code blocks.

Is my code sent to Hexmos servers?

git-lrc runs a cloud coordinator for convenience, but the entire system is source-available on GitHub. You can self-host your own version if you have stricter privacy or compliance requirements, giving you full control over where your code is processed.

How is git-lrc different from IDE LLM reviews?

git-lrc is a Git-level integration that works across a team regardless of IDE/editor preferences, providing uniform reviews as team-level standards enforcement. IDE reviews are editor-specific, while git-lrc ensures consistent review standards across all team members using different editors. It also has VSCode/Cursor/AntiGravity extensions via LiveReview.

What types of issues does git-lrc catch?

git-lrc catches logic errors, credential leaks, expensive cloud calls, behavior changes, performance regressions, hidden logic removal, and security leaks introduced by AI-generated code. It acts as a gatekeeper to prevent these issues from entering the codebase before they cause production problems.

How does git-lrc relate to LiveReview?

git-lrc and LiveReview supplement each other. git-lrc is the free, unlimited CLI tool for pre-commit micro-reviews, while LiveReview is Hexmos' broader team platform with dashboards, metrics, git host integrations, multiple AI backend support, and affordable paid plans. LiveReview also provides VSCode/Cursor/AntiGravity extensions and can be used for self-hosting with your own API keys.

Categories

Use cases

Browse all AI tools on NeedAnAI