PR-Agent is a community-maintained, open-source AI code review agent donated by Qodo, now hosted under the PR-Agent GitHub organization and undergoing donation to an open-source foundation. The tool automates pull request analysis through commands like /review, /improve, /describe, /ask, and /similar_issue, executable via GitHub, GitLab, Bitbucket, Azure DevOps, and Gitea integrations, as well as CLI, Docker, GitHub Actions, and self-hosted webhooks. It supports multiple LLM providers including OpenAI GPT, Anthropic Claude, Google Gemini, DeepSeek, Mistral, and any model accessible via LiteLLM (Azure OpenAI, AWS Bedrock, Vertex AI, Databricks, OpenRouter, Ollama). Each tool uses a single LLM call averaging ~30 seconds, employing a PR Compression strategy to handle arbitrarily large diffs. Configuration is JSON-based for customizing review categories and behavior. Installation uses provider-specific extras such as `pip install "pr-agent[github]"` or `pr-agent[all]`. Docker images for v0.34.2+ reside under `pragent/pr-agent`; older `codiumai/pr-agent` images are frozen. The `/help_docs` command is disabled since v0.36.1 due to a credential-exposure issue (#2445). Testing runs via `uv run pytest` for unit tests and explicit e2e tests requiring provider credentials. The project recently added its first external maintainer, Naor (@naorpeled).

Read original