AI PR Reviewer

Configure GitHub webhook and AI provider. Expose this app (e.g. with ngrok) and set the webhook URL in your repo.

GitHub

Connect with GitHub so this app can read PRs and post reviews. Use OAuth (recommended) or paste a Personal Access Token.

From GitHub → Settings → Developer settings → OAuth Apps. Create an app and set Authorization callback URL to http://localhost:8000/api/auth/github/callback.

— or paste a token —

If you don’t use OAuth, create a token with repo (+ read:org for private orgs). Create classic token.
Optional. Used when creating webhooks below and for validating payloads. How it works.

AI Provider

Choose one provider. The AI reviews each PR diff and suggests inline comments and a summary.

Leave empty for default: Claude Sonnet or GPT-4o. Claude models · OpenAI models.

Review limits

Larger diffs are split into batches of this size.

Add webhook to a repo

Create the PR webhook from here. Use the same URL you use to open this app (e.g. ngrok URL if you’re tunneling).

or
Load repos after connecting GitHub, or type owner/repo.
Leave empty to use this page’s URL + /api/webhook/github.
Add webhook manually in GitHub

In your repo: Settings → Webhooks → Add webhook

  • Payload URL: https://your-ngrok-url.ngrok.io/api/webhook/github
  • Content type: application/json
  • Secret: same as “Webhook secret” above
  • Events: Pull requests

Review runs

Recent webhook-triggered reviews (queued, running, or completed).

Time Repo PR Status Link