Introduction

The open-source AI code reviewer that reviews your pull requests with the LLM of your choice.

Mira is a self-hostable, fully open-source AI code reviewer. It connects to GitHub, GitLab, or Forgejo, watches your pull and merge requests, and posts concise inline comments and walkthroughs using the LLM of your choice: Anthropic, OpenAI, Google, DeepSeek, or anything else available through OpenRouter.

Everything is included: the review engine, codebase indexing, vulnerability scanning, custom rules, org-wide package search, the dashboard, and the learning loop. There's no paid tier and no license key to buy.

The Mira dashboard: review activity, severity breakdown, and per-repo drill-down.

Why Mira

  • Bring your own LLM. You pick the model and point Mira at OpenRouter, so you pay your provider directly with nothing added on top.
  • Indexed reviews, not diff-only. Mira indexes your whole repository, so the model reviews each diff with full project context instead of just the changed lines.
  • Low noise by default. Confidence thresholds, deduplication, severity sorting, and per-PR comment caps all work together, so the comments you do see are ones worth reading.
  • Learns your team. It synthesizes rules from the comments you reject and from how your reviewers comment on merged PRs.
  • Self-host from day one. It's a single Docker image backed by SQLite or Postgres, with no phone-home and no required telemetry.

Coming soon

  • More git providers. GitHub, GitLab, and Forgejo (incl. Codeberg) are fully supported today; a Bitbucket adapter is on the way. The platform layer is data, not code — each host is a registry entry plus one provider class — so the engine, indexer, and dashboard stay provider-agnostic.
  • Direct LLM backends. Native adapters for Anthropic, OpenAI, Google Vertex, Ollama, and vLLM will sit alongside OpenRouter. These help when you already hold provider keys, run open-weights models in-house, or have data-residency rules that keep traffic off OpenRouter.

Get started

Community

Questions, feature requests, or want to compare notes with other teams running Mira? Join us on Discord, the fastest way to get help and shape the roadmap.

License

Apache 2.0. Source at github.com/miracodeai/mira.

On this page