Automatic repository linking is available on the Pro+ and Enterprise plans. The number of repositories CodeRabbit links is bounded by your plan’s linked-repository limit.
How CodeRabbit detects related repositories
When automatic repository linking is enabled, CodeRabbit scans the repositories across your Git organization and infers how they relate to one another. It examines import statements, dependency manifests, API consumption, and the broader architectural relationships between repositories, then describes each relationship in plain text so the review agent can reason about cross-repository impact. CodeRabbit links repositories on the same platform as the repository under review. Inaccessible repositories are skipped. See Platform requirements for the access each platform requires.Enabling automatic repository linking
- YAML Configuration
- Web Interface
Set
automatic_repository_linking under knowledge_base in the repository’s .coderabbit.yaml:.coderabbit.yaml
During reviews
At review time, automatically linked repositories feed the same cross-repository research as manually linked ones. The repositories CodeRabbit considered appear in the pull request review comment under ℹ️ Review info > 🔗 Linked repositories identified, where each entry is labeled by source as manually or automatically linked. When the changes are self-contained and have no cross-repository impact, CodeRabbit produces no findings, which is expected behavior.Manual vs automatic linking
Manual and automatic linking work together; they differ only in how the list is maintained.| Manual linking | Automatic linking | |
|---|---|---|
| Maintenance | You add and remove repositories yourself | CodeRabbit discovers and links related repositories for you |
| Configuration | knowledge_base.linked_repositories | knowledge_base.automatic_repository_linking: true |
| Plans | All paid plans | Pro+ and Enterprise |
| Best for | A small, stable set of known dependencies | Larger or fast-changing dependency graphs |
What’s next
Multi-Repo Analysis
Configure linked repositories manually and learn how cross-repo findings surface in reviews
Plans and pricing
See how many repositories each plan can link