Code Review GuideTools & workflows

AI code review head-to-head library

Greptile vs Macroscope

Greptile CLI reviews committed branch changes and ignores uncommitted edits. Macroscope includes work in progress in its frozen snapshot. Both offer repository-aware review, but they see different inputs during an agent repair cycle.

Code Review Guide · Reviewed October 23, 2026 · Published by Perch / Verglas LLC

Greptile and Macroscope at a glance

Documented review inputs, requirements and licensing
DecisionGreptileMacroscope
Review scopeRepository-aware PR and branch review; Base, Plus and Apex use 1, 3 and 10 credits.GitHub reviews and local or agent-driven checks.
Local review inputCLI reviews committed branch changes; its documented workflow ignores uncommitted changes.MIT local CLI reviews working-tree and branch changes.
Custom requirementsRepository instructions and cascading directory-specific standards.Markdown agent instructions, path selection and configurable check-run agents.
License and serviceCommercial review service.MIT local CLI; commercial hosted analysis.
Official referencesGreptile sourcesMacroscope sources

Compare committed branches with work in progress

Greptile billing

Pro: $1 per credit shared across the organization, with no seat fees. Starter is free for one active developer with 50 credits per month.

Base, Plus and Apex reviews consume 1, 3 and 10 credits. The calculator assumes one Base review per PR at $1 per credit, excluding free Starter eligibility, trial credits, discounts and other usage. Pro credits are pooled across the organization; author count adds no seat fee.

Greptile plan sources and workload assumptions

Macroscope billing

GitHub Balanced review: 5¢/KB with a 10 KB minimum. Other modes: 2.5–20¢/KB. No seat fees.

GitHub diff-size pricing is separate from CLI/agent model cost plus 5%. Free monthly credits and welcome credit are available. No fixed per-PR total is assumed.

Macroscope plan sources and workload assumptions

Will the next review include an uncommitted fix?

Greptile documents that its CLI reviews committed branch changes and ignores uncommitted edits. Macroscope includes work in progress in its frozen snapshot. If an agent fixes a method without committing, these commands can review different source versions even when both finish successfully.

Documented behavior to verify in your trial
TaskGreptileMacroscope
Committed regressiongreptile review --branch main compares committed branch changes with the chosen base.macroscope codereview --base main snapshots the branch and work in progress.
Repair saved without a commitThe documented CLI input still contains the committed regression.The new snapshot can include the local repair; retain the reviewed source identity.
Collect a result for a scriptUse --json, and verify review completion before scoring comments.Use --raw, and verify issue_status=completed before scoring issue events.

Run a trial that distinguishes the inputs

Review a committed regression in both tools, then repair it without committing. Run the same commands again and record the input difference before labeling a finding as stale or missed. Finally commit the repair and repeat. Keep Greptile effort and pooled organization credits separate from Macroscope CLI Agent usage; credit counts are not interchangeable.

Greptile committed input and JSON output · Macroscope work-in-progress snapshots · Macroscope analysis billing

When to use Perch for a saved requirement

Perch gives the agent a direct working-file check for the repaired requirement. Choose it when checking that saved rule before another commit is the main task.

Suppose an agent removes tenant authorization from a database update. The rule below requires the cancellation update to constrain the authenticated tenant before changing the order. It comes from the FastAPI tenant-authorization recipe. Source and captured tenant checks.

- name: tenant-scoped-update
  where: "orders.py"
  ensure: >-
    The cancellation UPDATE must constrain tenant_id to actor.tenant_id
    before changing the order.

Set up the agent and check its repair

Install the CLI, then choose the setup command for your agent:

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

Download the tenant-authorization rule pack, then check the edited file:

curl -fL 'https://reporules.fyi/fastapi/tenant-cancellation/rule-pack.zip' -o tenant-rule.zip
unzip -n 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

Keep the root perch.yaml. The archive adds its focused rule under .perch/rules/ and preserves existing files. Adapt the file selector to your application. Run the named check after the agent edit, repair any finding and repeat the same command. Working-file and rule selectors.

Perch charges 10¢ per 1,000 fresh rule checks, with no developer seat fees. Unchanged requests can use cached answers free. The team cost examples show the rule counts and methods behind the broader pull-request estimate. Calculate the team workload.

Fresh model judgments can vary; unchanged requests can reuse cached answers. The Perch CLI is MIT licensed; relevant source goes to the configured hosted model service.

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

Try the decision on your own change

Make a committed regression, repair it without committing and run both review workflows. Verify which snapshot was inspected. Separate Macroscope CLI usage from its GitHub diff-size rate when recording cost.

Use a pinned regression and clean control. Record each tool’s configuration, findings, false positives, actual cost and elapsed time, then repeat the review after the repair.

The recorded requirement checks show one small regression example. The broader public benchmark reports saved results, thresholds, false alerts and measured model costs with their scoring definitions. Recorded requirement checks · Public PR benchmark results and scoring definitions.

Product catalog reviewed October 16, 2026. Greptile pricing updated October 23, 2026. The added workflow references were checked October 23, 2026. The product references below document the review inputs, rules and plans used in this comparison.

Greptile documentation

Macroscope documentation

Continue comparing