ScriptsMar 31, 2026·2 min read

PR-Agent — AI-Powered Code Review for Pull Requests

AI code reviewer for GitHub/GitLab/Bitbucket PRs. Auto-generates descriptions, reviews code, suggests improvements, answers questions. By Qodo. 10.7K+ stars.

TO
TokRepo精选 · Community
Quick Use

Use it first, then decide how deep to go

This block should tell both the user and the agent what to copy, install, and apply first.

Add to any GitHub repo — comment on a PR:

/review
/describe
/improve

Or install via GitHub App at qodo.ai.

Self-hosted:

pip install pr-agent
python -m pr_agent.cli --pr_url=https://github.com/owner/repo/pull/123 review

Intro

PR-Agent is an AI-powered code review tool for pull requests. It auto-generates PR descriptions, performs comprehensive code reviews, suggests improvements, and answers questions about code changes. Works with GitHub, GitLab, Bitbucket, and Azure DevOps. Supports Claude, GPT-4, and other models. By Qodo (formerly CodiumAI). 10,700+ GitHub stars.

Best for: Development teams wanting AI-assisted code review on every PR Works with: GitHub, GitLab, Bitbucket, Azure DevOps, Claude, GPT-4


Commands

Command Description
/review Comprehensive code review with risk assessment
/describe Auto-generate PR title and description
/improve Suggest code improvements with patches
/ask "question" Ask anything about the PR changes
/update_changelog Update CHANGELOG.md based on PR
/add_docs Generate docstrings for new functions
/test Suggest test cases for the changes

Review Output

  • Security vulnerabilities flagged
  • Performance concerns highlighted
  • Code quality suggestions with severity levels
  • Overall risk score (1-5)

FAQ

Q: What is PR-Agent? A: An AI code review tool for pull requests. Auto-generates descriptions, reviews code, suggests improvements, and answers questions. Works with GitHub/GitLab/Bitbucket. 10.7K+ stars.

Q: Is PR-Agent free? A: Open-source for self-hosting (AGPL-3.0). Qodo offers a free tier for the hosted version.


🙏

Source & Thanks

Created by Qodo. Licensed under AGPL-3.0. Codium-ai/pr-agent — 10,700+ GitHub stars

Related Assets