The regression
def refund(order, payment):
payment.refund(order.total)
order.status = "refunded"
return order
1 check, 1 broken. Refunded orders cannot be refunded again.
Perch lets the agent check its repair before opening another pull request. The selected English requirement stays in the repository and can be rerun on the next edit with free unchanged cache reuse.
perch check reads working files; perch scan reads Git HEAD. Relevant source is sent to TypeSafe’s hosted models. The MIT CLI does not run model inference offline.
A saved requirement makes a recurring mistake checkable. In this Perch capture from September 20, 2026, the same rule flags a missing guard and passes after the guard is restored.
def refund(order, payment):
payment.refund(order.total)
order.status = "refunded"
return order
1 check, 1 broken. Refunded orders cannot be refunded again.
def refund(order, payment):
if order.status == "refunded":
return order
payment.refund(order.total)
order.status = "refunded"
return order
1 check, nothing to report.
Source: public order-service checkout.py at the linked commit. The captured standalone file is refund.py. Perch command output and timestamp. This saved-rule demonstration does not measure Diffen's detection rate.
Perch turns project behavior into focused checks that agents can run before committing. Use these differences to choose the review workflow and billing model your team needs.
| Capability | Perch | Diffen |
|---|---|---|
| Billing | 10¢ per 1,000 fresh rule checks. Cached checks free. No seat fees. | Pro: $19/month for 30 merge-request reviews and 5 repositories. Pro+: $49/month with fair-use unlimited review.Vendor documentation ↗ |
| Before commit | perch check reads the files on disk, including uncommitted edits. | GitHub app and PR patch workflows; local CLI was not verified.Vendor documentation ↗ |
| Custom requirements | English ensure rules in perch.yaml: project, file or method scope. No paid custom-rule tier. | Compliance.md instructions on Pro.Vendor documentation ↗ |
| Coverage | Each parsed non-test application method in the selected scan scope is read, with caller and callee context. No method-count cap. | Agentic PR review, patch generation and test execution.Vendor documentation ↗ |
| Open source | MIT-licensed CLI. Hosted model analysis is a paid service. | Commercial review service.Vendor documentation ↗ |
Perch lets the agent check a fix while it is still local. Save the recurring requirement once, run it against the edited method, and retain it for later PRs. Method and caller/callee context support requirements that depend on more than changed lines.
Diffen: GitHub app and PR patch workflows; local CLI was not verified. Diffen workflow documentation.
Perch reads the current working file with perch check. For a known requirement, select its rule name and method instead of requesting another broad review. A local CLI describes where the command runs; Perch sends relevant source to hosted TypeSafe models for analysis.
Diffen: Compliance.md instructions on Pro. Diffen rule documentation.
Perch stores English ensure rules in perch.yaml or .perch/rules/. Project, file and method scopes determine what is checked. Run the named check after an edit and after the repair; a rule finding can fail the command and a CI gate. Perch rules · Working-file checks.
Compare Diffen's billing unit and Perch's usage estimate
Diffen: Commercial review service. Diffen product or license source.
Perch’s CLI is MIT-licensed; hosted model inference is a separate paid service included in its published check rate. It does not run the model offline. Unchanged requests can reuse cached answers for free. Fresh judgments can vary, and a passing requirement check does not prove application correctness. Perch MIT license.
Diffen provides agentic PR review, patches and test execution. Its capped plans and trial do not establish a 100-PR bill, and a local working-tree CLI was not verified.
Perch and Diffen: pricing, allowances and workload calculator
npm install -g @lakeday/perchperch rules add refund-once \
--where refund.py --each method \
--ensure "Refunded orders cannot be refunded again."The captured rule checks the requirement shown above. Rule syntax and selectors
perch check refund.py::refund --rules refund-onceRun the check after an edit and after the fix. Working-tree check documentation
Use perch scan for repository code at Git HEAD and changed-code CI checks for pull requests. New model judgments can vary. Repeatability comes from cached answers for unchanged requests; a pass does not prove application correctness.
Choose Perch when you want an MIT CLI, English behavior rules and usage pricing that stays independent of team size. Give your coding agent a saved check it can run after every relevant edit.
Install PerchPublished by Perch. Vendor facts were reviewed on 2026-10-14; plans and allowances can change. Vendor marks belong to their owners.