LOCAL-FIRST · AGENT-AGNOSTIC · OPEN SOURCE

OpenMergeLens: AI code reviews on your machine.

OpenMergeLens finds open GitHub pull requests with an active review request for your account, runs the reviewer agent you choose, and posts anchored, inline feedback without a GitHub App, webhook, or hosted server. Requests can be manual or supplied by CODEOWNERS.

OpenMergeLens - Local AI pull-request reviews without another GitHub bot | Product Hunt
OpenMergeLens installation and dry-run example
$ npm install -g openmergelens
$ openmergelens init

✓ GitHub account connected
✓ Codex reviewer detected
✓ Schedule installed

$ openmergelens --dry-run
Reviewing acme/api#284...
Found 3 anchored findings

Your reviewer, your machine

OpenMergeLens is a small local CLI, not another hosted bot. It works with Claude Code, Codex, or any compatible reviewer command and uses your existing GitHub CLI authentication.

01 / LOCAL

No hosted service

Polls run locally on cron, launchd, or Windows Task Scheduler. There is no webhook, tunnel, GitHub App, or server to maintain.

02 / SWAPPABLE

Choose the reviewer

Use Claude Code, Codex, or another compatible CLI. The polling workflow never hardcodes a single model provider.

03 / PRECISE

Real inline findings

Findings are validated against actual diff lines before posting. Unanchored feedback is preserved in the review summary.

From request to review

A deterministic polling loop handles requested reviews and avoids duplicate comments. New commits on a previously reviewed pull request wait for the author to request another review.

  1. Find requests Uses gh to find open pull requests where your configured account is in the Reviewers list. The request may be manual or created by a matching CODEOWNERS rule.
  2. Inspect the change Fetches pull request context and the current diff for the exact head commit.
  3. Run your agent Invokes the reviewer CLI you selected with scoped, read-only access.
  4. Post once Publishes validated findings and records the reviewed commit SHA locally. After new commits, the author must request the account again before another review is queued.

Start with a dry run.

Install the CLI, connect your reviewer, and inspect the output before posting.

Read the setup guide