# Mira

> Self-hosted AI code reviewer for GitHub, GitLab, Forgejo with your LLM key. Code indexing, vuln scanning, custom rules, learning loop, dashboard — free.

- **Category:** Code Review
- **Licence:** Apache-2.0
- **Latest version:** v0.10.0
- **Open source:** oss
- **Languages:** Typescript, Python
- **Tags:** Dashboard, Ai Agents, LLM, Devtools, Gitlab, Code Review, Vulnerability Scanning, Docker, Open Source, AI, Self Hosted, Coding Assistant, Ai Agent, Forgejo, Ai Coding Tools, Openrouter, Ai code review, GitHub, Codereview, Apache 2, Codeberg, Code Indexing, Custom Rules, Learning Loop, Ai Reviewer, Code Reviews, Codereviewer

## Description

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.

## Links

- [Homepage](https://github.com/miracodeai/mira)
- [Website](https://docs.miracode.ai)
- [Docker](ghcr.io/miracodeai/mira)
- [GitHub Repository](https://github.com/miracodeai/mira)
- [Discord Community](https://discord.gg/uEU6qvYhgm)
- [Quickstart Guide](https://docs.miracode.ai/quickstart)
- [GitHub Setup](https://docs.miracode.ai/github)
- [GitLab Setup](https://docs.miracode.ai/gitlab)
- [Forgejo Setup](https://docs.miracode.ai/forgejo)
- [Configuration Reference](https://docs.miracode.ai/configuration)
- [Deployment Guide](https://docs.miracode.ai/deployment)
- [Features Overview](https://docs.miracode.ai/features)

---
Source: https://selfhost.directory/project/mira