
Codacy
Static analysis and quality gates for engineering teams.
Discover top open-source software, updated regularly with real-world adoption signals.

AI-driven code reviews you can host and customize yourself
Free, self‑hosted AI code review agent with CLI, GitHub Action, and multi‑platform support for GitHub, GitLab, BitBucket, and Azure DevOps.

PR-Agent is a community‑maintained AI‑powered code review tool that you can run on your own infrastructure. It offers core review commands such as /describe, /review, /improve, and , letting developers get automated feedback directly in pull requests or via the command line.
/askInstall the GitHub Action, configure your OpenAI (or Claude) API key, and PR-Agent will comment on new PRs with suggestions, bug detection, and improvement ideas. The same engine can be invoked locally with the CLI for on‑the‑fly analysis, or integrated with GitLab, BitBucket, and Azure DevOps through webhooks or app installations. Because the code is fully open, you retain control over data, can tailor prompts, and extend functionality to fit unique workflows.
Ideal for developers and teams that need full control, custom integrations, or strict data‑privacy policies. It requires you to manage API keys and hosting, but in return you get a free, extensible review assistant without vendor lock‑in.
When teams consider PR-Agent, these hosted platforms usually appear on the same shortlist.
Looking for a hosted option? These are the services engineering teams benchmark against before choosing open source.
Automated PR reviews in CI
Pull requests receive AI‑generated feedback automatically on each push, catching bugs and suggesting improvements before merge.
On‑demand code improvement via comment
Developers can comment `@CodiumAI-Agent /improve` on any PR to get targeted refactoring suggestions.
Local development feedback
Run `pr-agent` from the CLI to analyze code changes locally, integrating suggestions into the developer’s workflow.
Cross‑platform repository integration
Deploy webhooks or apps for GitLab, BitBucket, or Azure DevOps to bring AI reviews to any repository.
No, PR-Agent is free and open source. You only pay for the underlying AI model provider (e.g., OpenAI).
GitHub, GitLab, BitBucket, and Azure DevOps are all supported via actions, webhooks, or app installations.
You must supply an API key for the LLM service you use (OpenAI, Claude, etc.) via environment variables.
PR-Agent requires connectivity to the LLM provider’s API, so an internet connection is necessary.
Fork the repository, make your changes, and open a pull request. See the CONTRIBUTING guide for details.
Project at a glance
ActiveLast synced 4 days ago