Self-host Mira
v0.10.0Self-hosted AI code reviewer with your own LLM key
- Stars
- 380
- Port
- 8000 (HTTP server for dashboard and webhooks)
ghcr.io/miracodeai/miraWhat is Mira?
Mira is a self-hosted AI code reviewer that automatically reviews pull requests and merge requests on GitHub, GitLab, and Forgejo (including Codeberg). It works with any LLM through OpenRouter — which provides access to Anthropic, OpenAI, Google, DeepSeek, and other models — or through direct integrations with Ollama, vLLM, Together, Groq, Fireworks, and AWS Bedrock. The tool indexes your entire codebase to give the model full project context, runs hourly OSV.dev vulnerability scans across all dependencies, and learns from your team's review patterns to create custom rules automatically. The built-in dashboard provides org-wide package search, dependency blast-radius graphs, per-repo cost tracking, and review health metrics. You deploy it via a Docker image (ghcr.io/miracodeai/mira) backed by SQLite or PostgreSQL, with one-click options for Railway, Fly.io, and Render. Every feature is included in the open-source version under Apache 2.0 with no paid tier or license key required.
Should you self-host Mira?
Mira scores 51/100 on selfhost.directory (how scoring works) and ranks #6 of 10 in Code Review. It has 380 GitHub stars.
It shipped 10 stable releases in the past year. The latest, v0.10.0, came out on 26 October 2026. New versions land roughly every 2 weeks.
Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Python.
Its closest alternative on selfhost.directory is openhands (87/100, 92 094 stars). It scores higher overall, so compare the two before you pick. See Mira vs openhands side by side.
Features
- AI-powered inline PR comments
- Cross-chunk and cross-file deduplication
- Cross-PR overlap detection
- Custom review rules
- Dashboard with analytics
- Dependency blast-radius graphs
- Full-repo code indexing
- GitHub, GitLab, and Forgejo support
- Learning loop
- Model-agnostic LLM support
- Multi-file reasoning
- Org-wide package search
- PR walkthroughs and summaries
- Streaming reviews
- Vulnerability Scanning
Mira README
More in Code Review
ORG-2Open-source, self-hosted desktop app that records coding-agent sessions as replayable trajectories, with a Rust harness, launchers for 20+ CLIs, and team review.
pr-agentSelf-hosted open-source AI agent that reviews pull requests, writes PR descriptions and suggests code improvements on GitHub, GitLab, Bitbucket, Gitea or Azure DevOps.
ProvalSelf-hosted AI code reviewer for GitLab, Forgejo, and GitHub that runs on your own hardware with any LLM you choose, including local models via Ollama or llama.cpp.
Review BoardOpen-source, self-hosted code review platform with advanced diff viewer, document/image review, flexible workflows, and Git/SVN/Perforce integrations.
SonarQubeSelf-hosted, open-source static analysis server: finds bugs, vulnerabilities, code smells and coverage gaps across 21 languages, with quality gates and CI integration.
twinnyOpen-source VS Code extension for AI coding with local models. Code completion, chat, inline edits, and reviews run on your infrastructure. No telemetry or accounts.
WhiteboardSelf-hosted desktop canvas where coding agents draw architecture-level reviews of diffs. Open-source MIT: AST-based semantic diffs, diagrams linked to code.
AI-Git-BotSelf-hosted AI automation for Git repositories that handles PR reviews, test creation, issue improvement, and code generation across major Git platforms.
CodraCodra is a self-hosted, open-source AI code review engine on Cloudflare Workers that posts inline comments on GitHub PRs using configurable LLM providers.
GerritOpen-source, self-hosted code review and Git repository management server: patchset reviews, fine-grained permissions, plugins, REST API and webhooks.
gitbucketA self-hosted, open-source Git platform in Scala: run one war file on Java 17 for repos, issues, pull requests, wiki, LDAP/OIDC logins and GitHub-compatible APIs.
kodusSelf-hosted AI code review for major Git platforms. Bring your own LLM keys with zero markup. AGPL core with enterprise features.


0 comments