Best open-source AI code review tools (2026)
Our pick
Start with Kodus if you want AI review on pull requests from a tool you run on your own servers. It reviews pull requests on GitHub, GitLab, Bitbucket, Azure DevOps and Forgejo, and you connect your own key for OpenAI, Anthropic, Google Gemini, Vertex AI or any OpenAI-compatible endpoint. Self-hosting uses Docker on a VM. Most of the code is AGPL-3.0, and files marked as enterprise code have a separate licence, so read its licence file first. The free self-hosted edition has feature limits, and enterprise features need a paid licence.
Best for
- Self-hosting with every feature, no licence key
miracodeai/miraApache-2.0 and self-hosted by default, with the review engine, codebase indexing, vulnerability scanning and dashboard included, and no paid tier or licence key. It uses your own LLM key and works with OpenRouter, vLLM, Ollama and other OpenAI-compatible endpoints.
- Many Git hosts, including Gitea and Azure DevOps
Nikita-Filonov/ai-reviewRuns in your CI/CD pipeline and posts inline comments and summaries on GitLab, GitHub, Bitbucket Cloud, Bitbucket Server, Azure DevOps and Gitea. Providers include OpenAI, Claude, Gemini, Ollama, Bedrock and OpenRouter.
- A GitHub Action in one workflow file
cirolini/genai-code-reviewA GitHub Action that reviews pull request diffs with OpenAI, Anthropic, Google Gemini or any OpenAI-compatible server. It posts only a few findings and tells you what it held back.
- A reviewer that explores the codebase, in CI
mattzcarey/shippieA code-review agent that reads your diff, explores the codebase with developer tools and posts review comments. It runs in GitHub Actions and GitLab CI, works with Anthropic, OpenAI, OpenRouter and Cloudflare Workers AI, and is MIT licensed.
- GitLab merge requests, with chat notifications
sunmh207/AI-Codereview-GitlabReviews GitLab merge requests through a webhook and runs with Docker. It works with DeepSeek, ZhipuAI, OpenAI, Anthropic, Qwen and Ollama, and can push messages to DingTalk, WeCom and Feishu. Its documentation is in Chinese.
- Review before you push, inside your coding agent
openqodex/openqodexInstalls with npx openqodex init and works in Claude Code, Codex, Cursor, Cline and Goose. openqodex review checks the commits you have not pushed plus uncommitted changes, using separate Claude Code or Codex processes on your own login. It reviews before a pull request exists, and in Cursor, Cline and Goose it needs Claude Code or Codex installed.
The repos compared
Checked on Nov 26, 2026: the oldest day any repo in the table was last read from GitHub.
| Repo | Stars | Last commit | Latest release | Licence | Needs |
|---|---|---|---|---|---|
| kodustech / kodus-ai Self-hosted AI code review that uses your own LLM. | 1,676 GitHub (opens in new tab) | Active Dec 2, 2026 | selfhosted-2.2.12, Nov 22, 2026 | Custom | |
| miracodeai / mira A self-hosted AI code reviewer with indexed PR reviews, walkthroughs and vulnerability scanning. | 432 GitHub (opens in new tab) | Active Nov 24, 2026 | v0.11.1, Nov 9, 2026 | Apache-2.0 | |
| Nikita-Filonov / ai-review AI code review for GitHub, GitLab, Bitbucket, Azure DevOps and Gitea. | 619 GitHub (opens in new tab) | Active Nov 21, 2026 | v1.5.0, Nov 21, 2026 | Apache-2.0 | |
| mattzcarey / shippie A code review and QA agent you can extend. | 2,539 GitHub (opens in new tab) | Active Jul 2, 2026 | v0.21.2, Jun 23, 2026 | MIT | |
| cirolini / genai-code-review A GitHub Action that reviews pull request diffs with an LLM and comments on the PR. | 373 GitHub (opens in new tab) | Active Sep 21, 2026 | v3.0.1, Sep 21, 2026 | MIT | |
| sunmh207 / AI-Codereview-Gitlab Automatic LLM code review for GitLab, with chat notifications, Docker deployment and a dashboard. | 1,883 GitHub (opens in new tab) | Active Oct 8, 2026 | v1.5.1, Jun 29, 2026 | Apache-2.0 | |
| openqodex / openqodex A separate reviewer agent that checks each change your coding agent writes. | 1,239 GitHub (opens in new tab) | Active Dec 1, 2026 | [email protected], Dec 1, 2026 | Apache-2.0 | Node 22 or newer, and git.; macOS or Linux. CI runs the gate on Node 22, on macOS and on… |
| The-PR-Agent / pr-agent An open-source AI reviewer for pull requests. | 16,807 GitHub (opens in new tab) | Active Nov 30, 2026 | v0.50.0, Nov 7, 2026 | MIT |
Install commands
Copied from each repo. Read its setup steps before you run anything.
miracodeai/mira
docker run -p 8000:8000 --env-file .env \
-v "$(pwd)/mira.yaml:/app/mira.yaml" \
ghcr.io/miracodeai/mira:latest --config /app/mira.yaml Nikita-Filonov/ai-review
pip install xai-reviewQuestions
Which open-source AI code review tools work with GitLab?
Kodus connects to GitLab, including self-managed GitLab. AI Review runs in GitLab CI/CD. Mira reviews GitLab merge requests. AI-Codereview-Gitlab is built around GitLab webhooks. Shippie runs in GitLab CI.
Can I run AI code review on my own servers?
Yes. Kodus runs with Docker on a VM you control, with at least 2 CPU cores, 8 GB of RAM and 60 GB of free disk. Mira is self-hosted by default and keeps diffs, indexes and review history in your own SQLite or Postgres.
Do these tools need an LLM API key?
Kodus and Mira take your own LLM key, so you pay the model provider directly. genai-code-review works with OpenAI, Anthropic, Google Gemini or any OpenAI-compatible server. AI Review, Mira and AI-Codereview-Gitlab can also use a local Ollama model.
Is there a free open-source AI code review tool?
Every tool on this page publishes its source code, and the Licence column shows each licence. Running one still costs whatever your LLM provider or your own server charges. Kodus also offers a hosted Kodus Cloud next to self-hosting.
