openreview  by vercel-labs

AI code review bot for GitHub

Created 1 week ago

New!

903 stars

Top 40.2% on SourcePulse

GitHubView on GitHub
Project Summary

An open-source, self-hosted AI code review bot powered by Vercel. It helps developers get on-demand PR reviews using Claude, offering inline suggestions and automated fixes, benefiting development teams seeking to improve code quality and streamline review processes.

How It Works

OpenReview utilizes a webhook handler triggered by GitHub events to initiate a Vercel Workflow. This workflow provisions an isolated Vercel Sandbox, clones the relevant PR branch, installs dependencies, and executes a Claude-powered agent. The agent analyzes code changes, runs project tooling like linters, and posts findings as inline comments with actionable suggestions. If code modifications are identified (e.g., lint fixes), the workflow can commit and push these changes directly to the PR branch before cleaning up the sandbox. This architecture leverages Vercel's infrastructure for robust, sandboxed execution and Claude's AI capabilities for intelligent code analysis.

Quick Start & Requirements

  • Primary install/run command: Deploy to Vercel (via provided button or manual clone/deploy).
  • Non-default prerequisites:
    • Vercel account.
    • A GitHub App configured with specific repository permissions (Contents: Read & write, Issues: Read & write, Pull requests: Read & write, Metadata: Read-only) and subscribed to Issue comment and Pull request review comment events.
    • Generated GitHub App private key and webhook secret.
    • Environment variables required in Vercel project: ANTHROPIC_API_KEY, GITHUB_APP_ID, GITHUB_APP_INSTALLATION_ID, GITHUB_APP_PRIVATE_KEY (including newlines), GITHUB_APP_WEBHOOK_SECRET.
    • Optional: REDIS_URL for persistent state.
  • Links: Deploy to Vercel button (implied), GitHub App setup documentation (implied).

Highlighted Details

  • On-demand PR reviews triggered by mentioning @openreview in comments.
  • Inline suggestions posted as GitHub suggestion blocks for one-click application.
  • Capability to directly fix formatting, lint errors, and simple bugs, committing and pushing changes to the PR branch.
  • Extensible skills system allowing custom review logic defined in .agents/skills/.
  • Powered by Claude Sonnet 4.6 via the AI SDK.
  • Built on Vercel Workflow for durable, resumable execution.
  • Sandboxed execution environment within Vercel Sandbox with full repo access.

Maintenance & Community

This project originated as an internal tool for the Vercel team. The README does not specify community channels (like Discord/Slack) or notable contributors.

Licensing & Compatibility

  • License type: MIT License.
  • Compatibility notes: The MIT license is permissive and generally compatible with commercial use and closed-source projects.

Limitations & Caveats

OpenReview is currently in beta, and users should anticipate potential rough edges and breaking changes as the project evolves.

Health Check
Last Commit

1 week ago

Responsiveness

Inactive

Pull Requests (30d)
1
Issues (30d)
5
Star History
916 stars in the last 12 days

Explore Similar Projects

Feedback? Help us improve.