Skip to main content

QodoAI PR-Agent aims to help efficiently review and handle pull requests, by providing AI feedbacks and suggestions.

Project description

logo

Installation Guide | Usage Guide | Tools Guide | Qodo Merge ๐Ÿ’Ž

PR-Agent aims to help efficiently review and handle pull requests, by providing AI feedback and suggestions

Static Badge Static Badge Static Badge Discord GitHub

Table of Contents

Getting Started

Try it Instantly

Test PR-Agent on any public GitHub repository by commenting @CodiumAI-Agent /improve

GitHub Action

Add automated PR reviews to your repository with a simple workflow file using GitHub Action setup guide

Other Platforms

CLI Usage

Run PR-Agent locally on your repository via command line: Local CLI setup guide

Discover Qodo Merge ๐Ÿ’Ž

Zero-setup hosted solution with advanced features and priority support

News and Updates

Jun 21, 2025

v0.30 was released

Jun 3, 2025

Qodo Merge now offers a simplified free tier ๐Ÿ’Ž. Organizations can use Qodo Merge at no cost, with a monthly limit of 75 PR reviews per organization.

May 17, 2025

  • v0.29 was released
  • Qodo Merge Pull Request Benchmark was released. This benchmark evaluates and compares the performance of LLMs in analyzing pull request code.
  • Recent Updates and Future Roadmap page was added to the Qodo Merge Docs

Apr 30, 2025

A new feature is now available in the /improve tool for Qodo Merge ๐Ÿ’Ž - Chat on code suggestions.

image

Read more about it here.

Apr 16, 2025

New tool for Qodo Merge ๐Ÿ’Ž - /scan_repo_discussions.

image

Read more about it here.

Overview

Supported commands per platform:

GitHub GitLab Bitbucket Azure DevOps Gitea
TOOLS Describe โœ… โœ… โœ… โœ… โœ…
Review โœ… โœ… โœ… โœ… โœ…
Improve โœ… โœ… โœ… โœ… โœ…
Ask โœ… โœ… โœ… โœ…
โฎ‘ Ask on code lines โœ… โœ…
Help Docs โœ… โœ… โœ…
Update CHANGELOG โœ… โœ… โœ… โœ…
Add Documentation ๐Ÿ’Ž โœ… โœ…
Analyze ๐Ÿ’Ž โœ… โœ…
Auto-Approve ๐Ÿ’Ž โœ… โœ… โœ…
CI Feedback ๐Ÿ’Ž โœ…
Custom Prompt ๐Ÿ’Ž โœ… โœ… โœ…
Generate Custom Labels ๐Ÿ’Ž โœ… โœ…
Generate Tests ๐Ÿ’Ž โœ… โœ…
Implement ๐Ÿ’Ž โœ… โœ… โœ…
Scan Repo Discussions ๐Ÿ’Ž โœ…
Similar Code ๐Ÿ’Ž โœ…
Ticket Context ๐Ÿ’Ž โœ… โœ… โœ…
Utilizing Best Practices ๐Ÿ’Ž โœ… โœ… โœ…
PR Chat ๐Ÿ’Ž โœ…
Suggestion Tracking ๐Ÿ’Ž โœ… โœ…
USAGE CLI โœ… โœ… โœ… โœ… โœ…
App / webhook โœ… โœ… โœ… โœ… โœ…
Tagging bot โœ…
Actions โœ… โœ… โœ… โœ…
CORE Adaptive and token-aware file patch fitting โœ… โœ… โœ… โœ…
Auto Best Practices ๐Ÿ’Ž โœ…
Chat on code suggestions โœ… โœ…
Code Validation ๐Ÿ’Ž โœ… โœ… โœ… โœ…
Dynamic context โœ… โœ… โœ… โœ…
Fetching ticket context โœ… โœ… โœ…
Global and wiki configurations ๐Ÿ’Ž โœ… โœ… โœ…
Impact Evaluation ๐Ÿ’Ž โœ… โœ…
Incremental Update โœ…
Interactivity โœ… โœ…
Local and global metadata โœ… โœ… โœ… โœ…
Multiple models support โœ… โœ… โœ… โœ…
PR compression โœ… โœ… โœ… โœ…
PR interactive actions ๐Ÿ’Ž โœ… โœ…
RAG context enrichment โœ… โœ…
Self reflection โœ… โœ… โœ… โœ…
Static code analysis ๐Ÿ’Ž โœ… โœ…
  • ๐Ÿ’Ž means this feature is available only in Qodo Merge

See It in Action

/describe


/review


/improve


Try It Now

Try the Claude Sonnet powered PR-Agent instantly on your public GitHub repository. Just mention @CodiumAI-Agent and add the desired command in any PR comment. The agent will generate a response based on your command. For example, add a comment to any pull request with the following text:

@CodiumAI-Agent /review

and the agent will respond with a review of your PR.

Note that this is a promotional bot, suitable only for initial experimentation. It does not have 'edit' access to your repo, for example, so it cannot update the PR description or add labels (@CodiumAI-Agent /describe will publish PR description as a comment). In addition, the bot cannot be used on private repositories, as it does not have access to the files there.


Qodo Merge ๐Ÿ’Ž

Qodo Merge is a hosted version of PR-Agent, provided by Qodo. It is available for a monthly fee, and provides the following benefits:

  1. Fully managed - We take care of everything for you - hosting, models, regular updates, and more. Installation is as simple as signing up and adding the Qodo Merge app to your GitHub/GitLab/BitBucket repo.
  2. Improved privacy - No data will be stored or used to train models. Qodo Merge will employ zero data retention, and will use an OpenAI account with zero data retention.
  3. Improved support - Qodo Merge users will receive priority support, and will be able to request new features and capabilities.
  4. Extra features - In addition to the benefits listed above, Qodo Merge will emphasize more customization, and the usage of static code analysis, in addition to LLM logic, to improve results. See here for a list of features available in Qodo Merge.

How It Works

The following diagram illustrates PR-Agent tools and their flow:

PR-Agent Tools

Check out the PR Compression strategy page for more details on how we convert a code diff to a manageable LLM prompt

Why Use PR-Agent?

A reasonable question that can be asked is: "Why use PR-Agent? What makes it stand out from existing tools?"

Here are some advantages of PR-Agent:

  • We emphasize real-life practical usage. Each tool (review, improve, ask, ...) has a single LLM call, no more. We feel that this is critical for realistic team usage - obtaining an answer quickly (~30 seconds) and affordably.
  • Our PR Compression strategy is a core ability that enables to effectively tackle both short and long PRs.
  • Our JSON prompting strategy enables us to have modular, customizable tools. For example, the '/review' tool categories can be controlled via the configuration file. Adding additional categories is easy and accessible.
  • We support multiple git providers (GitHub, GitLab, BitBucket), multiple ways to use the tool (CLI, GitHub Action, GitHub App, Docker, ...), and multiple models (GPT, Claude, Deepseek, ...)

Data Privacy

Self-hosted PR-Agent

Qodo-hosted Qodo Merge ๐Ÿ’Ž

  • When using Qodo Merge ๐Ÿ’Ž, hosted by Qodo, we will not store any of your data, nor will we use it for training. You will also benefit from an OpenAI account with zero data retention.

  • For certain clients, Qodo-hosted Qodo Merge will use Qodoโ€™s proprietary models โ€” if this is the case, you will be notified.

  • No passive collection of Code and Pull Requestsโ€™ data โ€” Qodo Merge will be active only when you invoke it, and it will then extract and analyze only data relevant to the executed command and queried pull request.

Qodo Merge Chrome extension

  • The Qodo Merge Chrome extension serves solely to modify the visual appearance of a GitHub PR screen. It does not transmit any user's repo or pull request code. Code is only sent for processing when a user submits a GitHub comment that activates a PR-Agent tool, in accordance with the standard privacy policy of Qodo-Merge.

Contributing

To contribute to the project, get started by reading our Contributing Guide.

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pr_agent-0.3.0.tar.gz (249.9 kB view details)

Uploaded Source

Built Distribution

pr_agent-0.3.0-py3-none-any.whl (285.1 kB view details)

Uploaded Python 3

File details

Details for the file pr_agent-0.3.0.tar.gz.

File metadata

  • Download URL: pr_agent-0.3.0.tar.gz
  • Upload date:
  • Size: 249.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for pr_agent-0.3.0.tar.gz
Algorithm Hash digest
SHA256 368bab967ef944ac8ab28c611a1084dbdf8399876599987c8567ea76d25f7c4a
MD5 73dfa5513100dd24b235ac5d14ff104f
BLAKE2b-256 1ac5154db5a20075e4e73c2380664f3f50edf5df10282b5261ba46e8ae1488e0

See more details on using hashes here.

File details

Details for the file pr_agent-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: pr_agent-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 285.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for pr_agent-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f4265809d15eaae166a121b34b5a118048f743c26f30ef62ed63d1b3069d0f8c
MD5 9d0d8190a2c762935e66491d47d6dbec
BLAKE2b-256 045ead33398542a9c959815cb0b14933ddd7f9a58deb28bd873de7b001eee970

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page