AI agents: read /llms.txt for the documentation index or append .md to any guide URL for raw Markdown.
Skip to content
BetaGitHub App · open-source Action

MergeJudge: Read the AI agent PRs that need you.

AI pull request review that sorts every PR into auto, review or block

MergeJudge is an AI pull request reviewer with an open-source engine for GitHub. Every PR gets a lane, auto, review or block, with reasons and line comments. Deterministic rules set the floor first; the AI can only raise a lane, never lower it. Bring your own model key, or run the Action or CLI in your own CI. Auto means low risk, not a guarantee. MergeJudge does not merge PRs itself.

Install the App, open a PR, done. On public repos, AI review runs to start with no key to paste.

What happens next: GitHub asks which repos to add, so you can start with one. Your next pull request gets a lane check and one summary comment. MergeJudge never merges and never pushes to your default branch, and you can remove it anytime in GitHub settings (what it can write).

For private repos, add your own provider key or connect a runner. The Action runs in your own CI with your own key, or rules-only (provider: none).

What you control

Lanes, a rules floor, your model, and an open-source engine

Lanes your rules control

Every pull request lands in auto, review or block, with reasons, a mergejudge/lane check, and line comments on the diff. You read the ones that need you. Auto means low risk, not a guarantee. Branch protection and required checks still apply. MergeJudge does not merge pull requests itself.

A rules floor the PR cannot rewrite

Deterministic rules set the floor before any model runs. The AI can only raise a lane, never lower it. .mergejudge.yml and policy files are read from the base branch, so a pull request cannot loosen its own review. Mark a finding wrong and it stops coming back; lessons arrive as a pull request a human merges, and they can only make the rules stricter.

Your model, your key, or rules only

Bring your own key: Anthropic, OpenAI, z.ai, any OpenAI-compatible API, or local Ollama on the Action. Or set provider: none for rules-only review, with no model call. MergeJudge's own provider keys are not used for your reviews.

An open-source engine you can run yourself

The review engine, CLI runner and GitHub Action are MIT-licensed. The hosted GitHub App and its backend are not open source. Same lanes whether you install the App, add the Action in your own CI (no MergeJudge account), or run the CLI. The Action does not call MergeJudge's servers.

What it does

Everything it does.

  1. 1Three PRs arrive
  2. 2Rules read every diff
  3. 3Each one lands in a lane
  4. 4A lane check on every PR

Three lanes

Every PR lands in auto, review or block, so you read the ones that need you. Auto means low risk, not a guarantee.

How lanes work
  1. 1A protected path sets the floor
  2. 2AI says auto, the floor holds
  3. 3AI quotes a bad line and raises
  4. 4The strictest lane wins

Rules first

Deterministic rules set the floor before any model runs. The AI can only raise a lane, never lower it.

How a review runs
  1. 1An agent pushes a commit
  2. 2One summary and a lane check
  3. 3A comment on the exact line
  4. 4The next push edits it in place

One review comment

One sticky summary, edited in place, plus line comments on the exact diff lines and a mergejudge/lane check.

What lands on the PR
  1. 1diff: the changed lines
  2. 2context: imports and callers
  3. 3deep: two hops out
  4. 4It finds a broken caller

Diff, context or deep

Pick how much the reviewer sees: just the diff, the files around it, or callers two hops out.

Compare review modes
  1. 1A finding is a false alarm
  2. 2You tick wrong on it
  3. 3The lesson is saved
  4. 4A proposal PR you merge

Learning loop

Mark a finding wrong and it stops coming back. Lessons arrive as a pull request a human merges.

How it learns
  1. 1Rules-only: zero code sent
  2. 2Or add your key or Ollama
  3. 3Only the diff and context go
  4. 4The AI can raise the lane

Your key, your model, or rules-only

Anthropic, OpenAI, z.ai, any OpenAI-compatible API or local Ollama. Rules-only sends zero code to any external API.

Providers and privacy
  1. 1GitHub App: hosted for you
  2. 2Runner: your machine, your login
  3. 3Action: inside your own CI
  4. 4Same lane check on the PR

Run it anywhere

The hosted GitHub App, the open-source runner on your machine, or the Action in your own CI. Same lanes every way.

Ways to run it
  1. 1The review comment opens
  2. 2A changed step, before and after
  3. 3Then a new step branches off
  4. 4The whole PR at a glance

PR story Optional, off by default

See the story of a PR at a glance, as a subway chart and numbered steps in the review comment. A separate small AI call draws it, so the review is unchanged. Action: set comment.flow_chart: true in .mergejudge.yml. Hosted App: a switch in the panel.

On the hosted GitHub App, the runner and the Action

  • REVIEW.md, read by default

    Drop a REVIEW.md on your base branch and MergeJudge takes it into account as review rules, no config needed. It is read next to REVIEW_POLICY.md, APPROVAL_POLICY.md, AGENTS.md and CLAUDE.md, and it can only make a review stricter.

    Policy files
  • Where it sits Optional, off by default

    See where a change lands. A small table in the review comment shows what imports each changed file and what that file imports, and flags callers a removed export would break. Turn it on with comment.where_it_sits: true in .mergejudge.yml. It is built from import lines, with no extra AI call.

    Turn it on

The npm runner and the GitHub Action include them as of 0.7.0.

  1. 1A red-lane PR, or a path REVIEW.md marks sensitive
  2. 2MergeJudge writes a small test
  3. 3The test passes on the base and fails on the head
  4. 4The finding is marked Proven by test, in a collapsed block

Proof tests (beta)

On the self-hosted runner, for red-lane pull requests or PRs that touch paths your REVIEW.md marks sensitive, MergeJudge can write a small test that passes on the pull request's base and fails on its head. If it does, the finding is marked Proven by test, and the test sits in a collapsed block. Off by default and owner-enabled. JavaScript and Python on Linux, with a bubblewrap sandbox. Not available on the hosted app.

How it works

From pull request to verdict, in four steps

  1. 1A PR is opened or updatedThe GitHub App, your runner or the Action picks up the event. Nothing to set up per PR.
  2. 2Rules set the floorProtected paths, secrets, removed safety guards, size and labels. No model is involved yet.
  3. 3The AI can only raise itIt reads the change, follows your policy files and checks your rubric. A failure counts only when it quotes a diff line.
  4. 4One result. You merge.A lane check, one sticky comment and line comments. MergeJudge doesn't merge PRs itself, and approvals are off by default.

Every step in detail · Security model

Compare

MergeJudge vs Claude Ship

Teams adding AI to pull request review have more than one way to do it. This is a factual comparison of MergeJudge and Claude Ship, drawn from each product's public pages as of 25 November 2026. Product details change, so check each product's own pages for the current state. It is not a claim that one is more accurate, and it is not a complete catalogue of either product.

MergeJudge is an AI pull request reviewer with an open-source engine. It sorts every GitHub pull request into auto, review or block, with rules you control. It does not fix CI, resolve merge conflicts, or merge pull requests itself.

MergeJudge vs Claude Ship
TopicMergeJudgeClaude Ship
What it doesReviews GitHub pull requests and sorts them into auto, review or block, with a sticky summary, a mergejudge/lane check, and line comments. Auto means low risk, not a guarantee. MergeJudge does not merge pull requests itself.Reviews pull requests, works on fixes, and applies a team's approval policy. It is made of Code Review, PR Steward, and Claude Approvals.
AvailabilityIn beta. Runs as a hosted GitHub App, an open-source runner, or a GitHub Action. The Action needs no MergeJudge account.Available in beta on Claude Team and Enterprise plans, for repositories on GitHub. Code Review is generally available; PR Steward and Claude Approvals are in beta.
How a decision is madeDeterministic rules set a floor first. The AI can only raise a lane, never lower it. Config and policy files are read from the base branch, so a pull request cannot loosen its own review.Teams write an approval policy as a file in the repository. Claude Approvals can approve routine changes if the policy allows, or require a person. Observe mode posts a decision without approving.
ModelsBring your own key: Anthropic, OpenAI, z.ai, any OpenAI-compatible API, or local Ollama on the Action. Or run rules-only (provider: none), with no model call.Uses Claude, Anthropic's models, for review, fixes and approval decisions.
Where the review runsHosted App: MergeJudge's service calls the provider you configured, or on public repos with no key, Cloudflare Workers AI. Runner: the AI step runs on your machine or CI. Action: runs in your own GitHub Actions and does not call MergeJudge's servers.Claude Ship runs as a hosted service. PR Steward works on feedback, failing checks, and merge conflicts in the cloud. Developers can also start from Claude Code with /ship.
Policy and learningPolicy files, including REVIEW.md, are read from the base branch. Mark a finding wrong and it stops coming back; lessons arrive as a pull request a human merges, and can only make the rules stricter.Teams can tune what gets flagged with REVIEW.md. Approval rules are written as a policy file in the repository.
Fixes and mergeMergeJudge does not merge pull requests itself. It does not offer an agent that fixes CI or merge conflicts. Approvals are off by default.PR Steward is designed not to approve or merge; it works on failing CI, conflicts, and review feedback. Claude Approvals can approve changes the policy allows.
SourceThe review engine, CLI runner, and GitHub Action are MIT-licensed. The hosted GitHub App and its backend are not open source.The product pages reviewed on 25 November 2026 do not describe Claude Ship as open source.

Claude and Claude Ship are trademarks of Anthropic, PBC. MergeJudge is not affiliated with or endorsed by Anthropic.

Where Claude Ship fits: Claude Ship is a fit for Claude Team and Enterprise organisations on GitHub that want review, automated PR fixes, and policy-based approvals in one hosted workflow.

Sources: What is MergeJudge?, Hosted service, Providers, llms.txt, Introducing Claude Ship, Claude Ship product page.

Proof

Measured in public. Open source.

Benchmark

75.9%

Precision with --deep on the 50-PR Martian Code-Review-Bench (Core profile). The fast default scored 75.0%.

Offline smoke test

9 of 9

Planted cross-file bugs caught by deep in our 10-PR test, against 2 of 9 for diff only. A smoke test, not a benchmark.

Get started

Get started. No key to start.

No account, MIT

The GitHub Action

One workflow file in your own CI, with your own key, or rules-only with provider: none. It never calls our hosted service.

.github/workflows/mergejudge.yml
- uses: gauravsharmaGG/mergejudge-runner@v1

Rules-only sends zero code to any external API. With your own key, only the PR diff and its context go to the model you configured, or to your local Ollama. The hosted App reads diffs only to run the review and does not keep them (Privacy).

Agent skills for merge-ready PRs

Open-source skills for your coding agent. Fix or answer every review comment, write a REVIEW.md policy, and review your changes before you push. Works best with MergeJudge.

See the skills on GitHub

FAQ

Questions about MergeJudge

What is MergeJudge?

MergeJudge is an AI pull request reviewer for GitHub. It is not a merge game, not DOMjudge, and not a court, legal or judge service. It sorts every pull request into auto, review or block. Auto means low risk, not a guarantee. MergeJudge does not merge pull requests.

Is MergeJudge an open source AI pull request reviewer I can self-host?

Yes. The GitHub Action and the runner are open source (MIT). Self-hosted AI code review runs in your own GitHub Actions runner with your own API key, or rules-only with no key. The hosted GitHub App is not open source.

What is AI PR review bring your own key?

AI PR review bring your own key means the model call uses your own API key (Anthropic, OpenAI, z.ai or any OpenAI-compatible endpoint). MergeJudge does not issue keys.

Is there a free AI code review GitHub app?

Yes. The MergeJudge GitHub App can start AI reviews on public repos for free, with no key. Private repos use your own API key or a rules-only review.