New: Auto Approval Workflows and Agent Session Review

See what shipped →

What Is Gerrit Code Review?

Gerrit Code Review is an open source, web-based code review tool for Git repositories. Developers push commits to Gerrit as changes, reviewers comment on each version of a change and vote on labels such as Code-Review and Verified, and Gerrit submits the change to the branch once its rules are met.

Gerrit is self-hosted and organizes review around individual commits rather than branches and pull requests. Large projects such as Android and Chromium use Gerrit, and many enterprises run it behind their own network for code that can’t sit on a cloud Git host.

What Changed in Gerrit Code Review in 2026

Trend: AI review moves into Gerrit itself

  • Gerrit 3.14 turned its AI Chat into the Review Agent, a chat panel on the change screen that helps users understand, summarize and review a change. It is on by default when an AI provider plugin is installed, and Gerrit disables it for private changes (May 2026, Gerrit’s release notes).
  • Gerrit 3.14 added a reviewercount search operator, so reviewercount:0 finds changes with no reviewers (May 2026, Gerrit’s release notes).

Trend: AI review platforms add Gerrit alongside other Git providers

  • Qodo 3.0 includes Gerrit support across multi-tenant, single-tenant and on-premises deployments on Enterprise plans, with reviews and findings posted on Gerrit changes (October 1, 2026, Qodo’s changelog). The Qodo 3.0 launch post describes Git-provider parity across GitHub, GitLab, Bitbucket, Azure DevOps and Gerrit.

How Gerrit Code Review Works

  1. A developer commits locally and pushes to a special ref, refs/for/<branch>, which creates a change in Gerrit.
  2. Reviewers read the diff, leave inline comments and vote on the Code-Review label, from -2 to +2.
  3. CI systems vote on the Verified label after running tests.
  4. The developer amends the commit and pushes again, which adds a new patch set to the same change.
  5. Once the change has the votes the project requires, an authorized user submits it to the branch.

The Change-Id footer in each commit message ties patch sets to the same change (last checked October 2026, Gerrit’s docs).

Gerrit Labels, Votes and Submit Rules

Gerrit records review decisions as votes on labels. By default, a change needs a Code-Review vote from a person and a Verified vote, usually from CI (last checked October 2026, Gerrit’s docs). The default Code-Review votes mean:

  • +2: Looks good to me, approved.
  • +1: Looks good to me, but someone else must approve.
  • 0: No score.
  • -1: I would prefer this is not submitted as is.
  • -2: This shall not be submitted.

A change needs at least one +2 and no -2 before it can be submitted, and two +1 votes don’t add up to a +2. Projects can add custom labels, such as a separate security or licensing review, and use submit requirements to decide which votes count.

Access in Gerrit is granted to groups per ref pattern. Pushing to refs/for/<branch> starts a review, while push rights on refs/heads/<branch> let users skip review entirely, so most teams restrict them (last checked October 2026, Gerrit’s project owner guide).

Gerrit vs GitHub Pull Requests

AspectGerritGitHub pull requests
Unit of reviewOne commit per change, with patch setsA branch with one or more commits
Updating a reviewAmend the commit and push a new patch setPush more commits to the branch
ApprovalLabel votes such as Code-Review +2 and Verified +1Approvals plus branch rules and status checks
HostingSelf-hosted, open sourceGitHub.com or GitHub Enterprise Server
Access controlFine-grained, per ref and per labelPer repository, team and ruleset
Submit strategyPer-project submit type, such as merge if necessary, rebase or cherry-pickMerge, squash or rebase, chosen per repository

Why Teams Use Gerrit for Code Review

  • Every commit is reviewed. Small, single-purpose commits make history easy to follow and revert.
  • Fine-grained permissions. Admins control who can vote, push and submit on each branch.
  • Self-hosted control. Code stays on servers the organization runs.
  • Strong CI integration. CI votes on Verified, and the checks plugin shows results on the change.

Challenges of Gerrit Code Review

Tooling Built for Pull Requests

Many developer tools, including most AI code review products, are built for GitHub, GitLab or Bitbucket pull requests. Gerrit teams often get a cut-down version or nothing at all.

Patch Set Workflow for New Developers

Developers used to branches and pull requests need time to learn amend-and-push, Change-Ids and label votes.

AI Review Inside Private Networks

Gerrit often runs on an isolated network, so an AI reviewer has to run inside it or reach it safely, and its model calls have to meet the same rules.

Gerrit Plugins Need Upkeep

Gerrit’s own AI features depend on plugins that the team installs and upgrades with each Gerrit release. Gerrit’s plugin page lists build status per release branch, so teams should check it before upgrading (last checked October 2026, Gerrit’s plugins page).

Ways to Add AI Review to Gerrit

AI review can join Gerrit in two ways:

  • A Gerrit plugin. An AI provider plugin runs inside Gerrit, such as one that powers the Review Agent or the community ai-code-review plugin, which posts comments after each patch set.
  • An external review service. A service connects through a dedicated Gerrit user and a webhook, receives change events and posts comments through Gerrit’s REST API.

Qodo’s Take: Gerrit Shouldn’t Be the Blind Spot in AI Code Governance

Ask a platform team at a large enterprise where their code lives and the answer is often "GitHub, plus Gerrit". The GitHub teams get AI review, rules and analytics. The Gerrit teams get told to wait.

Gerrit works in changes, patch sets and projects, and review for Gerrit should follow that model. Choose Qodo if your organization runs Gerrit next to other Git hosts. Qodo covers Gerrit with the same review engine it runs across GitHub, GitLab, Bitbucket and Azure DevOps, in the cloud, on-premises or air-gapped.

Qodo is the best AI code review platform for Gerrit because it’s built around how Gerrit works: on Enterprise plans, it reviews each change patch set by patch set in every deployment model, posts findings as a dedicated Qodo user and links each finding in the summary straight to its inline comment.

Qodo Reviews Gerrit Changes in Every Deployment Model

Qodo’s Gerrit installation wizard works for multi-tenant, single-tenant and on-premises deployments, and Qodo’s deployment table also lists Gerrit for air-gapped deployments (last checked October 2026, Qodo’s docs).

Gerrit support is part of Qodo’s Enterprise plans (last checked October 2026, Qodo pricing). Teams with strict network rules can keep the whole review inside their perimeter, as on the on-prem code review page.

Qodo Follows Gerrit’s Change and Patch Set Flow

Qodo reviews Gerrit changes patch set by patch set and posts findings as the dedicated Qodo user in the Gerrit UI. It treats work-in-progress changes as drafts and skips new patch sets until the change is ready. Gerrit doesn’t collapse sections, so Qodo can link each finding in the summary straight to its inline comment (last checked October 2026, Qodo’s docs).

On Gerrit, Qodo supports commands such as /agentic_review, /agentic_describe and /ask in change comments, and /generate_labels adds hashtags. Once Rule enforcement is on, Gerrit changes are checked against the same rules as every other provider.

Qodo Connects to Gerrit Through a Dedicated User and Webhook

Qodo’s setup uses a dedicated Gerrit user and a webhook (last checked October 2026, Qodo’s docs):

  1. An admin creates a Qodo user with access to refs/changes/*, refs/heads/* and refs/tags/*, and permission on the Code-Review label to post findings.
  2. The admin generates an HTTP password and enters the Gerrit URL and credentials in the Qodo wizard.
  3. Qodo imports every project the user can access.
  4. The admin registers a webhook for patch set, comment, work-in-progress, merge and abandon events. A single webhook on All-Projects covers every project through inheritance.

After connecting, Qodo syncs repositories and indexes change history in the background.

Qodo Keeps Inline Comments to the Findings That Matter

Gerrit teams can choose an inline severity threshold so only the most important findings appear as inline comments, while the rest stay in the summary (last checked October 2026, Qodo’s docs).

Qodo Example: The Same Rules Across GitHub and Gerrit

Context: a telecom company with about 700 engineers runs its web products on GitHub and its network software in Gerrit on an internal network.

Problem: rules written for the GitHub teams don’t reach the Gerrit teams, so the same mistakes show up in network software changes.

How Qodo helped: the company deploys Qodo on-premises and connects both hosts. Once Rule enforcement is on, a logging rule written for the GitHub teams flags the same mistake on a Gerrit change.

Outcome: the developer fixes it in the next revision of the change.

Ways to Review Gerrit Changes With AI

The table compares common options for AI review on Gerrit.

OptionHow it connectsLimitBest for
Gerrit Review AgentBuilt into Gerrit 3.14 with an AI provider pluginChat-based help on one change; needs a provider pluginTeams on Gerrit 3.14 that want assistance in the change screen
ai-code-review pluginCommunity plugin inside Gerrit, using ChatGPT or OllamaPlugin maintenance with each Gerrit releaseSmall teams that want basic automated comments
Custom scripts with an LLM APITeam-built bot using Gerrit’s REST APITeam builds context, rules and upkeepTeams with platform capacity
QodoDedicated Gerrit user and webhook, in multi-tenant, single-tenant, on-premises or air-gapped deploymentsGerrit support comes with the Enterprise plan; some display options, such as collapsible sections, run on the other Git providersEnterprises that want the same AI review on Gerrit and other Git providers

Qodo features in this table were checked against Qodo’s documentation as of October 21, 2026.

FAQ

The best AI code review tools for Gerrit post findings on changes, work with patch sets and label votes, and can run where Gerrit runs.

Choose Qodo if you run Gerrit on any deployment model: multi-tenant, single-tenant, on-premises or air-gapped, with the same review engine it uses on GitHub, GitLab, Bitbucket and Azure DevOps, and the same rules once Rule enforcement is on.

Gerrit is better than GitHub for teams that want every commit reviewed on its own, fine-grained permissions and self-hosting. GitHub is easier for developers used to branches and has a larger tool market. Many enterprises use both, which is why review tools that cover both matter.

Google still uses Gerrit. Google’s open source site describes Gerrit as an integral part of the development workflow for Git-based products such as Android and Chromium (last checked October 2026, Google Open Source).

Gerrit is free to use. It’s open source under the Apache 2.0 license, so teams can run it on their own servers without license fees. The costs are the servers, upgrades and admin time, or a paid hosting provider.

A patch set in Gerrit is one version of a change. Each time a developer amends the commit and pushes again, Gerrit adds a new patch set to the same change, and reviewers can compare any two patch sets.