git-lrc Commit-Time Code Review

Automatically review Git diffs and surface risks before each commit lands.

Stars
★ 1.5k
Last updated
9d ago v0.6.23
FARS reviewed
Nov 08, 2026 +2 new
License
NOASSERTION
Primary language
Go

At a glance

How it runs
CLIAgent plugin / skill
Works with
Universal · cross-platformClaude Code · OpenAI API · Claude API
Cost
Free tier plus a paid hosted plan
Setup effort
Low · running in minutes
You'll need
GitLiveReview API keySupported AI provider API keyWeb browserShell / CLINetwork accessLocal filesystem
Typical use
A developer using code-generation assistants wants to catch removed logic, weakened constraints, exposed credentials, or costly cloud calls before committing.
Not a fit if
  • Teams that need fully offline reviews without a browser UI
  • Teams unwilling to install a machine-wide Git hook
  • Anyone planning to resell modified versions as a competing service
Maintenance
Commits in the last 30 dayslast commit 2026-11-24latest release v0.6.23 (2026-11-22)
Source review
66/100 · Some gaps

What does this agent do, and when should you use it?

git-lrc is an AI code-review tool that runs from a global Git hook before a commit, with git lrc review available as a manual entry point. It reads staged changes or selected commit ranges, coordinates reviews through LiveReview, and uses a configured Gemini, OpenAI, Claude, DeepSeek, OpenRouter, Atlas Cloud, or compatible Anthropic connector to produce inline comments, severity labels, and a review summary in a browser UI. Its Issue Navigator filters findings by severity, category, type, and area, while Summary Deck generates a concise account of the change and its risks. An optional local engine uses a codebase-memory-mcp knowledge graph to rank hunks by blast radius and review priority; ordinary AI reviews continue without that engine. Commit messages can record whether review ran, was vouched for, or was skipped, together with iteration and coverage figures. Setup is machine-wide and applies to every Git repository by default, although hooks can be disabled per repository.

After installation, git-lrc installs a global Git hook that captures the staged diff before git commit; users can also select input explicitly with lrc review --staged, lrc review --commit HEAD, or lrc review --range HEAD~1..HEAD. LiveReview coordinates the review and invokes the first AI connector configured in lrc ui, returning GitHub-style inline feedback, severity badges, an overall summary, and a structured issue list. The browser interface includes staged-file navigation, added/deleted line counts, Issue Navigator, issue copying, comment-by-comment navigation, an event log, and Commit, Commit & Push, and Skip actions. The optional local graph engine assigns each hunk 0–100 Blast Radius and Review Priority scores and combines them at a 60/40 weighting; it indexes a repository on first use and refreshes incrementally afterward. lrc review --vouch avoids another AI call while recording personal responsibility and previous coverage, whereas lrc review --skip records neither review nor attestation. Repositories can supply up to 3,000 characters of review guidance through .lrc/rules/*.md and exclude files with .lrc/ignore.

  1. A developer using code-generation assistants wants to catch removed logic, weakened constraints, exposed credentials, or costly cloud calls before committing.
  2. A team whose engineers use different editors and AI assistants needs one review checkpoint tied to Git rather than an optional IDE extension.
  3. A reviewer facing a large, multi-file diff wants blast-radius and customer-impact signals to place the riskiest hunks first.
  4. An engineering lead needs Git-log evidence showing whether each commit was reviewed, vouched for, or skipped, along with iteration and coverage data.
  5. A repository maintainer wants reviewers to follow local security, dependency, or coding conventions expressed in version-controlled .lrc/ rules.
  6. A Claude Code user wants the bundled review with lrc, /lrc:review, /lrc:vouch, and /lrc:skip interactions.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • curl -L https://hexmos.com/ipm-install | bash && ipm i HexmosTech/git-lrc
  • curl -fsSL https://hexmos.com/lrc-install.sh | bash
Install notes cover
Windows · macOS · Linux

How do you install or deploy this agent?

The documented setup assumes Git, shell access, a web browser, and network connectivity. Recommended Linux/macOS installation:

curl -L https://hexmos.com/ipm-install | bash && ipm i HexmosTech/git-lrc

For Windows PowerShell:

iwr https://hexmos.com/ipm-install-ps | iex; ipm i HexmosTech/git-lrc

The direct Linux/macOS alternative is:

curl -fsSL https://hexmos.com/lrc-install.sh | bash

The direct Windows command is:

iwr -useb https://hexmos.com/lrc-install.ps1 | iex

Then run git lrc setup. The browser-based, one-time setup requires signing in with Hexmos for a LiveReview API key and obtaining a Gemini API key from Google AI Studio. Additional OpenAI, Claude, DeepSeek, OpenRouter, Atlas Cloud, or Anthropic Compatible API connectors can be added later through lrc ui. Configuration is machine-wide rather than per repository.

How do you use this agent?

For the automatic path, run:

git add .
git commit -m "add payment validation"

The review launches before the commit completes. To review first, run:

git add .
git lrc review

Inspect the inline findings in the browser, copy issues back to a coding assistant if desired, apply fixes, stage again, and rerun the review. When satisfied, use git lrc review --vouch and then commit; use git lrc review --skip when intentionally proceeding without review or attestation. Run lrc ui to add, update, reorder, or re-authenticate connectors—the first connector is selected by default. For repository-specific guidance, run lrc config init, edit .lrc/rules/*.md and .lrc/ignore, validate with lrc config check, and inspect the exact model instructions with lrc config preview. Disable the hook in one repository with git lrc hooks disable and restore it with git lrc hooks enable.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

FARS trust-control audit

Verified present in source (3/3)
  • data-flow disclosure

What are this agent's strengths and limitations?

Pros
  • The review happens before code enters permanent Git history and uses a global hook that is independent of any particular editor.
  • It combines line-level comments with a filterable Issue Navigator, Summary Deck, event history, and iteration and coverage records in Git log messages.
  • BYOK support covers Gemini, OpenAI, Claude, DeepSeek, OpenRouter, Atlas Cloud, and Anthropic-compatible endpoints, with configurable connector priority.
  • Optional risk ranking exposes contributing signals such as caller chains, entry points, duplicate implementations, missing tests, complexity, and historical co-change coupling.
  • Version-controlled repository rules and ignore patterns can be validated and previewed before their contents are sent to the reviewer.
Limitations
  • Core review requires network access, a LiveReview account/API key, at least one supported model key, and interaction with a browser UI; it is not a fully offline local reviewer.
  • Only the staged diff is sent for AI analysis, not the full repository, which limits the default review's access to broader codebase context.
  • Risk scoring depends on a separately auto-installed codebase-memory-mcp engine under ~/.lrc/bin, and initial indexing of a large repository can take several minutes.
  • The global hook applies to every repository on the machine by default, so teams must evaluate the workflow impact and explicitly disable it where unsuitable.
  • The modified Sustainable Use License permits internal business use and modification but prohibits resale as a competing service and commercial redistribution of modified versions.
  • The free allowance is capped at 30k LOC per month; Premium is documented as starting at $32 for 100k LOC.

How does this agent compare with similar options?

Compared with PR review, git-lrc moves feedback to the pre-commit stage, before faulty code is committed, pushed, and handed to teammates. Compared with an IDE extension, it uses Git commit as an editor-independent trigger shared by the team. The bundled claude-lrc provides natural-language and slash-command control inside Claude Code, while git-lrc supplies cross-editor commit-time enforcement. LiveReview is the named team-oriented extension of the product, adding dashboards, organization-level policies, and review analytics.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
git-lrc Commit-Time Code Review This agent 66 · Some gaps CLIFreemium ★ 1.5k 9d ago Go Claude Code · OpenAI API · Claude API
Aura Code Audit Trail 50 · Major gaps CLIFree ★ 56 1d ago Rust Codex · Claude Code
roborev Code Review 81 · Good CLIFree + model costs ★ 1.8k today Go Codex · Claude Code
jev-axi Judgment CLI 73 · Some gaps CLIFree + model costs ★ 49 5d ago TypeScript Claude Code

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Some gaps
66/ 100 5-point scale 3.3 / 5
This review covers the source as of Nov 08, 2026. The project has shipped 2 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 17/29
Reliability 8/14
Adaptability 14/18
Convention 12/18
Effectiveness 10/13
Verifiability 5/8
Why each dimension lost points
Trust17 / 29 · 2.9/5

SECURITY.md lists staged diff bundles, polling, setup, optional telemetry, and update requests, along with local configuration and state locations. It also describes credential-file permissions, atomic writes, HTTPS, and cross-host redirect restrictions, providing useful data-flow and partial sensitive-data evidence. Reviews send code to the configured service; default hooks have global effects; and installation executes downloaded scripts through curl | bash or PowerShell. Users can choose review, skip, or vouch, but consent boundaries for installation and automatic review are not fully detailed. Scans and SBOM generation are described, but this packet gives no scan results or dependency audit for this revision. Uninstall commands are shown, but a complete recovery path is not. Repository and security-contact attribution is present, while verified identity and release-maintenance responsibility are limited.

Reliability8 / 14 · 2.9/5

The README, CLI flags, and Claude skill mostly agree on review, skip, vouch, and agent-mode behavior; the documentation also explains that a failed agent-mode review does not write an attestation. Go dependencies are pinned and security scanning is described, but the product relies on remote services, API keys, external models, and an optional local graph engine, with limited availability guarantees in the packet. SECURITY.md lists timeout and 413 handling, CLI flags expose timeouts, and scripts report contextual errors; the evidence does not establish error messaging across every user path.

Adaptability14 / 18 · 3.9/5

The materials address individual, team, CI, and coding-agent use, with interactive and JSON modes, BYOK, self-hosted APIs, diff-scope options, and multi-platform installation. CLI flags define data-scope, interaction, optional graph-engine, and agent-mode behavior, though the local product materials do not fully describe server-side review boundaries and repository rules are sent to the review model. The skill precisely limits invocation to explicit review, skip, vouch, or hook-management intent, while the product also installs an automatic commit hook; those trigger modes are not identical. Linux/macOS, Windows, Codespaces, CI, and several connectors are documented, but there is no complete compatibility matrix.

Convention12 / 18 · 3.3/5

The README has clear sections for installation, setup, workflows, security, risk categories, and repository rules, though the visible README is lengthy and depends on external services not included in the packet. It documents platform-specific installation, setup, and some removal commands; remote scripts executed directly reduce inspectability. Core commands are stable, but users must distinguish git-lrc, lrc, LiveReview, and claude-lrc. Examples are broad and the materials disclose the policy TODO and that server-side retention is deployment-controlled. The license clearly identifies a restricted Sustainable Use/fair-code license rather than an OSI open-source license, but terms are complex and metadata says NOASSERTION. main.go provides a version, while the packet provides no matching changelog. Security contacts, reporting channels, and response targets are documented, but ongoing maintenance responsibility and verified publisher identity remain limited.

Effectiveness10 / 13 · 3.8/5

Inline comments, severity labels, JSON output, and the Issue Navigator make review findings usable for human triage or forwarding to an agent; git-log attestations provide a trace. The value proposition for pre-commit review is plausible, but utility and accuracy are mainly asserted in documentation and cannot be confirmed statically. Free quota, BYOK, self-hosting, and LOC-based pricing provide some cost context; remote code submission, external API dependence, review time, and pricing details are not fully quantified in this packet, so cost-benefit does not merit full marks.

Verifiability5 / 8 · 3.1/5

SECURITY.md maps several safeguards to specific files and states the scope and limits of named scanning workflows; the README's workflows are partly corroborated by CLI flags and skill instructions. Many security controls, product counts, and effectiveness claims remain repository assertions, with no implementation files or scan results in this packet to verify them individually. Workflow and test-script samples show validation infrastructure, not execution or correctness for this assessment. The docs distinguish current handling, server-side responsibility, and TODO items, but promotional outcome claims are not consistently labeled as unverified inference.

Risks and how to mitigate them
  • Review submission sends staged diff bundles to the configured LiveReview API; check the API deployment, model connectors, and retention policy against your code confidentiality requirements.
  • Installation instructions execute remote scripts directly, and setup describes machine-wide hooks; inspect the installer and confirm hook scope and removal steps.
  • Review findings are AI-generated and still require human judgment; the advertised risk categories, pattern counts, and coverage claims are not independently verifiable from this static packet.
  • LICENSE.md is a source-available license with commercial restrictions, not a conventional OSI open-source license.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 5b11de1daa1c New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/git-lrc.svg)](https://followagents.com/en/agents/git-lrc)
<a href="https://followagents.com/en/agents/git-lrc"><img src="https://followagents.com/badge/git-lrc.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v0.6.23
    Release notes excerpt
    Release v0.6.23 Date: 2026-11-22 <!-- Release images for this version belong in: docs/releases/img/v0.6.23 Reference files from this release folder with the placeholder syntax documented in docs/releases/img/v0.6.23/README.md. For manual video follow-up, keep a placeholder like <!-- VIDEO:demo.mp4 --> inside an HTML comment so release-gh can remind you after publishing. Published raw URL base: https://raw.githubusercontent.com/HexmosTech/git-lrc/refs/heads/main/docs/releases/img/v0.6.23/ …
    View on GitHub ↗
  2. v0.6.22
    Release notes excerpt
    Release v0.6.22 Date: 2026-11-22 <!-- Release images for this version belong in: docs/releases/img/v0.6.22 Reference files from this release folder with the placeholder syntax documented in docs/releases/img/v0.6.22/README.md. For manual video follow-up, keep a placeholder like <!-- VIDEO:demo.mp4 --> inside an HTML comment so release-gh can remind you after publishing. Published raw URL base: https://raw.githubusercontent.com/HexmosTech/git-lrc/refs/heads/main/docs/releases/img/v0.6.22/ …
    View on GitHub ↗
  3. v0.6.17
    Release notes excerpt
    Release v0.6.17 Date: 2026-10-23 Summary - Updated the Go toolchain requirement to Go 1.26.10 to resolve GO-2026-6809, a standard-library crypto/x509 vulnerability reported by govulncheck. Install and Update New install: ``` 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 ``` Update: ``` lrc self-update ``` Changes - Bumped the go directive in go.mod and blastradius/go.mod from 1.26.9 to 1.26.10. …
    View on GitHub ↗

FAQ

Does it upload the entire repository?
No. The documented behavior sends only the staged diff, does not upload full repository context, and does not retain diffs after review. .lrc/ignore can exclude additional paths.
What is required for the free tier?
The individual tier includes 30k LOC per month with no credit card, but users bring their own AI key. Default onboarding asks for a Gemini API key and a LiveReview API key obtained by signing in with Hexmos.
Will reviews still work if the local graph engine is unavailable?
Yes. The engine supplies risk scoring only. AI review continues without it, with scoring disabled; --blast-radius=false can also turn scoring off explicitly.
Can automatic review be disabled for one repository?
Yes. Run git lrc hooks disable in that repository and git lrc hooks enable to restore it later.
How do Review, Vouch, and Skip differ?
Review invokes AI, increments the iteration count, and tracks coverage. Vouch avoids another AI call but explicitly accepts responsibility and records prior iteration and coverage data. Skip performs neither review nor attestation and writes skipped to the Git log.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts