Welcome to diffray
AI-Powered Code Review for GitHub Pull Requests
diffray automatically reviews your pull requests using artificial intelligence and posts detailed feedback directly in GitHub.
How It Worksโ
-
PR opened in GitHub Automatic trigger when you create or update a pull request
-
AI analyzes code Advanced AI reviews your changes (5-10 minutes)
-
Review published Detailed feedback posted as a comment in your PR
Specialized Review Agentsโ
diffray uses a team of specialized AI agents, each expert in their domain:
| Agent | What It Catches |
|---|---|
| ๐ Security | Vulnerabilities, injection attacks, exposed secrets |
| โก Performance | N+1 queries, memory leaks, bottlenecks |
| ๐ Bugs | Null errors, race conditions, logic issues |
| โจ Quality | Code smells, dead code, unclear logic |
| ๐๏ธ Architecture | SOLID violations, tight coupling |
| ๐ Consistency | Duplicated code, pattern deviations |
| ๐ Documentation | Outdated docs, missing comments |
| ๐งช Testing | Missing coverage, flaky tests |
1250+ Built-in Rulesโ
diffray comes with over 1250 built-in rules covering security, performance, bugs, and more across 20+ languages and frameworks. Rules are automatically applied based on what files changed in your PR โ TypeScript changes get TypeScript rules, Python gets Python rules, and so on.
See all supported technologies โ
Smart & Adaptiveโ
- Context-aware โ only relevant rules run based on changed files
- Noise-free โ intelligent deduplication removes repetitive findings
- High-confidence โ validation pass filters out uncertain issues
- Codebase-aware โ analyzes how changes affect existing code
Customizableโ
Add project-specific rules to enforce your team's standards:
# .diffray/rules/team-standards.yaml
rules:
- id: use_internal_logger
agent: quality
title: "Use internal logger"
match:
file_glob: ["src/**/*.ts"]
...
Key Featuresโ
๐ค AI Code Reviewโ
Get intelligent code reviews from advanced AI models that understand your codebase
โก Fast & Efficientโ
Automatic review triggers on PR open, update, or on-demand via labels
๐ฏ Automatic Triggersโ
Reviews start automatically when:
- Opening a new PR
- Pushing new commits to PR
- Reopening a PR
- Adding the
diffray-reviewlabel
๐ Status Labelsโ
Track review progress through automatic labels:
diffray-review-started- review starteddiffray-review-completed- review completeddiffray-review-failed- review failed
๐ Secure Integrationโ
GitHub App with controlled permissions - you choose which repositories to grant access
What You Needโ
- A GitHub account
- A repository where you want AI code reviews
- Admin rights to install GitHub App
- 5 minutes to set up
Quick Startโ
- Sign In with your GitHub account
- Install GitHub App on your account/organization
- Add Repositories in the dashboard
- Create a PR and watch the magic! โจ
What's Next?โ
Ready to improve your code review process? Let's get started!