| 🇩🇰 Dansk | 🇪🇸 Español | 🇮🇷 Farsi | 🇫🇮 Suomi | 🇯🇵 日本語 | 🇳🇴 Norsk | 🇵🇹 Português | 🇷🇺 Русский | 🇦🇱 Shqip | 🇨🇳 中文 | 🇮🇳 हिन्दी |

GenAI today is a race car without brakes. It accelerates fast -- you describe something, and large blocks of code appear instantly. But AI agents silently break things: they remove logic, relax constraints, introduce expensive cloud calls, leak credentials, and change behavior -- without telling you. You often find out in production.
git-lrc is your braking system. It hooks into git commit and runs an AI review on every diff before it lands. 60-second setup. Completely free.
In short, git-lrc helps Prevent Outages, Breaches, and Technical Debt Before They Happen
At a glance: 10 risk categories · 100+ failure patterns tracked · every commit scanned automatically.
# Try it now (Linux/macOS)
curl -L https://hexmos.com/ipm-install | bash && ipm i HexmosTech/git-lrc
Windows, alternative installs, and full setup walkthrough: see Get Started.
A wall of inline comments is hard to triage. The Issue Navigator turns every review into a structured, filterable view across 10 risk categories and 100+ patterns — so you can see exactly what's wrong, ranked by how much it can hurt you.

Every completed review also generates a short slide deck — a 60-second summary of what changed, why, and what risks were flagged, without anyone having to write it.

For onboarding new engineers, post-incident reviews, or just remembering why a change was made six months ago, this is the fastest way to get oriented — without re-reading the diff.
See git-lrc catch serious security issues such as leaked credentials, expensive cloud operations, and sensitive material in log statements
https://github.com/user-attachments/assets/cc4aa598-a7e3-4a1d-998c-9f2ba4b4c66e
git-lrc plugs into the one workflow step every team already shares.# Linux/macOS
curl -L https://hexmos.com/ipm-install | bash && ipm i HexmosTech/git-lrc
# Windows
iwr https://hexmos.com/ipm-install-ps | iex; ipm i HexmosTech/git-lrc
Linux / macOS:
curl -fsSL https://hexmos.com/lrc-install.sh | bash
Windows (PowerShell):
iwr -useb https://hexmos.com/lrc-install.ps1 | iex
GitHub Codespaces
curl -fsSL https://git.new/lrc-install | bash
Binary installed. Hooks set up globally. Done.
Installing git-lrc also gives you claude-lrc -- the same review, vouch, and skip workflow, available as slash commands right inside Claude Code. No separate install, no leaving the chat.
| What you want | How |
|---|---|
| Natural language | review with lrc |
| Slash command | /lrc:review |
| Quality vouch | /lrc:vouch |
| Intentional bypass | /lrc:skip |
Use git-lrc when you want editor-independent, commit-time enforcement across repos and tools. Use claude-lrc when you want natural-language and slash-command control directly inside Claude Code.
git lrc setup
Here's a quick video of how setup works:
https://github.com/user-attachments/assets/392a4605-6e45-42ad-b2d9-6435312444b5
Two steps, both open in your browser:
~1 minute. One-time setup, machine-wide. After this, every git repo on your machine triggers review on commit. No per-repo config needed.
Predictable, LOC-based. 30k LOC free every month. Premium starts at $32 for 100k LOC. No headcount based pricing, scales with workload.
| Tier | What you get | Notes |
|---|---|---|
| 1. Free Individual | Install git-lrc and start with 30k LOC per month |
Bring your own AI keys. Keep git-lrc and the VS Code extension. |
| 2. Premium | Upgrade when 30k LOC is not enough | Starts at $32 for 100k LOC. Scales by workload, not by seat. |
| 3. Enterprise | Move further for privacy and deployment control | Self-hosting, SSO, custom domains, and tighter data control. |
No credit card required for the free tier. See the full pricing page for details.
git add .
git commit -m "add payment validation"
# review launches automatically before the commit goes through
git add .
git lrc review # run AI review first
# or: git lrc review --vouch # vouch personally, skip AI
# or: git lrc review --skip # skip review entirely
git commit -m "add payment validation"
Either way, a web UI opens in your browser.
https://github.com/user-attachments/assets/ae063e39-379f-4815-9954-f0e2ab5b9cde
https://github.com/user-attachments/assets/b579d7c6-bdf6-458b-b446-006ca41fe47d
| Action | What happens |
|---|---|
| Commit | Accept and commit the reviewed changes |
| Commit & Push | Commit and push to remote in one step |
| Skip | Abort the commit — go fix issues first |
📎 Screenshot: Pre-commit bar showing Commit / Commit & Push / Skip buttons
Typical workflow with AI-generated code:
git add . → git lrc review — AI flags issuesgit add . → git lrc review — AI reviews againgit lrc review --vouch → git commit — you vouch and commitEach git lrc review is an iteration. The tool tracks how many iterations you did and what percentage of the diff was AI-reviewed (coverage).
Once you've iterated enough and you're satisfied with the code:
git lrc review --vouch
This says: "I've reviewed this — through AI iterations or personally — and I take responsibility." No AI review runs, but coverage stats from prior iterations are recorded.
Just want to commit without review or responsibility attestation?
git lrc review --skip
No AI review. No personal attestation. The git log will record skipped.
Every commit gets a review status line appended to its git log message:
LiveReview Pre-Commit Check: ran (iter:3, coverage:85%)
LiveReview Pre-Commit Check: vouched (iter:2, coverage:50%)
LiveReview Pre-Commit Check: skipped
iter — number of review cycles before committing. iter:3 = three rounds of review → fix → review.coverage — percentage of the final diff already AI-reviewed in prior iterations. coverage:85% = only 15% of the code is unreviewed.Your team sees exactly which commits were reviewed, vouched, or skipped — right in git log.
In addition to the default Gemini se
$ claude mcp add git-lrc \
-- python -m otcore.mcp_server <graph>