react-doctor vs pr-agent
Two of the top projects in Code review and testing, side by side: who leads on each score part and who each one suits, then setup, license, activity and what each review found.
react-doctor
CLI that scans React codebases for state, performance, security and accessibility issues
pr-agent
LLM pull request reviewer that comments via /review, /describe and /improve
Verdict
react-doctor ranks higher, 89 to 86. Of the 4 score parts we measure for both, react-doctor leads on 2, pr-agent on 1 and 1 is even.
- Adoptionreact-doctor leads by 3 points, 82 to 79: close to even.
- FreshnessEven at 100.
- Maintenancepr-agent leads by 7 points, 99 to 92.
- Agent-readyreact-doctor leads by 40 points, 70 to 30: a wide gap.
Pick react-doctor if you are
React and React Native developers wanting code checks locally and in CI
- Runs with one npx command from the project root, no setup needed
- Deterministic rules rather than LLM-generated findings
Pick pr-agent if you are
Teams wanting self-hosted AI pull request review in CI or on their git host
- Supports GitHub, GitLab, Bitbucket, Azure DevOps and Gitea
- Model-agnostic via LiteLLM: OpenAI, Claude, Gemini, Bedrock, Ollama and others
| What we compare | react-doctor | pr-agent |
|---|---|---|
| Score parts, out of 100 | ||
| Adoption | 82, widely used | 79, popular |
| Freshness | 100, active | 100, active |
| Maintenance | 92, healthy | 99, healthy |
| Agent-ready | 70, partly | 30, minimal |
| Facts from GitHub and the README | ||
| Stars | 15.1k | 13.9k |
| License | custom license (read the license) | MIT (permissive) |
| Last commit | Nov 2026 | Nov 2026 |
| Last release | Nov 2026 | Oct 2026 |
| Language | TypeScript | Python |
| Docker | No | Yes |
| GPU | Not needed | Not needed |
| arm64 or Apple Silicon | Not stated | Not stated |
react-doctor
React Doctor runs deterministic checks over a React project and reports issues in state and effects, performance, architecture, security, accessibility and maintainability. It covers Next.js, Vite, Astro, TanStack, React Native and Expo. It also installs as a skill for coding agents, runs on pull requests in CI, and can record a Chrome DevTools performance trace of a running app.
Who it is for: React and React Native developers wanting code checks locally and in CI
Strengths
- Runs with one npx command from the project root, no setup needed
- Deterministic rules rather than LLM-generated findings
- Agent skill installer supports Claude Code, Cursor, Codex and OpenCode
- Rules configurable in doctor.config.ts; CI installer reports issues each PR introduces
Weaknesses
- React-only; no support for other frameworks beyond the listed React stacks
- CLI collects crash reports and anonymous usage data unless opted out
- Runtime trace scan needs a running app and a Chrome DevTools trace
- no GPU
- Needs Node.js, npm
pr-agent
PR-Agent runs as a GitHub Action, CLI, Docker image or webhook service and posts AI-generated descriptions, reviews, code suggestions and Q&A on pull requests. Each tool makes a single LLM call, and a compression strategy handles large diffs. It supports GitHub, GitLab, Bitbucket, Azure DevOps and Gitea, and any model reachable through LiteLLM.
Who it is for: Teams wanting self-hosted AI pull request review in CI or on their git host
Strengths
- Supports GitHub, GitLab, Bitbucket, Azure DevOps and Gitea
- Model-agnostic via LiteLLM: OpenAI, Claude, Gemini, Bedrock, Ollama and others
- One LLM call per tool, about 30 seconds per command
- Review behavior is configurable through a TOML settings file and JSON prompts
Weaknesses
- Described as a community-maintained legacy project of Qodo
- /help_docs is disabled since v0.36.1 over a credential-exposure issue
- Needs your own LLM API key and per-provider setup
- Docker images moved to pragent/pr-agent from 0.34.2, so pinned references break
- no GPU
- Docker + Compose
- Needs LLM API key (e.g. OpenAI), Git provider token
- Models: OpenAI GPT, Anthropic Claude, Google Gemini, DeepSeek, Mistral
More in Code review and testing
Building with these?
We help teams pick an open-source AI stack and run it in production. Client work never changes a rank.