AI code review for local repos

Review the code on your machine, before you push or open a pull request. The repository does not need a remote.

Try free for 14 days, with your whole team

Get started for free

Set up in less than 5 minutes

How it works

  1. Install and sign inOne command to install, then rectifier login.
  2. Review your checkoutUncommitted changes, a branch, a commit or a range. With no remote, add --local.
  3. Fix it before you pushThe review prints in your terminal, before anyone else sees the change.

Review what is on your machine

  • rectifier review --uncommitted: staged, unstaged and untracked changes. It lists the files and asks before it sends them.
  • rectifier review: the branch, since it left the default branch.
  • rectifier review abc123, --last 3 or abc123..def456: a commit, the last few, or a range.
$ rectifier review --uncommitted
$ rectifier review
$ rectifier review --last 3

No remote needed

Add --local (experimental) to review a repository with no remote, or one on a host other than github.com, gitlab.com or bitbucket.org, such as Azure DevOps. It works with each command above. The command shows what it will upload, the repository with its history, and asks first. With no origin, it compares the branch with your local main or master.

$ rectifier review --local
$ rectifier review --local --uncommitted

Install and sign in

  1. Install
    $ uv tool install --upgrade imbik-rectifier

    Or pipx install imbik-rectifier, or pipx upgrade imbik-rectifier on a machine that has it. It needs Python 3.10 or later, and git.

  2. Sign in
    $ rectifier login

    It opens your browser.

FAQ

What happens to what it uploads?

Rectifier deletes what the command uploads within 3 weeks. On a repository over about 71 MB, it uploads only the base and the head.

Do I need --local for a repository on GitHub, GitLab or Bitbucket?

No. A checkout whose origin is on github.com, gitlab.com or bitbucket.org, in an organization, group or workspace you connected, works without it.

Is there a faster review?

Yes. Add --light for a Light review, for $1 instead of $2.

Can a git hook or CI stop on a finding?

Yes. The command exits with 1 when a finding blocks. In CI, set RECTIFIER_CLI_TOKEN to a token from the dashboard. For what to check by hand, see how to review AI-generated code.

Where does the review go?

It prints in your terminal and is saved in .rectifier/reviews/. Add --post to post it on the branch's open pull request, once that pull request has the reviewed commits. A review of uncommitted changes, or a --local one, is never posted.

What if the machine has no browser?

Run rectifier login --no-browser and open the link it prints.

Can my coding agent use it?

Yes. Run rectifier skill install, and your agent reviews its own changes before it hands them to you. See coding agents.

What does it cost?

The same as a review on a pull request: $1 for a Light review and $2 for a Full one. Plans start at $30 a month with unlimited seats. See pricing.

Where are the docs?

Install the CLI and every command and option.