Requirements and limits
Connected knowledge repositories are available on CodeRabbit Cloud for GitHub, GitLab, Azure DevOps and Bitbucket Cloud.Connected knowledge repositories are available as part of a private preview on the Team, Advanced and Enterprise plans. Contact CodeRabbit support to enable them for your organization.
- CodeRabbit always uses the default branch (for example,
mainormaster) as the content source. - Only an organization admin can connect, refresh or disconnect a repository.
- The repository must already be installed for CodeRabbit in the same organization.
Connect a repository
- In the CodeRabbit app, open General â Knowledge repositories in the sidebar.
- Under Repository to connect, search for the repository and select it.
- A public knowledge repository is used for every repository in your organization.
- A private or internal knowledge repository is used only for other private and internal repositories.
- Click Connect. CodeRabbit confirms with Repository connected and starts the first sync.
- The repository appears in the list with links to Re-index, Disconnect and its summary page.
- The repository is usually available in reviews and scans within a few minutes.
Feature support
- Pull request reviews: check changes against your documented conventions and guidelines.
- Chat replies on pull requests and issues: answer questions with your docs as context.
- Deep Scan and pull request security scans: give security agents your architecture and threat notes.
- Coding Agent (coming soon): give cloud coding tasks your docs while they work.
- QA Agent (coming soon): inform test planning and testing.
Manage a connected repository
You can manage connected repositories from Knowledge repositories in settings:- Update the knowledge: push to the default branch. CodeRabbit refreshes it automatically.
- Force a refresh: click Re-index on the repositoryâs row.
- View the summary page: click the repository on Knowledge repositories, or open Knowledge base in the sidebar.
- Stop using a repository: click Disconnect. CodeRabbit removes its summary page and stops using it.
- Stop a single repository from using connected knowledge: turn on the knowledge base opt-out for that repository, in its settings or in
.coderabbit.yaml. Later reviews, scans and agent runs for that repository ignore connected repositories.
Whatâs next
Knowledge Base overview
Return to the Knowledge Base overview for all adaptive review features
Multi-repo analysis
Link related repositories so reviews check cross-repository impact
Configuration reference
Review every
.coderabbit.yaml option, including the knowledge base opt-out