# The-PR-Agent/pr-agent

🚀 PR Agent: The Original Open-Source PR Reviewer. This project is not the Qodo free tier.

Repository: https://github.com/The-PR-Agent/pr-agent
Canonical: https://ross.abutalabs.com/products/pr-agent
Homepage: https://www.pr-agent.ai
Language: Python
License: MIT
License Family: permissive
Topics: openai, pull-request, code-review, pull-requests, coding-assistant, devtools, ai, anthropic, ollama
Last push: 2026-08-26T18:36:12+00:00

## Health v2 (maintenance only)
Score: 96/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 99, longevity 82
- inputs: {"age_days": 1155, "days_push": 7, "days_rel": 11, "gap_med": 16.0, "n_releases_24m": 25}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 12720, forks 1745 (observed 2026-08-28T04:10:59.669513+00:00)

## What it is
PR-Agent is an open-source, AI-powered code review agent that automatically reviews pull requests, generates descriptions, suggests improvements, answers questions, adds documentation, and updates changelogs. It integrates with GitHub, GitLab, Bitbucket, Azure DevOps, and Gitea via GitHub Actions, webhook apps, pipelines, or a CLI, and supports multiple LLM providers including OpenAI, Anthropic, and Ollama.

## Use cases
- automate ai code review on pull requests
- generate pr descriptions automatically
- get ai code improvement suggestions on a pr
- add docstrings to undocumented functions in a pr
- auto-generate labels and update changelog for prs
- run a self-hosted pr review bot on gitlab or bitbucket
- answer questions about a pr via bot comments

## When to choose
- you want automated AI feedback on every pull request across GitHub, GitLab, Bitbucket, Azure DevOps, or Gitea
- you need a self-hosted review bot with your own LLM keys or local models via Ollama
- you want PR description generation, docstring suggestions, and changelog updates from one tool
- you prefer running reviews as a GitHub Action, CI pipeline job, or CLI command

## When to avoid
- you need a fully autonomous reviewer that approves PRs - it deliberately will not approve
- you want the vendor's full-featured commercial offering rather than the community-maintained legacy project
- you cannot send code to external LLM providers and lack local model infrastructure
- you rely on the /help_docs tool, which is disabled since v0.36.1 due to a credential-exposure vulnerability

## Facets
- artifact type: application
- maturity: active
- function: code-review, agent-framework, llm-inference, developer-tools, cli, workflow-automation, documentation, ci-cd
- domain: developer-tools, version-control, artificial-intelligence, documentation
- platform: python, cli, self-hosted
- tags: pull-request, ai-code-review, github-action, gitlab, bitbucket, azure-devops, gitea, chatgpt, anthropic, ollama, pr-description, changelog, automation, docker, github, web-server

## Member repositories
- The-PR-Agent/pr-agent (main) score 96

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:59.669513+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:13:50.334411+00:00, confidence not recorded.
  - readme: https://github.com/The-PR-Agent/pr-agent (fetched 2026-08-28T04:10:59.669513+00:00, sha 6439f697f1f2)
  - homepage: https://www.pr-agent.ai (fetched 2026-08-29T08:10:14.364633+00:00, sha 91435dc841cc)
  - site_page: https://docs.pr-agent.ai/installation (fetched 2026-08-29T08:10:14.373694+00:00, sha 75b711d7bc45)
  - site_page: https://docs.pr-agent.ai/installation/pr_agent (fetched 2026-08-29T08:10:14.375631+00:00, sha d1073c779b2e)
  - site_page: https://docs.pr-agent.ai/faq (fetched 2026-08-29T08:10:14.377225+00:00, sha c3fd42390e00)
  - site_page: https://docs.pr-agent.ai/tools/add_docs (fetched 2026-08-29T08:10:14.378927+00:00, sha c503420696a4)
  - site_page: https://docs.pr-agent.ai/tools/help_docs (fetched 2026-08-29T08:10:14.380641+00:00, sha 888e79649c54)
  - site_page: https://docs.pr-agent.ai/tools/update_changelog (fetched 2026-08-29T08:10:14.382618+00:00, sha 0bebd0f71a58)
  - site_page: https://docs.pr-agent.ai/installation/github (fetched 2026-08-29T08:10:14.384390+00:00, sha 9eb1e4ce6ad3)
  - registry_pypi: https://pypi.org/pypi/pr-agent/json (fetched 2026-08-29T08:10:14.387055+00:00, sha 3f50d64ade5b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
