Connect a repository
Choose orgs and repos during GitHub App installation. MergeGuard only sees events for repos you enable.
Install, architecture, and how MergeGuard routes AI safely from GitHub to your merge queue.
Powered by
Control plane
GitHub delivers organization and repository events to MergeGuard over HTTPS webhooks. The app installation carries only the scopes you approve; we never clone your full repository history for review—just the pull request payload, file list, and patches GitHub exposes for that event.
GitHub
App + webhooks
PR opened / sync / comment
MergeGuard API
Validate · queue · respond
Hosted on Railway
AI router
OpenAI · Anthropic
Model + tier selection
Back to GitHub
Review + inline threads
Posted on the PR
MergeGuard's hosted control plane runs as containerized Node services on Railway: separate build and runtime images, per-environment variables, and zero-downtime deploy hooks. Webhook endpoints are pinned behind TLS termination at the edge; you can self-host the same stack using our Docker images if your policy requires a private region.
MergeGuard selects models based on risk tier, diff size, and product configuration. Fast passes use efficient endpoints; high-risk or large-blast-radius diffs can escalate to larger context windows. Traffic stays over TLS to provider APIs; prompts are scoped to the PR under review plus your configured policies.
Ingress
Normalize webhook + fetch patches
Router
Pick provider, model, and token budget
Egress
Format GitHub review + inline anchors
Connect MergeGuard to your repository in under 2 minutes.
Guides & reference
From first install through compliance exports and programmatic hooks—everything below lives in this panel so you can scan it in one pass.
Choose orgs and repos during GitHub App installation. MergeGuard only sees events for repos you enable.
Set risk thresholds, required reviewers, and merge rules from the dashboard. Policies apply per default branch unless you scope them per repo.
Compose guardrails in YAML—lint gates, CODEOWNERS sync, and custom checks.
Export delivery IDs, review outcomes, and policy evaluations for your compliance pack.
Layer MergeGuard findings on top of native GitHub approval rules.
Programmatic access for enterprise orchestration—contact sales for keys.
Subscribe your SIEM to MergeGuard delivery webhooks for secondary alerting and analytics.
Local validation and dry-run reviews—shipping in a future release.