PR-Agent is an AI code review agent that runs on pull requests. It writes PR descriptions, reviews changes, suggests code improvements, and answers free-text questions about a PR. Each tool runs as a comment on the PR (/describe, /review, /improve, /ask) or from a command line, and issue-scoped commands such as /similar_issue find related issues in the repository.
Each tool makes a single LLM call, and a PR compression strategy fits both small and large PRs into that call. Review categories and behavior are set through JSON-based prompts and configuration files. It runs as a GitHub Action, a CLI, a Docker image, a webhook service, or a self-hosted deployment.
The project began at Qodo and is now community-owned. It is separate from Qodo's own hosted code review product.
Features
- PR tools: /describe, /review, /improve and /ask write descriptions, review changes, suggest fixes, and answer questions about a PR
- Issue commands: /similar_issue finds related issues in the repository
- Git providers: GitHub, GitLab, Bitbucket, Azure DevOps, and Gitea
- Single-call tools: each tool uses one LLM call, with a compression strategy for large PRs
- Configurable prompts: JSON-based prompting sets review categories and behavior
- Deployment options: CLI, GitHub Actions, Docker, webhooks, or self-hosted
- Model choice: OpenAI GPT, Anthropic Claude, Google Gemini, DeepSeek, Mistral, and other models reachable through LiteLLM

