Español

Migrating from CodeRabbit to Deep Review

Move CodeRabbit pull request reviews to Deep Review, including learnings.

Deep Review is Aikido's pull request reviewer. It reads the change with context beyond the diff, posts comments on the pull request, and remembers accepted risk from your team's replies.

Use this guide to map a CodeRabbit setup onto Deep Review, import the learnings you still want, and retire CodeRabbit without a sudden change in what developers see.

#Choose your migration path

You don't need the same path for every repository. Start with the path that matches how heavily the team relies on CodeRabbit today.

PathUse this whenWhat to do
Move to Deep Review directlyCodeRabbit mostly reviews pull requests and stores a modest set of learnings.Enable Deep Review, import learnings, point branch protection at Aikido, then disable CodeRabbit.
Run both temporarilyYou want to compare comments on a few pull requests before you change required checks.Enable Deep Review and import learnings first. Leave CodeRabbit installed until the comments look right, then remove it from required checks.

#Map CodeRabbit concepts to Deep Review

CodeRabbit conceptAikido equivalentNotes
Pull request reviewDeep ReviewAikido comments on the pull request and posts the Aikido Security: Deep Review check.
Review profile (quiet, chill, assertive)Strictnessquiet maps to High Risk Only, chill to Normal, and assertive to Assertive.
LearningsDeep Review memoryImport them with the API below. Memory stores accepted risk and known false positives for one repository.
@coderabbitai repliesReply in plain languageReply on the pull request. You don't need to mention Aikido. A lasting explanation is stored in memory.
Ask for a fix in chatAutoFixReply to the finding and ask for a fix. Aikido opens a pull request when AutoFix is enabled.
Path instructions and .coderabbit/instructions/AGENTS.mdUse this for trust boundaries, intentional behavior, and what should still be reported. The memory import skips instructions that only ask the reviewer to report, check, or enforce something.
Code guidelines (AGENTS.md, CLAUDE.md, .cursor/)The same filesDeep Review already reads AGENTS.md, CLAUDE.md, .claude/, and .cursor/. No import is required.
Path filters.aikido exclude pathsA pull request that only changes excluded files is skipped, and you are not charged.
Related repositoriesLinked repositoriesLink a repository when the review needs context that lives outside the pull request.
Linters and analyzer toolsSAST, Code Quality, secrets, and dependency scanningDeep Review reads those findings on the pull request and takes them into account.
Custom pre-merge checksCustom SAST and IaC rules and custom code rulesA finding from that rule fails the pull request through PR gating when it meets your severity threshold.

#Prerequisites

  • The repositories are connected to Aikido.
  • You can open CodeRabbit Review → Learnings and export them.
  • A workspace admin can create an API client. Importing memory requires the repositories:write scope. Listing repositories requires repositories:read.

#How the import works

Send each repository's learnings with Add Deep Review memory.

Memory can only stop a finding from being reported. Send learnings that describe accepted behavior or a known false positive, and include the path or area when you have it. Instructions that ask Deep Review to look for, report, or enforce something are skipped. Put those in AGENTS.md, or create a custom rule when you want them enforced on every change.

Aikido rewrites the instructions in the background. This can take a few minutes. Deep Review must already be enabled for the repository.

#Migration checklist

  1. #Export learnings for one repository

    In the CodeRabbit app, open Review → Learnings. Filter the table to the repository you are migrating, then click Export CSV.

    CodeRabbit downloads learnings.csv. The Learning column is the text to import. When the File column is set, keep that path with the learning so the exception stays narrow.

    Skip learnings you no longer agree with. Leave pending learnings on the Pending approvals tab out of the import until someone approves them.

  2. #Enable Deep Review

    Go to Manage PR/MR Checks, select the repository, and turn on Perform Deep Review of PRs. Set strictness to the level that matches the CodeRabbit profile: High Risk Only, Normal, or Assertive.

    See Configure Deep Review.

  3. #Copy the Aikido repository ID

    Open the repository in Aikido. The number in the URL is the ID you send to the API. For https://app.aikido.dev/repositories/12345, the ID is 12345.

    To look it up for several repositories, call List code repositories and use id. external_repo_numeric_id is the ID from GitHub, GitLab, Bitbucket, or Azure DevOps, and the memory API rejects it.

  4. #Create an API client

    A workspace admin creates the client on the REST API integration page. Include the repositories:write scope. Include repositories:read as well when you list repositories from the API.

    See API authorization. Call the same host you use to log in: https://app.aikido.dev, https://app.us.aikido.dev, or https://app.au.aikido.dev.

  5. #Add the learnings to memory

    Send that repository's learnings with Add Deep Review memory. Separate learnings with newlines, and keep the file path in the text when the export has one.

    Create a token first. See API authorization.

    A successful call starts the update. Aikido rewrites the instructions in the background, which can take a few minutes. Repeat for each repository. Use that repository's learnings and its own Aikido ID.

  6. #Review what was stored

    Wait a few minutes, then open the repository and go to Insights → Review Memory.

    Instructions that ask Deep Review to report or enforce something are not stored. Copy those into AGENTS.md or a custom rule. See Guide Agents with Repository Files.

  7. #Move the rest of the CodeRabbit configuration

    • Copy path instructions from .coderabbit.yaml (reviews.path_instructions) or from .coderabbit/instructions/ into AGENTS.md when they describe how the system is meant to work.
    • Copy path filters into a .aikido file.
    • Turn on the Aikido PR checks that replace CodeRabbit's linters: SAST, Code Quality, secrets, and dependency scanning.
    • Link repositories when a review needs another repository for context.
  8. #Switch required checks

    After a few pull requests look right, require Aikido Security: Deep Review in branch protection and remove the CodeRabbit check.

    Disable CodeRabbit on the repository so it stops commenting. You can leave .coderabbit.yaml in git until nothing else reads it.

#Cutover checklist

Before you disable CodeRabbit on a repository, confirm that:

  • Deep Review is on, and strictness matches the review profile you used.
  • Review Memory shows the accepted risks you meant to keep.
  • Instructions that ask for a check live in AGENTS.md or a custom rule.
  • Path filters are in .aikido where you still want those files skipped.
  • Required checks point at Aikido.
  • Developers know they can reply on the pull request to ignore a finding, add context, or ask for a fix.

#Troubleshooting

What you seeWhat to do
Deep Review is not enabled for this code repo.Turn on Perform Deep Review of PRs for that repository, then call the API again.
Code repo not found.Use the Aikido repository id from the URL or from List code repositories.
Aikido AI couldn't add these instructions to the memoryRetry once. If it still fails, shorten the instructions and send them in smaller batches.
Review Memory does not include the learningsWait a few minutes. If they still do not appear, the text was already in memory, or it asked Deep Review to report or enforce something. Put rules you still want enforced in AGENTS.md or a custom rule.

If a CodeRabbit rule still has no Aikido equivalent, see Contact Support.

Cómo funciona Deep Review Configurar Deep Review Memoria de Deep ReviewQué recuerda la memoria de Deep Review a partir de las respuestas en pull requests y dónde consultarla. Guiar a los agentes con archivos del repositorioConfirma archivos markdown en el repositorio para que los agentes de Aikido puedan seguir tu arquitectura, tus límites de confianza y los riesgos aceptados.