> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kodus.io/llms.txt
> Use this file to discover all available pages before exploring further.

# How to automate code review on GitHub, GitLab, and Bitbucket

> Set up AI-powered code review that runs automatically on every pull request across GitHub, GitLab, Bitbucket, and Azure DevOps.

Manual code reviews create bottlenecks. Reviewers context-switch, PRs queue up, and feedback quality varies. AI-powered code review runs instantly on every PR, catching issues before a human reviewer even looks at the code.

## How Kodus automates code review

Once connected, Kodus automatically reviews every pull request. It analyzes code for security vulnerabilities, performance issues, error handling, maintainability, and your custom rules — then posts comments directly in the PR.

### Supported platforms

* **GitHub** — via GitHub App
* **GitLab** — via OAuth + webhooks
* **Bitbucket** — via webhooks
* **Azure DevOps** — via webhooks

### What gets analyzed

By default, Kodus checks for:

* Security issues (SQL injection, XSS, hardcoded secrets)
* Performance problems (N+1 queries, missing indexes)
* Error handling gaps
* Potential bugs (null pointers, resource leaks)
* Code style and maintainability
* Your custom Kody Rules
* Business logic compliance (validates against linked task requirements)

### Review cadence options

| Mode           | Behavior                                                          |
| -------------- | ----------------------------------------------------------------- |
| **Automatic**  | Reviews every push — continuous feedback                          |
| **Auto-pause** | Pauses during rapid pushes (e.g., 3 in 15 minutes) to avoid noise |
| **Manual**     | Only reviews when you comment `@kody start-review`                |

## Getting started

1. Create a workspace at [kodus.io](https://kodus.io) or [self-host Kodus](/how_to_deploy/en/deploy_kodus/generic_vm)
2. Connect your Git provider (GitHub, GitLab, Bitbucket, or Azure DevOps)
3. Select which repositories to monitor
4. Open a PR — Kodus reviews it automatically

For platform-specific setup, see:

* [GitHub setup](/knowledge_base/en/how-to-set-up-ai-code-review-on-github)
* [GitLab setup](/knowledge_base/en/how-to-set-up-ai-code-review-on-gitlab)
* [Azure DevOps setup](/knowledge_base/en/how-to-set-up-ai-code-review-on-azure-devops)
* [Bitbucket setup](/how_to_deploy/en/platforms/bitbucket/bitbucket_webhook)
