Code Review GuideTools & workflows

Open-source AI code review CLIs: what can you run and change?

Perch's CLI and the separate PR-Agent project are MIT licensed. Perch checks named English rules against uncommitted working files. PR-Agent's local Git provider compares committed branches and requires a clean working tree. Kodus Community uses AGPLv3 and runs on infrastructure you manage.

QuestionPerchPR-Agent
What is open source?The Perch CLI is MIT licensed.The community PR-Agent project is MIT licensed; it is separate from managed Qodo.
What does local review read?perch check reads current working files; a file::method target selects a method.The local Git provider reviews committed branch changes against a target branch and requires a clean working tree.
How are requirements configured?Versioned YAML with named project, file and method requirements. Select a named rule when rerunning a check.Repository configuration and review instructions, with settings for the selected review tool and model.
Kodus Community alternativeAGPLv3 software you self-host with your chosen model; infrastructure and model costs are yours. Kodus deployment and license
Does the license include model inference?Hosted model analysis is a paid service; relevant source is sent to the configured model service.Configure the model provider and account. Hosting and inference depend on that deployment.

Run the saved requirement before committing

The tenant-authorization example compares an update that omits the tenant with its repaired implementation. Download the rule pack, check the edited file and repeat the same rule after the repair. The recipe includes the source and captured Perch results.

FastAPI tenant authorization: implementation and captured checks · Download the tenant authorization rule pack

Install and configure the agent you use:

npm install -g @lakeday/perch
perch login
perch setup claude-code
# Or: perch setup codex
# Or: perch setup cursor

Download the pack without replacing existing files. Its example selector targets orders.py; adapt that selector to your application before checking.

curl -fL 'https://reporules.fyi/fastapi/tenant-cancellation/rule-pack.zip' -o perch-tenant-rule.zip
unzip -n perch-tenant-rule.zip
perch check orders.py --rules tenant-scoped-update --json
# Repair the finding, then repeat the same check:
perch check orders.py --rules tenant-scoped-update --json

After installing a focused pack, inspect its selector and use its exact named check command after the edit. Read the finding, repair the implementation, and repeat the same command. Keep your existing perch.yaml; the pack instructions use extraction that preserves existing files. Fresh judgments can vary; unchanged requests reuse cached answers.

Separate developer seats from model usage

Perch's hosted rate is 10¢ per 1,000 fresh rule checks, with cached checks free and no developer seat fees. PR-Agent's open-source license does not determine your model-provider bill. Compare the configured scope, inference charges, infrastructure and review frequency.

Worked review costs for three and ten developers

Which reviewers support custom plain-English rules?

Several reviewers accept English rules. CodeRabbit stores repository guidelines, and Qodo brings team rules into pre-PR review. Perch lets you select a named rule and its project, file or method scope, then check the current file. Use it when the agent needs a specific requirement to rerun after each edit. CodeRabbit guidelines · Qodo working-tree review and rules · Perch rule selectors.

Which CLI reviews uncommitted changes?

Perch checks the named working file. CodeRabbit’s uncommitted mode reads staged and tracked local edits, with an additional flag for untracked files. Greptile’s documented CLI ignores uncommitted changes. Their available CLIs do not establish an open-source license for the review service. The dedicated comparisons cover current plan allowances and custom-rule workflows.

Perch vs CodeRabbit: CLI, saved rules and billing · Perch vs Greptile: working files and committed branches

Compare licenses and deployment choices

CodeRabbit vs Kodus distinguishes managed review from a Community deployment with your own model provider. Qodo vs Kodus compares shared managed credits with that deployment choice. Perch vs Macroscope compares MIT CLIs by review scope and analysis billing.

Inspect the evidence and source documentation

Captured Perch requirement checks · 2026-10-14
MethodRequirementRegression sourceClean source
can_fulfilIt returns true only when every requested item has sufficient stock; a shortage on any line returns false, including when an earlier line has enough stock.FindingNo finding
load_orderMissing files and malformed JSON propagate an exception to the caller instead of being converted into an empty order.FindingNo finding
release_expiredIt releases every expired reservation, including adjacent expired entries, removes those entries, and leaves unexpired reservations intact.FindingNo finding
subtotalIt includes price times quantity for every cart line, including the last line, and returns Decimal zero for an empty cart.FindingNo finding

One recorded check per input with four disclosed file rules: Perch flagged all four targeted regressions and none of the four clean requirements. These are the saved results from October 14, 2026. CodeRabbit and Greptile remain unscored because authenticated reviews have not completed.

Read the structured evaluation and pinned commits · Inspect the commands and raw Perch results · Download identical review inputs

The public evaluation includes Perch's recorded results on four disclosed requirements. CodeRabbit and Greptile remain unscored until their authenticated reviews complete. This licensing comparison does not establish comparative detection accuracy.

Matched public inputs and recorded review results

Reviewed October 16, 2026. Published by Perch / Verglas LLC.

Plan your 2027 review workflow

Best AI code review tools for 2027 · 2027 cost model and comparison workbooks

Recorded bug detection on 50 public pull requests

Perch's OpenAI Decisions configuration flagged the function containing the known bug in 38 of 50 pull requests at a 60% cutoff. The saved run used 33.5¢ of model inference across all 50. The Jev configuration flagged 22 of 50 with 14.9¢ of model inference.

Greptile dataset · Perch configurations at 60% · scores reproduced October 23, 2026
ConfigurationKnown bugs locatedMedian flagged functions per PRMeasured model cost, all 50 PRs
Perch · OpenAI Decisions38 / 50 (76%)733.5¢
Perch · Jev22 / 50 (44%)214.9¢

Perch is credited for flagging the function holding a known bug; published competitor results credit a judged review comment identifying it. These scoring units differ. The cost is measured model inference for each named saved run, separate from Perch Cloud billing. Four known bugs sit outside the functions Perch reads.

Pinned scoring scripts and configuration · ReviewBench precision, thresholds and full reproduction steps · Public saved answers and labels