{"id":49550486,"url":"https://github.com/the-pr-agent/pr-agent","last_synced_at":"2026-05-02T22:06:25.384Z","repository":{"id":179104451,"uuid":"662766482","full_name":"The-PR-Agent/pr-agent","owner":"The-PR-Agent","description":"🚀 PR Agent: The Original Open-Source PR Reviewer.  | This repo is not the Qodo free tier! Try Qodo free tier, click the link","archived":false,"fork":false,"pushed_at":"2026-05-02T13:05:38.000Z","size":100848,"stargazers_count":11064,"open_issues_count":146,"forks_count":1479,"subscribers_count":52,"default_branch":"main","last_synced_at":"2026-05-02T15:10:43.103Z","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/The-PR-Agent.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-05-02T13:22:52.000Z","dependencies_parsed_at":"2026-03-28T10:12:40.719Z","dependency_job_id":null,"html_url":"https://github.com/The-PR-Agent/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","the-pr-agent/pr-agent"],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/The-PR-Agent/pr-agent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-PR-Agent%2Fpr-agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-PR-Agent%2Fpr-agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-PR-Agent%2Fpr-agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-PR-Agent%2Fpr-agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/The-PR-Agent","download_url":"https://codeload.github.com/The-PR-Agent/pr-agent/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-PR-Agent%2Fpr-agent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32550948,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T21:31:48.061Z","status":"ssl_error","status_checked_at":"2026-05-02T21:31:46.574Z","response_time":132,"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":"2026-05-02T22:06:07.068Z","updated_at":"2026-05-02T22:06:25.375Z","avatar_url":"https://github.com/The-PR-Agent.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n\u003cbr /\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n\n\u003cpicture\u003e\n  \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://codium.ai/images/pr_agent/logo-dark.png\" width=\"330\"\u003e\n  \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://codium.ai/images/pr_agent/logo-light.png\" width=\"330\"\u003e\n  \u003cimg src=\"https://codium.ai/images/pr_agent/logo-light.png\" alt=\"logo\" width=\"330\"\u003e\n\n\u003c/picture\u003e\n\u003cbr\u003e\nThe Original Open-Source PR Reviewer\n\u003cbr\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/the-pr-agent/pr-agent/commits/main\"\u003e\n\u003cimg alt=\"GitHub\" src=\"https://img.shields.io/github/last-commit/the-pr-agent/pr-agent/main?style=for-the-badge\" height=\"20\"\u003e\n\u003c/a\u003e\n\u003c/div\u003e\n\n---\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\n## Big News for PR-Agent\n\nPR-Agent has a new home!\n\nAfter years of building this tool alongside the community, Qodo has donated PR-Agent to the open-source community - and we couldn't be more excited about what comes next.\n\nThe project now lives in the PR-Agent org on GitHub, is fully community-owned, and is open for contributions and additional maintainers.\n\nWhat else changed: \n- Docs moved to - www.pr-agent.ai\n- Qodo Merge (Qodo 1.0), the hosted URL, which was the enterprise version of PR-Agent, has been rebranded and evolved into Qodo (Qodo 2.0), a full AI code review platform.\n\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- [How It Works](#how-it-works)\n- [Data Privacy](#data-privacy)\n- [Contributing](#contributing)\n\n## Getting Started\n\n\u003e [!NOTE]\n\u003e **Docker Hub namespace migration.** Releases `0.34.2` and later are published under [`pragent/pr-agent`](https://hub.docker.com/r/pragent/pr-agent). Older releases (up to and including `v0.31`) remain available at the legacy [`codiumai/pr-agent`](https://hub.docker.com/r/codiumai/pr-agent) namespace as a frozen archive — no new images are pushed there. Update any pinned `image:` / `docker pull` / `uses: docker://` references when upgrading to `0.34.2+`.\n\n### 🚀 Quick Start for PR-Agent\n\n#### 1. 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: the-pr-agent/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://docs.pr-agent.ai/installation/github/#run-as-a-github-action)\n\n#### 2. 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://docs.pr-agent.ai/usage-guide/automations_and_usage/#local-repo-cli)\n\n#### 3. Other Platforms\n- [GitLab webhook setup](https://docs.pr-agent.ai/installation/gitlab/)\n- [BitBucket app installation](https://docs.pr-agent.ai/installation/bitbucket/)\n- [Azure DevOps setup](https://docs.pr-agent.ai/installation/azure/)\n\n[//]: # (## News and Updates)\n\n[//]: # ()\n[//]: # (## Aug 8, 2025)\n\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[//]: # (## 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://docs.pr-agent.ai/tools/improve/#chat-on-code-suggestions\u0026#41;.)\n\n[//]: # ()\n[//]: # ()\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://docs.pr-agent.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://docs.pr-agent.ai/tools/)         | [Describe](https://docs.pr-agent.ai/tools/describe/)                            |   ✅   |   ✅   |    ✅     |      ✅      |  ✅   |\n|                                                         | [Review](https://docs.pr-agent.ai/tools/review/)                                |   ✅   |   ✅   |    ✅     |      ✅      |  ✅   |\n|                                                         | [Improve](https://docs.pr-agent.ai/tools/improve/)                              |   ✅   |   ✅   |    ✅     |      ✅      |  ✅   |\n|                                                         | [Ask](https://docs.pr-agent.ai/tools/ask/)                                      |   ✅   |   ✅   |    ✅     |      ✅      |       |\n|                                                         | ⮑ [Ask on code lines](https://docs.pr-agent.ai/tools/ask/#ask-lines)            |   ✅   |   ✅   |           |              |       |\n|                                                         | [Help Docs](https://docs.pr-agent.ai/tools/help_docs/?h=auto#auto-approval)     |   ✅   |   ✅   |    ✅     |              |       |\n|                                                         | [Update CHANGELOG](https://docs.pr-agent.ai/tools/update_changelog/)            |   ✅   |   ✅   |    ✅     |      ✅      |       |\n|                                                         |                                                                                                                     |        |        |           |              |       |\n| [USAGE](https://docs.pr-agent.ai/usage-guide/)   | [CLI](https://docs.pr-agent.ai/usage-guide/automations_and_usage/#local-repo-cli)                            |   ✅   |   ✅   |    ✅     |      ✅      |  ✅   |\n|                                                         | [App / webhook](https://docs.pr-agent.ai/usage-guide/automations_and_usage/#github-app)                      |   ✅   |   ✅   |    ✅     |      ✅      |  ✅   |\n|                                                         | [Tagging bot](https://github.com/the-pr-agent/pr-agent#try-it-now)                                                     |   ✅   |        |           |              |       |\n|                                                         | [Actions](https://docs.pr-agent.ai/installation/github/#run-as-a-github-action)                              |   ✅   |   ✅   |    ✅     |      ✅      |       |\n|                                                         |                                                                                                                     |        |        |           |              |       |\n| [CORE](https://docs.pr-agent.ai/core-abilities/) | [Adaptive and token-aware file patch fitting](https://docs.pr-agent.ai/core-abilities/compression_strategy/) |   ✅   |   ✅   |    ✅     |      ✅      |       |\n|                                                         | [Dynamic context](https://docs.pr-agent.ai/core-abilities/dynamic_context/)                                  |   ✅   |   ✅   |    ✅     |      ✅      |       |\n|                                                         | [Fetching ticket context](https://docs.pr-agent.ai/core-abilities/fetching_ticket_context/)                  |   ✅    |  ✅    |     ✅     |              |       |\n|                                                         | [Interactivity](https://docs.pr-agent.ai/core-abilities/interactivity/)                                      |   ✅   |  ✅   |           |              |       |\n|                                                         | [Local and global metadata](https://docs.pr-agent.ai/core-abilities/metadata/)                               |   ✅   |   ✅   |    ✅     |      ✅      |       |\n|                                                         | [Multiple models support](https://docs.pr-agent.ai/usage-guide/changing_a_model/)                            |   ✅   |   ✅   |    ✅     |      ✅      |       |\n|                                                         | [PR compression](https://docs.pr-agent.ai/core-abilities/compression_strategy/)                              |   ✅   |   ✅   |    ✅     |      ✅      |       |\n|                                                         | [Self reflection](https://docs.pr-agent.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/the-pr-agent/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/the-pr-agent/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/the-pr-agent/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## 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%2Fthe-pr-agent%2Fpr-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthe-pr-agent%2Fpr-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe-pr-agent%2Fpr-agent/lists"}