Builderoom
Install

An open-source AI code review tool that helps developers automatically review Pull Requests and suggests improvements.

MIT
安装命令(说明)bash
pip install "pr-agent[github]"
最小用法bash
export OPENAI_KEY=your_key_here
pr-agent --pr_url https://github.com/owner/repo/pull/123 review

Product facts

Type
CLI / Terminal
Category
Development & Engineering › AI Coding Assistants
Pricing
Open source
License
MIT
Launched
Oct 21, 2026
Listed
Oct 21, 2026
Website
github.com

Overview

GitHubGitHub

PR-Agent is a community-maintained open-source project originally developed by Qodo (formerly CodiumAI). It uses large language models to automate Pull Request code reviews and can be deployed via CLI, GitHub Actions, Docker, Webhook, and more.

Key Capabilities

  • Code Review: Run /review to review a PR. Each call takes about 30 seconds and consumes one LLM request.
  • Code Improvement: Run /improve to get optimization suggestions for your code.
  • PR Description Generation: Run /describe to auto-generate the PR description.
  • Q&A: Run /ask to ask natural-language questions about the PR content.
  • Issue Matching: Run /similar_issue to find similar issues in the repository.

Platform & Model Support

PR-Agent is not tied to any specific platform or model:

  • Git Providers: GitHub, GitLab, BitBucket, Azure DevOps, Gitea.
  • AI Models: OpenAI GPT, Anthropic Claude, Google Gemini, DeepSeek, Mistral, and other models accessible via LiteLLM (such as Azure OpenAI, AWS Bedrock, Vertex AI, Ollama, etc.).

Customization & Privacy

  • Uses a JSON-based prompt system; customize review categories and behaviors via configuration files.
  • Built-in PR compression strategy handles PRs of all sizes.
  • In self-hosted mode, data flows only between you and your chosen LLM provider—no vendor lock-in.

Ideal for development teams looking to add AI-assisted code reviews to their CI/CD pipelines. Note that this project is Qodo's legacy open-source version, not a free tier of Qodo's commercial product.

Key features

  • Automated Code Review: Use /review for AI-powered PR reviews, taking about 30 seconds per call.
  • Code Improvement Suggestions: Use /improve to get optimization tips for PR code.
  • PR Description Generation: Use /describe to auto-generate Pull Request descriptions.
  • PR Q&A: Use /ask to query the AI about a PR in natural language.
  • Similar Issue Search: Use /similar_issue to find related past issues in the repository.
  • Multi-Git Platform Support: Compatible with GitHub, GitLab, BitBucket, Azure DevOps, and Gitea.
  • Multi-Model Support: Works with OpenAI, Anthropic, Gemini, and various models via LiteLLM.
  • PR Compression Strategy: Built-in compression efficiently handles both large and small PRs.
  • Highly Customizable: Define review categories and behaviors using JSON prompts and TOML config files.
  • Local CLI Execution: Install via pip and run reviews directly from your terminal against any PR URL.

Releases

Notify me

Initial · PR-Agent

Q&A

What is the relationship between PR-Agent and Qodo?AI-generated
PR-Agent is a community-maintained legacy open-source project from Qodo. It differs from Qodo's main commercial AI code review product and is not a free version offered for open-source projects.
How do I use PR-Agent in the local CLI?AI-generated
First, install it with pip install "pr-agent[github]", then set the OPENAI_KEY environment variable, and finally run pr-agent --pr_url <PR_URL> review.
Which AI models does PR-Agent support?AI-generated
It supports OpenAI GPT, Anthropic Claude, Google Gemini, DeepSeek, Mistral, and any model accessible via LiteLLM, including Azure OpenAI, AWS Bedrock, Ollama, and more.
How much time and cost does reviewing a PR take?AI-generated
Each tool (e.g., /review, /improve, /ask) makes only one LLM call, takes about 30 seconds, and incurs minimal cost.
How is data privacy ensured when self-hosting PR-Agent?AI-generated
If you self-host using your own OpenAI API key, data flows only between you and OpenAI, governed by OpenAI's enterprise privacy policy.
Has the Docker image location changed?AI-generated
Starting from version 0.34.2, the Docker Hub namespace moved to pragent/pr-agent. Older versions (v0.31 and below) remain at codiumai/pr-agent as a frozen archive with no new images pushed.
More
Install
Bookmark

This product has no owner yet

It was listed by the platform or its author left. If it is your work, prove your relationship to become the owner.

Claim this product

Alternatives

The product content on this page was translated by AI from the author's original.