Rank #09 · Weekly · DevTools
PR-Agent: The Original Open-Source AI Pull-Request Reviewer
Drop an AI reviewer on every PR — describe, review, suggest improvements, and answer questions — self-hosted or as a GitHub Action, under MIT.
What it does
PR-Agent is a community-maintained, AI-powered code-review agent. README positioning: "The Original Open-Source PR Reviewer" and explicitly not Qodo's free-tier product. Qodo donated the project to the community; docs now live at docs.pr-agent.ai, site pr-agent.ai.
Core tools (comment on a PR or run via CLI):
/describe— auto-generate or refresh the PR title/body./review— structured review findings./improve— concrete improvement suggestions./ask "…"— free-text Q&A about the PR.- Issue-scoped helpers such as
/similar_issue.
How you run it:
- GitHub Action — workflow on
pull_requestwithOPENAI_KEY+GITHUB_TOKEN(recommended path in the README). - CLI —
pip install "pr-agent[github]"thenpr-agent --pr_url … review(provider extras orpr-agent[all]). - Other platforms — GitLab webhooks, Bitbucket app, Azure DevOps; also Docker (
pragent/pr-agentfor 0.34.2+, legacycodiumai/pr-agentfrozen).
Design notes from the docs/README: each tool aims for a single LLM call (~30s class latency / low cost framing — project claim, not a TidyHow benchmark); a PR compression strategy for large diffs; JSON/TOML configuration for review categories; models via LiteLLM (OpenAI, Anthropic, Gemini, DeepSeek, Mistral, Azure, Bedrock, Vertex, Ollama, …). /help_docs is temporarily disabled since v0.36.1 pending a credential-exposure fix.
Who it's for
- Teams that want automated PR review comments without buying a closed review SaaS.
- Orgs that need self-hosted review with their own API keys and prompt/config control.
- Maintainers who already live in GitHub/GitLab/Bitbucket/Azure DevOps and want
/review-style tools in the PR timeline.
Less ideal if you specifically need Qodo's hosted platform features — the README treats that as a separate product line.
Stars / language / license
15,608 stars · Python · MIT
Data verified: 2026-11-09 09:19 Asia/Shanghai (GitHub API get_repository + README get_file_contents)
Trending note: +1,706 stars this week (weekly Trending; selection captured 09:10 Asia/Shanghai)
Category tags
DevTools · code-review · pull-requests · AI · Python · GitHub-Actions · self-hosted
How it differs from similar projects
Compared with Qodo / other hosted AI review products. PR-Agent is the open MIT core you self-host or run as an Action; Qodo's free/paid offerings are separately branded. Do not conflate the two.
Compared with Copilot / vendor PR summaries. Those are tied to one forge or subscription. PR-Agent is provider- and forge-agnostic (GitHub/GitLab/Bitbucket/Azure/Gitea + many models).
Compared with one-off LLM scripts that paste a diff. PR-Agent packages compression, configurable prompts, multi-tool commands, and CI/webhook packaging.
TidyHow has not measured review quality vs human reviewers or competing bots. Treat latency/cost notes as project framing.