Skip to content
forked from qodo-ai/pr-agent

๐Ÿš€CodiumAI PR-Agent: An AI-Powered ๐Ÿค– Tool for Automated Pull Request Analysis, Feedback, Suggestions and More! ๐Ÿ’ป๐Ÿ”

License

Notifications You must be signed in to change notification settings

pzarfos/pr-agent

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
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

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 โœ… โœ… โœ… โœ…
PR 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




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

About

๐Ÿš€CodiumAI PR-Agent: An AI-Powered ๐Ÿค– Tool for Automated Pull Request Analysis, Feedback, Suggestions and More! ๐Ÿ’ป๐Ÿ”

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.8%
  • Other 0.2%