Autopilot for
Engineering Governance
Mergai is an AI-powered security layer for your engineering workflow. It automates pull request auditing, enforces governance standards, and provides real-time risk intelligence directly in your GitHub environment.
Quick Start Guide
Install the GitHub App on your org.
Sync your repos and teams.
Set your governance policies.
Get AI audits on every PR.
Core Services
AI PR Risk Analysis
Our proprietary analysis engine, powered by specialized audit models, audits every line of changed code.
- Security Vulnerability Detection (SQLi, XSS, etc.)
- Business Logic Error Identification
- Automated Code Review Comments
- Context-Aware Dependency Auditing
Branch Gating & Policies
Enforce organizational standards by blocking merges that don't meet your quality bar.
- Configurable Risk Score Thresholds
- Custom Security Guiderails
- Mandatory Approval for High-Risk PRs
- Historical Finding Correlation
Service Limits & Pricing
Mergai uses a tiered resource model integrated with Polar.sh. Your subscription level directly impacts the depth and frequency of AI analysis available to your team.
PR Analysis Depth
Tiered
Character caps vary per plan.
Daily Frequency
Dynamic
Resets every 24 hours UTC.
AI Model
G-Audit
Optimized for latency & cost.
Enforcing Governance
How "Blocking" Works
When a PR is flagged as high-risk, Mergai sends a "Failure" status to GitHub. To physically prevent the merge, you must configure Branch Protection Rules in your GitHub repository.
Navigate to your Repo Settings > Branches.
Add or Edit a Branch Protection Rule (e.g., 'main' or 'production').
Enable 'Require status checks to pass before merging'.
Search for 'Mergai Analysis' (or your App Name) and mark it as Required.
Feature Availability
Block High Risk PRs: Available for all plans (including Free).
Manual AI Readiness: Required for Paid plans only.
Strict Security Sacn: Enhanced AI sensitivity for Paid plans.
// Result: Full governance protection for every tier.
Pro Tips for Success
Keep PRs small for higher accuracy in AI analysis and faster feedback cycles.
Use the "Strict Mode" in settings if your repository handles sensitive PII or financial data.
Need Help?
Our engineering team is available for deep integration support and custom enterprise features.