Zurück zum Ranking

qodo-ai/pr-agent

Pythonqodo.ai

🚀 PR-Agent (Qodo Merge open-source): An AI-Powered 🤖 Tool for Automated Pull Request Analysis, Feedback, Suggestions and More! 💻🔍

gpt-4openaicodereviewpull-requestcode-reviewpull-requestscoding-assistantdevtools
Sterne-Wachstum
Sterne
7.1k
Forks
731
Wochenwachstum
Issues
37
2k4k6k
Sept. 25Nov. 25Jan. 26Apr. 26
ArtefaktePyPIpip install pr-agent
README
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

News and Updates

Feb 28, 2025

A new version, v0.27, was released. See release notes here.

Feb 27, 2025

  • Updated the default model to o3-mini for all tools. You can still use the gpt-4o as the default model by setting the model parameter in the configuration file.
  • Important updates and bug fixes for Azure DevOps, see here
  • Added support for adjusting the response language of the PR-Agent tools.

Feb 6, 2025

New design for the /improve tool:

Jan 25, 2025

The open-source GitHub organization was updated: https://github.com/codium-ai/pr-agenthttps://github.com/qodo-ai/pr-agent

The docker should be redirected automatically to the new location. However, if you have any issues, please update the GitHub action docker image from uses: Codium-ai/pr-agent@main to uses: qodo-ai/pr-agent@main

Jan 2, 2025

New tool /Implement (💎), which converts human code review discussions and feedback into ready-to-commit code changes.

December 30, 2024

Following feedback from the community, we have addressed two vulnerabilities identified in the open-source PR-Agent project. The fixes are now included in the newly released version (v0.26), available as of today.

Overview

Supported commands per platform:

GitHub GitLab Bitbucket Azure DevOps
TOOLS Review
Describe
Improve
Ask
Ask on code lines
Update CHANGELOG
Ticket Context 💎
Utilizing Best Practices 💎
PR Chat 💎
Suggestion Tracking 💎
CI Feedback 💎
PR Documentation 💎
Custom Labels 💎
Analyze 💎
Similar Code 💎
Custom Prompt 💎
Test 💎
Implement 💎
Auto-Approve 💎
USAGE CLI
App / webhook
Tagging bot
Actions
CORE PR compression
Adaptive and token-aware file patch fitting
Multiple models support
Local and global metadata
Dynamic context
Self reflection
Static code analysis 💎
Global and wiki configurations 💎
PR interactive actions 💎
Impact Evaluation 💎
  • 💎 means this feature is available only in Qodo-Merge

Auto Description (/describe): Automatically generating PR description - title, type, summary, code walkthrough and labels.
Auto Review (/review): Adjustable feedback about the PR, possible issues, security concerns, review effort and more.
Code Suggestions (/improve): Code suggestions for improving the PR.
Question Answering (/ask ...): Answering free-text questions about the PR.
Update Changelog (/update_changelog): Automatically updating the CHANGELOG.md file with the PR changes.
Find Similar Issue (/similar_issue): Automatically retrieves and presents similar issues.
Add Documentation 💎 (/add_docs): Generates documentation to methods/functions/classes that changed in the PR.
Generate Custom Labels 💎 (/generate_labels): Generates custom labels for the PR, based on specific guidelines defined by the user.
Analyze 💎 (/analyze): Identify code components that changed in the PR, and enables to interactively generate tests, docs, and code suggestions for each component.
Test 💎 (/test): Generate tests for a selected component, based on the PR code changes.
Custom Prompt 💎 (/custom_prompt): Automatically generates custom suggestions for improving the PR code, based on specific guidelines defined by the user.
Generate Tests 💎 (/test component_name): Generates unit tests for a selected component, based on the PR code changes.
CI Feedback 💎 (/checks ci_job): Automatically generates feedback and analysis for a failed CI job.
Similar Code 💎 (/find_similar_component): Retrieves the most similar code components from inside the organization's codebase, or from open-source code.
Implement 💎 (/implement): Generates implementation code from review suggestions.


Example results

/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 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.
Ähnliche Repositories
f/prompts.chat

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

HTMLOtherchatgptai
prompts.chat
166.2k21.5k
openai/openai-cookbook

Examples and guides for using the OpenAI API

Jupyter NotebookMIT Licenseopenaichatgpt
cookbook.openai.com
74.8k12.7k
binary-husky/gpt_academic

为GPT/GLM等LLM大语言模型提供实用化交互接口,特别优化论文阅读/润色/写作体验,模块化设计,支持自定义快捷按钮&函数插件,支持Python和C++等项目剖析&自译解功能,PDF/LaTex论文翻译&总结功能,支持并行问询多种LLM模型,支持chatglm3等本地模型。接入通义千问, deepseekcoder, 讯飞星火, 文心一言, llama2, rwkv, claude2, moss等。

PythonPyPIGNU General Public License v3.0academicchatglm-6b
github.com/binary-husky/gpt_academic/wiki/online
71.1k8.3k
xtekky/gpt4free

The official gpt4free repository | various collection of powerful language models | opus 4.6 gpt 5.3 kimi 2.5 deepseek v3.2 gemini 3

PythonPyPIGNU General Public License v3.0chatgptchatgpt-4
t.me/g4f_channel
66.5k13.5k
OpenInterpreter/open-interpreter

A natural language interface for computers

PythonPyPIGNU Affero General Public License v3.0chatgptgpt-4
openinterpreter.com
58.6k5k
AntonOsika/gpt-engineer

CLI platform to experiment with codegen. Precursor to: https://lovable.dev

PythonPyPIMIT Licenseaicoding-assistant
55.2k7.3k
Aider-AI/aider

aider is AI pair programming in your terminal

PythonPyPIApache License 2.0chatgptcli
aider.chat
47.6k4.7k
HKUDS/LightRAG

[EMNLP2025] "LightRAG: Simple and Fast Retrieval-Augmented Generation"

PythonPyPIMIT Licenseknowledge-graphlarge-language-models
arxiv.org/abs/2410.05779
38k5.3k
mouredev/Hello-Python

Curso para aprender el lenguaje de programación Python desde cero y para principiantes. 100 clases, 44 horas en vídeo, código, proyectos y grupo de chat. Fundamentos, frontend, backend, testing, IA...

PythonPyPIApache License 2.0fastapimongodb
mouredev.link/python
36.5k2.3k
zhayujie/chatgpt-on-wechat

基于大模型搭建的聊天机器人,同时支持 微信公众号、企业微信应用、飞书、钉钉 等接入,可选择GPT3.5/GPT-4o/GPT-o1/ DeepSeek/Claude/文心一言/讯飞星火/通义千问/ Gemini/GLM-4/Claude/Kimi/LinkAI,能处理文本、语音和图片,访问操作系统和互联网,支持基于自有知识库进行定制企业智能客服。

PythonPyPIMIT Licensechatgptwechat
docs.link-ai.tech/cow
35.5k9k
microsoft/graphrag

A modular graph-based Retrieval-Augmented Generation (RAG) system

PythonPyPIMIT Licensegraphragrag
microsoft.github.io/graphrag/
34.7k3.7k
Pythagora-io/gpt-pilot

The first real AI developer

PythonPyPIOtheraicodegen
33.7k3.5k