PR-Agent describes, reviews, and improves pull requests using configurable LLMs. It runs from PR comments, CI, webhooks, Docker, or the command line.
Overview
PR-Agent is an AI-assisted workflow for merge requests on GitHub, GitLab, Bitbucket, Azure DevOps, and Gitea. Maintainers trigger commands such as review, describe, improve, and ask via comments on a pull request or by invoking the CLI against a PR URL. It is a community-maintained legacy project of Qodo in maintenance mode with fixes only.
Reviews aim to stay efficient on token use while handling large diffs through compression strategies. Prompting and review categories are adjustable through JSON configuration. Model routing goes through LiteLLM, so teams can point at OpenAI, Anthropic, Gemini, DeepSeek, Mistral, Ollama, and other hosted endpoints.
Deployment options include GitHub Actions, provider webhooks, local CLI runs, and Docker images published under the pragent namespace. Self-hosting keeps API keys and code review traffic on infrastructure you control. The project is community-maintained and distinct from Qodo’s hosted product line.
Documentation lists supported git providers and command behavior. A help-docs command was temporarily disabled pending a credential-exposure fix noted in release notes.
Key features
- PR comment commands review and describe
- CLI and Docker execution
- GitHub Actions integration
- Multi-provider LLM via LiteLLM
- JSON-customizable review prompts
- Large PR diff compression
- GitLab, Bitbucket, Azure DevOps, Gitea
- Self-hosted deployment option
Use cases
- Automated code review on open source repos
- Drafting PR descriptions from diffs
- Local review before pushing changes
- Team-specific review categories via config
Does the same job as
PR-Agent doesn't name these products itself, but its own description shows it does the same job.