{"id":24613424,"url":"https://github.com/qodo-ai/pr-agent","last_synced_at":"2026-04-02T17:56:59.400Z","repository":{"id":179104451,"uuid":"662766482","full_name":"qodo-ai/pr-agent","owner":"qodo-ai","description":"🚀 PR Agent - The Original Open-Source PR Reviewer. This repo is not the Qodo free tier! Try the free version on our website. ","archived":false,"fork":false,"pushed_at":"2026-03-24T21:28:46.000Z","size":98993,"stargazers_count":10695,"open_issues_count":113,"forks_count":1384,"subscribers_count":50,"default_branch":"main","last_synced_at":"2026-03-28T10:12:35.846Z","etag":null,"topics":["code-review","codereview","coding-assistant","devtools","gpt-4","openai","pull-request","pull-requests"],"latest_commit_sha":null,"homepage":"https://www.qodo.ai/get-started/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qodo-ai.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2023-07-05T21:02:15.000Z","updated_at":"2026-03-28T09:38:13.000Z","dependencies_parsed_at":"2026-03-28T10:12:40.719Z","dependency_job_id":null,"html_url":"https://github.com/qodo-ai/pr-agent","commit_stats":{"total_commits":2273,"total_committers":97,"mean_commits":"23.432989690721648","dds":"0.42366915970083585","last_synced_commit":"39a461b3b219be34ee017c711beab43380801414"},"previous_names":["codium-ai/pr-agent","qodo-ai/pr-agent"],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/qodo-ai/pr-agent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qodo-ai%2Fpr-agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qodo-ai%2Fpr-agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qodo-ai%2Fpr-agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qodo-ai%2Fpr-agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qodo-ai","download_url":"https://codeload.github.com/qodo-ai/pr-agent/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qodo-ai%2Fpr-agent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31312744,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["code-review","codereview","coding-assistant","devtools","gpt-4","openai","pull-request","pull-requests"],"created_at":"2025-01-24T21:01:16.672Z","updated_at":"2026-04-02T17:56:59.392Z","avatar_url":"https://github.com/qodo-ai.png","language":"Python","funding_links":[],"categories":["Python","🔄 PR Review Agents","Openai","Automated Workflows","Code Review \u0026 Collaboration","\u003ca name=\"Python\"\u003e\u003c/a\u003ePython","AI Coding Agents","Chatbots \u0026 Virtual Companions","13. Developer Tools \u0026 Integrations"],"sub_categories":["PR \u0026 Code Review Bots","Other IDEs","PR \u0026 Review"],"readme":"\u003ca href=\"https://github.com/Codium-ai/pr-agent/commits/main\"\u003e\n\u003cimg alt=\"GitHub\" src=\"https://img.shields.io/github/last-commit/Codium-ai/pr-agent/main?style=for-the-badge\" height=\"20\"\u003e\n\u003c/a\u003e\n\n\u003cbr /\u003e\n\n# 🚀 PR Agent - The Original Open-Source PR Reviewer.\n\n This repository contains the open-source PR Agent Project. \n It is not the Qodo free tier.\n \nTry the free version on our website.\n\n👉[Get Started Now](https://www.qodo.ai/get-started/)\n\nPR-Agent is an open-source, AI-powered code review agent and a community-maintained legacy project of Qodo. It is distinct from Qodo’s primary AI code review offering, which provides a feature-rich, context-aware experience. Qodo now offers a free tier that integrates seamlessly with GitHub, GitLab, Bitbucket, and Azure DevOps for high-quality automated reviews.\n\n## Table of Contents\n\n- [Getting Started](#getting-started)\n- [Why Use PR-Agent?](#why-use-pr-agent)\n- [Features](#features)\n- [See It in Action](#see-it-in-action)\n- [Try It Now](#try-it-now)\n- [How It Works](#how-it-works)\n- [Data Privacy](#data-privacy)\n- [Contributing](#contributing)\n\n## Getting Started\n\n### 🚀 Quick Start for PR-Agent\n\n#### 1. Try it Instantly (No Setup)\nTest PR-Agent on any public GitHub repository by commenting `@CodiumAI-Agent /improve`\n\n#### 2. GitHub Action (Recommended)\nAdd automated PR reviews to your repository with a simple workflow file:\n```yaml\n# .github/workflows/pr-agent.yml\nname: PR Agent\non:\n  pull_request:\n    types: [opened, synchronize]\njobs:\n  pr_agent_job:\n    runs-on: ubuntu-latest\n    steps:\n    - name: PR Agent action step\n      uses: Codium-ai/pr-agent@main\n      env:\n        OPENAI_KEY: ${{ secrets.OPENAI_KEY }}\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n```\n[Full GitHub Action setup guide](https://qodo-merge-docs.qodo.ai/installation/github/#run-as-a-github-action)\n\n#### 3. CLI Usage (Local Development)\nRun PR-Agent locally on your repository:\n```bash\npip install pr-agent\nexport OPENAI_KEY=your_key_here\npr-agent --pr_url https://github.com/owner/repo/pull/123 review\n```\n[Complete CLI setup guide](https://qodo-merge-docs.qodo.ai/usage-guide/automations_and_usage/#local-repo-cli)\n\n#### 4. Other Platforms\n- [GitLab webhook setup](https://qodo-merge-docs.qodo.ai/installation/gitlab/)\n- [BitBucket app installation](https://qodo-merge-docs.qodo.ai/installation/bitbucket/)\n- [Azure DevOps setup](https://qodo-merge-docs.qodo.ai/installation/azure/)\n\n[//]: # (## News and Updates)\n\n[//]: # ()\n[//]: # (## Aug 8, 2025)\n\n[//]: # ()\n[//]: # ()\n[//]: # ()\n[//]: # (## Jul 17, 2025)\n\n[//]: # ()\n[//]: # (Introducing `/compliance`, a new Qodo Merge 💎 tool that runs comprehensive checks for security, ticket requirements, codebase duplication, and custom organizational rules. )\n\n[//]: # ()\n[//]: # (\u003cimg width=\"384\" alt=\"compliance-image\" src=\"https://codium.ai/images/pr_agent/compliance_partial.png\"/\u003e)\n\n[//]: # ()\n[//]: # (Read more about it [here]\u0026#40;https://qodo-merge-docs.qodo.ai/tools/compliance/\u0026#41;)\n\n[//]: # ()\n[//]: # ()\n[//]: # (## Jul 1, 2025)\n\n[//]: # (You can now receive automatic feedback from Qodo Merge in your local IDE after each commit. Read more about it [here]\u0026#40;https://github.com/qodo-ai/agents/tree/main/agents/qodo-merge-post-commit\u0026#41;.)\n\n[//]: # ()\n[//]: # ()\n[//]: # (## Jun 21, 2025)\n\n[//]: # ()\n[//]: # (v0.30 was [released]\u0026#40;https://github.com/qodo-ai/pr-agent/releases\u0026#41;)\n\n[//]: # ()\n[//]: # ()\n[//]: # (## Jun 3, 2025)\n\n[//]: # ()\n[//]: # (Qodo Merge now offers a simplified free tier 💎.)\n\n[//]: # (Organizations can use Qodo Merge at no cost, with a [monthly limit]\u0026#40;https://qodo-merge-docs.qodo.ai/installation/qodo_merge/#cloud-users\u0026#41; of 75 PR reviews per organization.)\n\n[//]: # ()\n[//]: # ()\n[//]: # (## Apr 30, 2025)\n\n[//]: # ()\n[//]: # (A new feature is now available in the `/improve` tool for Qodo Merge 💎 - Chat on code suggestions.)\n\n[//]: # ()\n[//]: # (\u003cimg width=\"512\" alt=\"image\" src=\"https://codium.ai/images/pr_agent/improve_chat_on_code_suggestions_ask.png\" /\u003e)\n\n[//]: # ()\n[//]: # (Read more about it [here]\u0026#40;https://qodo-merge-docs.qodo.ai/tools/improve/#chat-on-code-suggestions\u0026#41;.)\n\n[//]: # ()\n[//]: # ()\n[//]: # (## Apr 16, 2025)\n\n[//]: # ()\n[//]: # (New tool for Qodo Merge 💎 - `/scan_repo_discussions`.)\n\n[//]: # ()\n[//]: # (\u003cimg width=\"635\" alt=\"image\" src=\"https://codium.ai/images/pr_agent/scan_repo_discussions_2.png\" /\u003e)\n\n[//]: # ()\n[//]: # (Read more about it [here]\u0026#40;https://qodo-merge-docs.qodo.ai/tools/scan_repo_discussions/\u0026#41;.)\n\n## Why Use PR-Agent?\n\n### 🎯 Built for Real Development Teams\n\n**Fast \u0026 Affordable**: Each tool (`/review`, `/improve`, `/ask`) uses a single LLM call (~30 seconds, low cost)\n\n**Handles Any PR Size**: Our [PR Compression strategy](https://qodo-merge-docs.qodo.ai/core-abilities/#pr-compression-strategy) effectively processes both small and large PRs\n\n**Highly Customizable**: JSON-based prompting allows easy customization of review categories and behavior via [configuration files](pr_agent/settings/configuration.toml)\n\n**Platform Agnostic**: \n- **Git Providers**: GitHub, GitLab, BitBucket, Azure DevOps, Gitea\n- **Deployment**: CLI, GitHub Actions, Docker, self-hosted, webhooks\n- **AI Models**: OpenAI GPT, Claude, Deepseek, and more\n\n**Open Source Benefits**:\n- Full control over your data and infrastructure\n- Customize prompts and behavior for your team's needs\n- No vendor lock-in\n- Community-driven development\n\n## Features\n\n\u003cdiv style=\"text-align:left;\"\u003e\n\nPR-Agent offers comprehensive pull request functionalities integrated with various git providers:\n\n|                                                         |                                                                                        | GitHub | GitLab | Bitbucket | Azure DevOps | Gitea |\n|---------------------------------------------------------|----------------------------------------------------------------------------------------|:------:|:------:|:---------:|:------------:|:-----:|\n| [TOOLS](https://qodo-merge-docs.qodo.ai/tools/)         | [Describe](https://qodo-merge-docs.qodo.ai/tools/describe/)                            |   ✅   |   ✅   |    ✅     |      ✅      |  ✅   |\n|                                                         | [Review](https://qodo-merge-docs.qodo.ai/tools/review/)                                |   ✅   |   ✅   |    ✅     |      ✅      |  ✅   |\n|                                                         | [Improve](https://qodo-merge-docs.qodo.ai/tools/improve/)                              |   ✅   |   ✅   |    ✅     |      ✅      |  ✅   |\n|                                                         | [Ask](https://qodo-merge-docs.qodo.ai/tools/ask/)                                      |   ✅   |   ✅   |    ✅     |      ✅      |       |\n|                                                         | ⮑ [Ask on code lines](https://qodo-merge-docs.qodo.ai/tools/ask/#ask-lines)            |   ✅   |   ✅   |           |              |       |\n|                                                         | [Help Docs](https://qodo-merge-docs.qodo.ai/tools/help_docs/?h=auto#auto-approval)     |   ✅   |   ✅   |    ✅     |              |       |\n|                                                         | [Update CHANGELOG](https://qodo-merge-docs.qodo.ai/tools/update_changelog/)            |   ✅   |   ✅   |    ✅     |      ✅      |       |\n|                                                         |                                                                                                                     |        |        |           |              |       |\n| [USAGE](https://qodo-merge-docs.qodo.ai/usage-guide/)   | [CLI](https://qodo-merge-docs.qodo.ai/usage-guide/automations_and_usage/#local-repo-cli)                            |   ✅   |   ✅   |    ✅     |      ✅      |  ✅   |\n|                                                         | [App / webhook](https://qodo-merge-docs.qodo.ai/usage-guide/automations_and_usage/#github-app)                      |   ✅   |   ✅   |    ✅     |      ✅      |  ✅   |\n|                                                         | [Tagging bot](https://github.com/Codium-ai/pr-agent#try-it-now)                                                     |   ✅   |        |           |              |       |\n|                                                         | [Actions](https://qodo-merge-docs.qodo.ai/installation/github/#run-as-a-github-action)                              |   ✅   |   ✅   |    ✅     |      ✅      |       |\n|                                                         |                                                                                                                     |        |        |           |              |       |\n| [CORE](https://qodo-merge-docs.qodo.ai/core-abilities/) | [Adaptive and token-aware file patch fitting](https://qodo-merge-docs.qodo.ai/core-abilities/compression_strategy/) |   ✅   |   ✅   |    ✅     |      ✅      |       |\n|                                                         | [Chat on code suggestions](https://qodo-merge-docs.qodo.ai/core-abilities/chat_on_code_suggestions/)                |   ✅   |  ✅   |           |              |       |\n|                                                         | [Dynamic context](https://qodo-merge-docs.qodo.ai/core-abilities/dynamic_context/)                                  |   ✅   |   ✅   |    ✅     |      ✅      |       |\n|                                                         | [Fetching ticket context](https://qodo-merge-docs.qodo.ai/core-abilities/fetching_ticket_context/)                  |   ✅    |  ✅    |     ✅     |              |       |\n|                                                         | [Incremental Update](https://qodo-merge-docs.qodo.ai/core-abilities/incremental_update/)                            |   ✅    |       |           |              |       |\n|                                                         | [Interactivity](https://qodo-merge-docs.qodo.ai/core-abilities/interactivity/)                                      |   ✅   |  ✅   |           |              |       |\n|                                                         | [Local and global metadata](https://qodo-merge-docs.qodo.ai/core-abilities/metadata/)                               |   ✅   |   ✅   |    ✅     |      ✅      |       |\n|                                                         | [Multiple models support](https://qodo-merge-docs.qodo.ai/usage-guide/changing_a_model/)                            |   ✅   |   ✅   |    ✅     |      ✅      |       |\n|                                                         | [PR compression](https://qodo-merge-docs.qodo.ai/core-abilities/compression_strategy/)                              |   ✅   |   ✅   |    ✅     |      ✅      |       |\n|                                                         | [RAG context enrichment](https://qodo-merge-docs.qodo.ai/core-abilities/rag_context_enrichment/)                    |   ✅    |       |    ✅     |              |       |\n|                                                         | [Self reflection](https://qodo-merge-docs.qodo.ai/core-abilities/self_reflection/)                                  |   ✅   |   ✅   |    ✅     |      ✅      |       |\n\n[//]: # (- Support for additional git providers is described in [here]\u0026#40;./docs/Full_environments.md\u0026#41;)\n___\n\n## See It in Action\n\n\u003c/div\u003e\n\u003ch4\u003e\u003ca href=\"https://github.com/Codium-ai/pr-agent/pull/530\"\u003e/describe\u003c/a\u003e\u003c/h4\u003e\n\u003cdiv align=\"center\"\u003e\n\u003cp float=\"center\"\u003e\n\u003cimg src=\"https://www.codium.ai/images/pr_agent/describe_new_short_main.png\" width=\"512\"\u003e\n\u003c/p\u003e\n\u003c/div\u003e\n\u003chr\u003e\n\n\u003ch4\u003e\u003ca href=\"https://github.com/Codium-ai/pr-agent/pull/732#issuecomment-1975099151\"\u003e/review\u003c/a\u003e\u003c/h4\u003e\n\u003cdiv align=\"center\"\u003e\n\u003cp float=\"center\"\u003e\n\u003ckbd\u003e\n\u003cimg src=\"https://www.codium.ai/images/pr_agent/review_new_short_main.png\" width=\"512\"\u003e\n\u003c/kbd\u003e\n\u003c/p\u003e\n\u003c/div\u003e\n\u003chr\u003e\n\n\u003ch4\u003e\u003ca href=\"https://github.com/Codium-ai/pr-agent/pull/732#issuecomment-1975099159\"\u003e/improve\u003c/a\u003e\u003c/h4\u003e\n\u003cdiv align=\"center\"\u003e\n\u003cp float=\"center\"\u003e\n\u003ckbd\u003e\n\u003cimg src=\"https://www.codium.ai/images/pr_agent/improve_new_short_main.png\" width=\"512\"\u003e\n\u003c/kbd\u003e\n\u003c/p\u003e\n\u003c/div\u003e\n\n\u003chr\u003e\n\n## Try It Now\n\nTry the GPT-5 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.\nFor example, add a comment to any pull request with the following text:\n\n```\n@CodiumAI-Agent /review\n```\n\nand the agent will respond with a review of your PR.\n\nNote that this is a promotional bot, suitable only for initial experimentation.\nIt 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.\n\n\n## How It Works\n\nThe following diagram illustrates PR-Agent tools and their flow:\n\n![PR-Agent Tools](https://www.qodo.ai/images/pr_agent/diagram-v0.9.png)\n\n## Data Privacy\n\n### Self-hosted PR-Agent\n\n- If you host PR-Agent with your OpenAI API key, it is between you and OpenAI. You can read their API data privacy policy here:\nhttps://openai.com/enterprise-privacy\n\n## Contributing\n\nTo contribute to the project, get started by reading our [Contributing Guide](https://github.com/qodo-ai/pr-agent/blob/b09eec265ef7d36c232063f76553efb6b53979ff/CONTRIBUTING.md).\n\n\n## ❤️ Community\n\nThis open-source release remains here as a community contribution from Qodo — the origin of modern AI-powered code collaboration. We’re proud to share it and inspire developers worldwide.\n\nThe project now has its first external maintainer, Naor ([@naorpeled](https://github.com/naorpeled)), and is currently in the process of being donated to an open-source foundation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqodo-ai%2Fpr-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqodo-ai%2Fpr-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqodo-ai%2Fpr-agent/lists"}