The-PR-Agent / pr-agent
git clone https://github.com/The-PR-Agent/pr-agent.git
v0.48.0 · 6d ago
🚀 PR Agent: The Original Open-Source PR Reviewer. This project is not the Qodo free tier.
+10
stars, 24h · #1,448
+~70
stars, 7 days · #1,827
+~300
stars, 30 days · #1,753
14k
★ total · +1% this week
2.0k
forks · 38 open issues
Star history (as recorded here)
LanguagePython
LicenseMIT
Created2023-07-05 (3y ago)
Last pushtoday
Watchers64
OwnerOrganization
GitHub topics
Links
- GitHub: github.com/The-PR-Agent/pr-agent
- Homepage: https://www.pr-agent.ai
- Releases · Issues · Hacker News mentions
README excerpt
The Original Open-Source PR Reviewer --- This repository contains the open-source PR Agent Project. It is not the Qodo offering for open-source projects. PR-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 offers a free version for open-source projects and integrates seamlessly with GitHub, GitLab, Bitbucket, and Azure DevOps for high-quality automated reviews. ## Sponsors PR-Agent is a community-maintained open-source project, with its ongoing development supported by our sponsors. If you'd like to support the project, consider becoming a sponsor. 🥇 Gold Sponsor Free version of Qodo for open-source projects ## Table of Contents - Getting Started - Why Use PR-Agent? - Features - See It in Action - How It Works - Data Privacy - Contributing ## Getting Started > [!NOTE] > **Docker Hub namespace migration.** Releases `0.34.2` and later are published under `pragent/pr-agent`. Older releases (up to and including `v0.31`) remain available at the legacy `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+`. ### 🚀 Quick Start for PR-Agent #### 1. GitHub Action (Recommended) Add automated PR reviews to your repository with a simple workflow file: [code] Full GitHub Action setup guide #### 2. CLI Usage (Local Development) Run PR-Agent locally on your repository: [code] Git provider SDKs are optional extras: install the one for your provider (list), or `pr-agent[all]` for every integration. Complete CLI setup guide #### 3. Other Platforms - GitLab webhook setup - BitBucket app installation - Azure DevOps setup ## News and Updates Full notes for every release are on the Releases page. ## Why Use PR-Agent? ### 🎯 Built for Real Development Teams **Fast & Affordable**: Each tool (`/review`, `/improve`, `/ask`) uses a single LLM call (~30 seconds, low cost) **Handles Any PR Size**: Our PR Compression strategy effectively processes both small and large PRs **Highly Customizable**: JSON-based prompting allows easy customization of review categories and behavior via configuration files **Platform Agnostic**: - **Git Providers**: GitHub, GitLab, BitBucket, Azure DevOps, Gitea - **Deployment**: CLI, GitHub Actions, Docker, self-hosted, webhooks - **AI Models**: OpenAI GPT, Anthropic Claude, Google Gemini, DeepSeek, Mistral, and any other model reachable through LiteLLM (Azure OpenAI, AWS Bedrock, Vertex AI, Databricks, OpenRouter, Ollama, and more) — see Changing a model **Open Source Benefits**: - Full control over your data and infrastructure - Customize prompts and behavior for your team's needs - No vendor lock-in - Community-driven development ## Features See the current feature and git provider support matrix in the PR-Agent documentation. ⚠️ `/he