pr-agent vs codex-security
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.
pr-agent
LLM-based pull request reviewer that runs as a GitHub Action, CLI or webhook
codex-security
Vulnerability scanner, validator and patcher with a CLI, TypeScript SDK and Codex plugin
Verdict
pr-agent ranks higher, 90 to 85. Of the 4 score parts we measure for both, pr-agent leads on 2, codex-security on none and 2 are even.
- Adoptionpr-agent leads by 5 points, 90 to 85.
- FreshnessEven at 100.
- Maintenancepr-agent leads by 10 points, 99 to 89.
- Agent-readyEven at 30.
Pick pr-agent if you are
Teams wanting a self-hosted, model-agnostic AI reviewer on their Git platform
- Supports GitHub, GitLab, Bitbucket, Azure DevOps and Gitea
- Any LiteLLM-reachable model, including local Ollama, so code can stay in your infrastructure
Pick codex-security if you are
Security and platform engineers scanning code for vulnerabilities
- Scans whole repos, selected paths, or diffs against a base revision
- Exports SARIF, JSON and CSV; integrates with Linear, Jira, GitHub and ServiceNow
| What we compare | pr-agent | codex-security |
|---|---|---|
| Score parts, out of 100 | ||
| Adoption | 90, widely used | 85, widely used |
| Freshness | 100, active | 100, active |
| Maintenance | 99, healthy | 89, healthy |
| Agent-ready | 30, minimal | 30, minimal |
| Facts from GitHub and the README | ||
| Stars | 16.8k | 14.5k |
| License | MIT (permissive) | Apache-2.0 (permissive) |
| Last commit | Nov 2026 | Nov 2026 |
| Last release | Nov 2026 | Nov 2026 |
| Language | Python | TypeScript |
| Docker | Yes | Yes |
| GPU | Not needed | Not needed |
| arm64 or Apple Silicon | Not stated | Not stated |
pr-agent
PR-Agent posts AI-generated PR descriptions, reviews, code suggestions and Q&A as comments via /describe, /review, /improve and /ask commands. It supports GitHub, GitLab, Bitbucket, Azure DevOps and Gitea, and any model reachable through LiteLLM, including OpenAI, Claude, Gemini and Ollama. Each command uses a single LLM call, and prompts are configurable through TOML files.
Who it is for: Teams wanting a self-hosted, model-agnostic AI reviewer on their Git platform
Strengths
- Supports GitHub, GitLab, Bitbucket, Azure DevOps and Gitea
- Any LiteLLM-reachable model, including local Ollama, so code can stay in your infrastructure
- One LLM call per command; PR compression handles large diffs
- Installs as a GitHub Action, pip package, Docker image or webhook server
Weaknesses
- Described as a community-maintained legacy project, separate from Qodo's current product
- /help_docs is disabled since v0.36.1 because of a credential-exposure issue
- Docker image moved to pragent/pr-agent from 0.34.2; pinned references need updating
- Project is still being donated to a foundation, so governance is in flux
- no GPU
- Docker + Compose
- Needs LLM provider API key (e.g. OpenAI), Git provider token
- Models: OpenAI GPT, Anthropic Claude, Google Gemini, DeepSeek, Mistral
codex-security
Codex Security scans repositories, paths or Git diffs for vulnerabilities, validates candidate findings, generates patches and verifies existing fixes. It runs as a Codex plugin, as the `cs` CLI (`@openai/codex-security`), through a TypeScript SDK, or as a GitHub Action. Results can be exported as SARIF, JSON or CSV, or sent to Linear, Jira or GitHub.
Who it is for: Security and platform engineers scanning code for vulnerabilities
Strengths
- Scans whole repos, selected paths, or diffs against a base revision
- Exports SARIF, JSON and CSV; integrates with Linear, Jira, GitHub and ServiceNow
- Supports OpenAI, Amazon Bedrock, OpenRouter, Fireworks AI and Cheaper Inference
- Ships a GitHub Action, SDK and Docker Compose setup for bulk scans
Weaknesses
- Requires Node.js 22.13+/24/26 and Python 3.10+ installed
- Needs an OpenAI login or API key, or other provider credentials
- Some cyber requests and protected findings need Trusted Access for Cyber
- Local serve command and browser dashboard have been removed
- no GPU
- Docker + Compose
- Needs Node.js 22.13+, Python 3.10+, OpenAI API key or other provider credentials
- Models: OpenAI, Amazon Bedrock, OpenRouter, Fireworks AI, Cheaper Inference
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.
AI app development →Send a project brief (opens in a new tab)