AI Code Review Bot

Frequently asked questions

Is it safe by default?

Yes. The default provider is mock, which performs deterministic local responses and triggers no network calls.

How do coding guidelines work?

Set guidelines_file in .aicodereview.yml. The file is read, base64-embedded in prompts, and the model is instructed to decode and follow it. This works consistently across all providers without separate uploads.

What diffs are supported?

Unified diffs (the standard output of git diff) either from a file (--diff-file) or computed from a PR/MR ID when using the VCS adapters.

Will it post comments automatically?

No. It prints to stdout by default. It will only post a summary back to PR/MR when you pass --comment.

Common errors