The open source code reviewer.

Mira reviews every pull request the moment it opens, catching bugs, security issues, and convention drift before your team does. Self-hostable and works with local models.

Median wall-clock per PR. Bar width is the actual time taken, so shorter is faster. Mira is the only sub-2-minute reviewer on the chart.

Mira
77s
Greptile
5m
CodeRabbit
5m
GitHub Copilot
10m

* Measured on the 50-PR offline set of the Martian Code Review Bench (10 PRs each from Sentry, Grafana, Keycloak, Discourse, Cal.com), judged by Claude Sonnet 4.6. Competitor figures from the public dashboard.

Mira
mira-code-reviewerbot

Mira PR Walkthrough

Hardens the logout flow across the handler, service, and audit layers. Mira flagged an unauthenticated endpoint that accepts any userId, plus a missing await on session.revoke() that let the audit log commit before revocation finished.

src/api/logout.tssrc/middleware/auth.tssrc/auth/session.tssrc/audit/log.tssrc/db/sessions.ts
Confidence:2/5
· Review required before merge
Blast Radius- 2 dependent repositories, 14 total references
acme-co/web-app - 18 referencesacme-co/admin-console - 4 references
8 files reviewed·3 comments1 blocker1 warning1 suggestion
Reply…

Get started

Self-host Mira
in a single command.

Pull the image, point it at your GitHub App, and you’re reviewing pull requests. Deploy however you already ship.

docker run -p 8000:8000 \
  -e MIRA_GITHUB_APP_ID=123456 \
  -e MIRA_GITHUB_PRIVATE_KEY="$(cat private-key.pem)" \
  -e MIRA_WEBHOOK_SECRET=your-secret \
  -e MIRA_MODEL=anthropic/claude-sonnet-4-6 \
  -e OPENROUTER_API_KEY=sk-or-... \
  -e ADMIN_PASSWORD=change-me \
  ghcr.io/miracodeai/mira:latest

See Deploying with Docker for volume mounts, Postgres, and TLS.

01/ Summarise

Walks through the whole PR

Before reading the diff, Mira maps changed files, threaded dependencies, and the blast radius across any repo that imports you.

02/ Reason

Explains why it matters

Every issue comes with a blast radius, a confidence score, and the reasoning behind the call - so your team can triage quickly instead of debating rules.

03/ Suggest

Ships the fix inline

Every comment arrives with a one-click suggestion. Your team resolves, discusses, merges - no context switching out of GitHub.

What Mira catches

A senior reviewer
on every pull request.

Not a linter, not a rubber stamp. Mira reads the diff in context of the whole repo and leaves comments your team actually wants to merge.

Bug & regression detection

Mira reasons about call graphs and data flow - catching null derefs, races, missing awaits, and off-by-one errors reviewers miss.

Security review

Flags injection, unsafe deserialization, leaked secrets, and auth bypasses with direct references to the vulnerable lines.

Style & convention

Learns your codebase's patterns from the repo itself - naming, error handling, test style - and enforces them without a config file.

PR summaries

Every PR gets a human-readable changelog: what changed, why it matters, and which reviewers should take a look.

Polyglot from day one

First-class TypeScript, Python, Go, Rust, Java, Ruby. Mira adapts to monorepos and multi-language PRs without extra setup.

Self-host, private by default

Your code never leaves your infrastructure. Bring your own model - OpenAI, Anthropic, or a local LLM behind your firewall.

How it works

Reviews that reason.
Not rubber stamps.

Three steps - from indexing your repo, to swarming it with specialised agents, to learning your team's taste over time.

acme/apiacme/web-appacme/adminacme/mobileacme/authacme/billingacme/shared-libsacme/data
01/ Index

Reads your whole codebase

Builds a graph of your repo - files, functions, and dependencies - so every review reasons about the full system, not just the diff.

PR #2848 filesAGENT 01AGENT 02AGENT 03AGENT 04
02/ Review

A team of agents reviews the PR

Parallel agents read the diff at the same time, each with its own pass, then merge their findings into a single prioritised review.

REVIEW QUALITYweek 1today+38%
03/ Learn

Sharpens with every merge

Reads resolved comments and merged PRs to understand your team's standards - so reviews keep getting sharper.

How Mira compares

Open by default.
Not just another bot.

Most AI code reviewers are closed source and metered per seat. Mira is open source and self-hostable, so your code stays on infrastructure you control.

Open sourcePricing model
MiraYesFree, open source
GreptileNoPer seat / month
CodeRabbitNoPer seat / month
GitHubCopilot code reviewNoPer seat / month
GraphiteNoPer seat / month
QodoLimitedFree + paid tiers
BitoNoPer seat / month
SourceryNoPer seat / month

Compiled from public docs and pricing pages, May 2026. Tools change fast - corrections welcome.

FAQ

Questions, answered.

Is Mira really open source?
Yes. The review engine, model adapters, and every integration are Apache 2.0 on GitHub. Fork it, self-host it, ship your own build.
Does my code leave my infrastructure?
Not unless you want it to. Self-host Mira and point it at any LLM, including a local model behind your firewall, and your source never crosses the network boundary.
Which languages does Mira support?
Mira's indexer extracts symbol context for Python, TypeScript/JavaScript, Go, Rust, Java, C/C++, C#, Swift, Kotlin, Scala, and PHP. The LLM can review any language; indexed languages just get richer context on every PR.
How is Mira different from CodeRabbit or Greptile?
Mira is open source and self-hosted, so your code stays on your own infrastructure and you pick the LLM provider. CodeRabbit and Greptile are SaaS-only. On the public Code Review Bench, Mira's F1 is competitive with hosted reviewers while taking ~77 seconds per PR vs the 5-10 minutes most competitors take.
Can I try it before committing to a vendor?
Yes. There's no hosted version, but the self-hosted setup is short: pull the Docker image (ghcr.io/miracodeai/mira), run it with your config, and register your own GitHub App against your deployment.

Start reviewing
in two minutes.

Pull ghcr.io/miracodeai/mira, plug it into your own GitHub App, and you’re reviewing PRs.