gitmyhub

pr-agent

Python ★ 12k updated 2d ago

🚀 PR Agent: The Original Open-Source PR Reviewer. This project It is not the Qodo free tier.

AI tool that automatically reviews GitHub pull requests and posts feedback as comments, replacing the need for a human code reviewer across GitHub, GitLab, Bitbucket, and Azure DevOps.

PythonOpenAI GPTClaudeDeepseekGitHub ActionsTOMLWebhookssetup: moderatecomplexity 3/5

PR-Agent is an open-source tool that uses AI to automatically review pull requests on code repositories. A pull request is how developers propose changes to a shared codebase; normally a human teammate reads through those changes and leaves comments. PR-Agent does that reading automatically, posting feedback as comments directly on the pull request.

The tool was originally built by Qodo (formerly CodiumAI) and has since been donated to the open-source community, where it is now maintained independently. A separate paid product from Qodo called Qodo Merge exists with more features, but this repository is the free, community-run version.

The main commands are: /review (posts an overall assessment of the changes), /improve (suggests specific code improvements), /describe (generates a plain-English summary of what the pull request does), and /ask (lets you ask questions about the code in plain English). Each command makes a single call to an AI model and typically responds in about 30 seconds.

PR-Agent works with GitHub, GitLab, Bitbucket, Azure DevOps, and Gitea. It can be set up as a GitHub Action (a few lines of workflow configuration), run as a command-line tool locally, or deployed as a webhook server. It supports several AI backends including OpenAI GPT, Claude, and Deepseek, so teams can choose based on their existing subscriptions or preferences.

The project is written in Python and can be configured through a TOML file, allowing teams to adjust how reviews are categorized and what the AI focuses on. The repository is open source and welcomes community contributions and additional maintainers.

Where it fits