
diff0
Open-source AI code review agent for GitHub with inline comments and one-click fixes.
About
diff0 is an open-source AI code review agent for GitHub, positioned as a self-hosted alternative to CodeRabbit and Greptile. It is webhook-driven: when a pull request opens or syncs, it spins up an ephemeral sandbox, clones the repo, analyzes the diff with a multi-provider LLM backend (OpenAI, AWS Bedrock, or Google Gemini), and posts inline comments as native GitHub suggestions that authors can apply in one click. It detects bugs, security issues, performance problems, and style violations.
The honest picture: running it yourself means operating webhook infrastructure and sandbox execution, which is real DevOps work. The hosted path is credit-based, and as a community project it lacks the support SLAs of commercial reviewers.
What it can do
- Automatic PR review on open and sync
- Inline comments with one-click fix suggestions
- Multi-provider LLM support
- Ephemeral sandboxes for safe analysis
- Idempotent webhook event processing
Setup
Deploy the webhook handler (Convex-based) and point your repository's webhooks at it, or follow the hosted quickstart in the repo README.
Prerequisites
A GitHub repository and an LLM provider key (OpenAI, AWS Bedrock, or Gemini).
Use cases
Works with
Trust score — 6/10
Scored 6/10 (metrics tier, metrics-v1). Evidence: Verified via vendor site/docs/GitHub and reputable coverage, wave 48; Trending score 52/100 from researcher assessment.
Sources
Every fact above was checked against these sources. Where a claim comes from the provider and couldn't be independently verified, the text says so.