PR-Agent

Open-source AI agent for pull request review: descriptions, feedback and improvement suggestions on GitHub, GitLab and more

CLIMedium risk

qodo-ai/pr-agent

Install

pip install pr-agent
export OPENAI_KEY=your_key_here
pr-agent --pr_url https://github.com/owner/repo/pull/123 review

Local CLI run

This is third-party code. Review the repository files before installing.

What it does

PR-Agent analyzes pull requests and, via /describe, /review, /improve and /ask, writes descriptions, reviews code, suggests improvements and answers questions. Each tool uses a single LLM call, and large PRs are handled by a compression strategy. It runs as a GitHub Action, from the CLI, in Docker or via webhooks, and works with GitHub, GitLab, Bitbucket, Azure DevOps and Gitea. Any model reachable through LiteLLM can be used.

Who it is for. Development teams that want automated PR review on their own infrastructure.

Good fit when

  • You want automatic review of every PR in GitHub Actions
  • You use GitLab, Bitbucket, Azure DevOps or Gitea
  • You want full control over data and review prompts
  • You need a quick description of a large PR

Not a fit when

  • You need a commercial product with deep context: the README itself points to Qodo's main offering
  • You cannot use an external or local LLM

Example request

Add a PR-Agent GitHub Action to the repository so it reviews PRs when they are opened or updated

Limitations

It is a community-maintained legacy project of Qodo. /help_docs has been temporarily disabled since v0.36.1 due to a credential-exposure issue. Docker images from 0.34.2 are published under pragent/pr-agent.

How to disable. Delete .github/workflows/pr-agent.yml or disable the webhook; remove the CLI with pip uninstall pr-agent.

Security check

  • Requires a git provider token and an LLM key
  • PR code is sent to the chosen model
  • Posts comments on PRs

README in short

PR-Agent is an open-source code review agent and a community-maintained legacy project of Qodo. The README provides a quick start via GitHub Action and CLI and links to GitLab, Bitbucket and Azure DevOps setup. It covers single-call cost per tool, large PR compression, prompt customization via config and multi-model support. Examples of /describe, /review, /improve and /ask are included.

FAQ

How is PR-Agent different from Qodo?

PR-Agent is an open-source, community-maintained project. Qodo's main code review product is separate and more feature-rich.

A skill that lets an agent write and run Playwright scripts: page tests, forms, screenshots and link checks

SkillHigh risk3.1K

XMPP Debugger

xmpp-debugger-skill

Skill with minimal Python scripts for debugging XMPP bots: connect, send a message and wait for replies

SkillMedium risk