Skip to main content

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โ€‹

  1. PR opened in GitHub Automatic trigger when you create or update a pull request

  2. AI analyzes code Advanced AI reviews your changes (5-10 minutes)

  3. 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:

AgentWhat It Catches
๐Ÿ”’ SecurityVulnerabilities, injection attacks, exposed secrets
โšก PerformanceN+1 queries, memory leaks, bottlenecks
๐Ÿ› BugsNull errors, race conditions, logic issues
โœจ QualityCode smells, dead code, unclear logic
๐Ÿ—๏ธ ArchitectureSOLID violations, tight coupling
๐Ÿ”„ ConsistencyDuplicated code, pattern deviations
๐Ÿ“ DocumentationOutdated docs, missing comments
๐Ÿงช TestingMissing 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-review label

๐Ÿ“Š Status Labelsโ€‹

Track review progress through automatic labels:

  • diffray-review-started - review started
  • diffray-review-completed - review completed
  • diffray-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โ€‹

  1. Sign In with your GitHub account
  2. Install GitHub App on your account/organization
  3. Add Repositories in the dashboard
  4. Create a PR and watch the magic! โœจ

What's Next?โ€‹

๐Ÿš€ Getting Started

Set up diffray in 5 minutes

Start here โ†’

๐Ÿ“– Usage

Learn how to work with reviews

Learn more โ†’

๐Ÿง  AI Engines

Learn about our AI technology

Discover โ†’

๐Ÿค– Review Agents

Meet your AI review team

Explore agents โ†’

โš™๏ธ Custom Rules

Add your team's standards

Learn more โ†’

Ready to improve your code review process? Let's get started!