PR Agent

A self-hosted pull-request reviewer for teams who want their own model and their own rules

🚀 PR Agent: The Original Open-Source PR Reviewer. This project is not the Qodo free tier.

Category
AI agents & assistants
Audience
Developers
Language
Python
Licence
MIT

Updated

PR Agent is an open-source, self-hosted pull-request reviewer: a Python tool that hands a pull request's diff to a large language model and writes the results back onto the pull request. It is aimed at developers and small engineering teams who already review code on a Git host and want an automated first pass that they run themselves, with a model they choose and configuration they control. The project is MIT-licensed, has roughly 15,600 stars and 2,100 forks, was created in July 2023, and was still receiving commits on November 8, 2026. Its own GitHub description draws a line: this repository is the original open-source reviewer, kept separate from the Qodo free tier.

What it does

The tool reviews pull requests with an LLM and manages the review artifacts around them, including labels and, if you enable it, automatic approval. The release the video covers, v0.50.0, is mostly about who gets to decide how all of that behaves.

Per the project's own release notes as relayed in the video, v0.50.0 closes a configuration gap: a config file living inside the repository being reviewed can no longer override retry pacing, custom labels, or auto-approval. Those settings are now locked to the host configuration instead of the repo. This matters because, without the fix, a repository could quietly change the behavior of the reviewer pointed at it, up to and including whether its own pull requests get approved.

The same release hardens how PR Agent itself ships. PyPI packages now go out through GitHub's Trusted Publishing, each release carries attestations, and the release workflow rejects commits that are not reachable from main. New model support also lands: Claude Sonnet 5.5 and Kimi K3.1 Pro, plus guardrails for Amazon Bedrock. All of these are the maintainers' claims about their own release; the materials here contain no independent benchmark and no performance figures, so treat any quality comparison between models as untested.

How it works

PR Agent is written in Python and runs where it can see your pull requests, rather than as a hosted service you sign into. It brings no intelligence of its own: you point it at a model provider. The repository's topics name OpenAI and Anthropic for paid APIs and Ollama for local models, and the new release adds guardrails for Amazon Bedrock.

Behavior comes from configuration, which is layered: settings supplied by whoever runs the instance, plus settings a reviewed repository may contribute. After v0.50.0, the sensitive keys (retry pacing, custom labels, auto-approval) resolve in favor of the host.

Getting started

The first requirement is a model, and this is where money enters. The tool is free and MIT-licensed, but somebody has to pay for the intelligence: either a paid API key (OpenAI, Anthropic, or Amazon Bedrock) or a local model you run yourself through Ollama on your own hardware. There is no bundled model and no free tier inside this repository.

The project does not list hardware requirements, operating systems, memory, or VRAM in the material available here. If you go the local route, the real requirement is whatever the model you pick demands of your machine.

Where to get it: the repository is github.com/The-PR-Agent/pr-agent. Builds are published in three places, so you do not have to work from a clone: the PyPI package named pr-agent, the Docker Hub image pragent/pr-agent, and tagged GitHub Releases, which now carry attestations. Documentation lives at docs.pr-agent.ai. The copy of the README saved for this entry is truncated before the usage section, so read exact commands and the current list of supported Git hosts from that docs site rather than from this page.

When to use it / when not

The main catch is the one the video names: you still need a model, paid or local, and the cost or the hardware is yours. A second, smaller catch is that automated review only helps if its settings are sane, which is exactly why the v0.50.0 precedence change exists.

Use it instead of a hosted reviewer like the Qodo offering when you want the reviewer on your own infrastructure, with host-controlled configuration and an auditable release chain. Don't use it if you merge a handful of pull requests a week and pasting a diff into Claude by hand already covers you, or if you cannot supply an API key or run a local model.

Alternatives

The obvious comparison is the hosted path: the Qodo free tier, which the project's description explicitly distinguishes itself from, or whatever review automation your Git host bundles. The low-effort alternative is manual: open a chat assistant and ask it to read the diff. PR Agent's argument against both is control, not capability: your model, your config, your release artifacts.

Anyone running LLM-assisted review on repositories they do not fully trust should take this release seriously, because configuration precedence is a security property and v0.50.0 treats it as one. Teams already happy with a hosted reviewer gain less. For everyone else, this is a mature, actively maintained Python tool whose honest price tag is the model bill.

More in AI agents & assistants

All of AI agents & assistants →