Run AI reviews on a local project or GitHub pull request. The engine checks finding locations against the diff and saves a Markdown or JSON report. Your chosen AI provider receives the selected source and bills your account. Posting comments to GitHub is optional.
On macOS, Linux or WSL, install Git, Rust 1.94.1 or newer with Cargo, CMake and a native C/C++ toolchain. Clone the engine and prepare a review from its checkout.
git clone https://github.com/inkspect-code-review/inkspect-code-review-engine.git
cd inkspect-code-review-engine
sh scripts/ai-setup.sh --repo /absolute/path/to/project --provider openai --model YOUR_MODEL_IDReplace the path and model ID with your own. This builds the engine and prepares a
private configuration. To run the review, set OPENAI_API_KEY in your environment
and repeat the last command with --run. The receipt includes the report path.
For a Git working tree, the default comparison is the current files against HEAD.
The local command builds a snapshot of the eligible files and sends the diff to the selected model. A clean working tree produces an empty review without a model call. The review module checks proposed locations against the diff and assigns finding IDs. The renderer turns the resulting report into Markdown and GitHub comments.
When changing how findings are identified or validated, run the review module’s unit tests from the engine checkout:
cargo test --locked --bin inkspect-engine review::tests::- Review a GitHub pull request and publish findings.
- Choose a provider or set up with a coding agent.
- Configure file exclusions and add repository context.
- Run with Docker Compose or use the engine in CI.
- Integrate inline snapshot reviews or troubleshoot a run.
MIT license · Contributing · Security · Support · Changelog · Community guidelines