Introduction#
MergeMonkey is an AI code reviewer that reads every pull request you open and leaves precise, actionable comments on the lines that matter. It runs on GitHub and GitLab — cloud or self-hosted — with 27 languages, 44 framework support layers, and 500+ detection patterns spanning security, performance, reliability, and code quality.
The goal isn't to add more noise. It's to catch the class of bugs a reviewer would flag in a careful 20-minute read: SQL injection, command injection, missing null checks, subtle race conditions, broken error handling, and framework-specific pitfalls — without drowning you in false positives.
How it works#
Every PR you open (or update) triggers the same pipeline:
Fetch the diff
We clone your repo into an isolated worktree, check out the head of the PR, and compute the changed lines against the base branch.
Parse the code
A tree-sitter AST scan runs across every changed file in 27 languages, extracting signals: calls, sinks, sources, control flow, and imports.
Build context
Signals are grouped into token-efficient context packs — each pack captures only the code and surrounding context the AI needs to judge one potential issue.
AI judgement
A large language model reviews each pack and produces a verdict: is this a real issue, or a false positive? High-confidence findings earn an
[AGENT-VERIFIED]tag.Post comments
Findings land as inline comments on the exact changed lines, plus a top-level summary of the review.
What makes MergeMonkey different#
Fewer false positives
Two-stage verification and confidence thresholds mean we only post what a human reviewer would.
Deeper language coverage
Full AST analysis across JavaScript, TypeScript, Python, Java, Go, Rust, and more — with tiered support for 20 additional languages.
Security-first detections
Purpose-built patterns for SQL injection, command injection, XSS, path traversal, crypto misuse, and more.
Works where you work
GitHub (cloud + Enterprise), GitLab (cloud + self-hosted). No code leaves your isolated review worker.
Who it's for#
MergeMonkey is built for teams that:
- Ship fast but can't afford regressions — you want a second set of eyes on every PR without paying a full-time reviewer.
- Care about security — a missed SQL injection or leaked secret is a weekend on call.
- Already use CodeRabbit-style tools and want better signal — fewer comments, higher precision, calibrated severities.