Skip to content

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:

  1. 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.

  2. 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.

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

  4. 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.

  5. Post comments

    Findings land as inline comments on the exact changed lines, plus a top-level summary of the review.

What makes MergeMonkey different#

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.

What's next?#