Attach an AI reviewer and description tool to pull requests
Imagine opening a pull request and seeing code reviews and change descriptions automatically posted as comments. This tool uses AI to read code, identify issues, or suggest improvements. Developed by Qodo and donated to the community, the project is now maintained by external contributors and is in the process of being donated to an open-source foundation.
Current status of the community-owned project
Qodo donated this project to the open-source community, and it is now fully community-owned under the PR-Agent organization. The documentation site has moved to docs.pr-agent.ai, while the former Qodo Merge (enterprise version) has been rebranded as Qodo 2.0 and developed as a separate platform. Recently, the first external maintainer joined, and the process of donating the project to an open-source foundation is underway. The Docker Hub namespace changed to pragent/pr-agent starting from version 0.34.2, so if you are pinning an earlier version, you must update the image address.
AI commands for pull requests
Users instruct the AI by leaving specific commands as comments on pull requests or issues.
- Code review The
/reviewcommand analyzes code, identifies potential issues, and reports them in a comment. - Change description The
/describecommand summarizes and explains the main changes in the pull request. - Free-form Q&A The
/askcommand allows you to ask specific questions about the pull request and receive answers.
Support for various platforms and AI models
It supports major git providers such as GitHub, GitLab, Bitbucket, Azure DevOps, and Gitea. Deployment options include GitHub Actions, CLI, Docker, self-hosting, and webhooks. You can use AI models like OpenAI GPT, Anthropic Claude, Google Gemini, DeepSeek, and Mistral, and access various models such as Azure OpenAI, AWS Bedrock, and Ollama through LiteLLM. If you prioritize data privacy, you can manage API keys directly by self-hosting.
Things to check before adoption
This tool is a community-maintained project separate from Qodo's paid service. The /help_docs feature has been temporarily disabled since v0.36.1 to fix a credential exposure issue. During installation, the SDK for each git provider is an optional add-on, so you must install the package corresponding to your platform. Run unit tests with the command PYTHONPATH=. uv run pytest, and note that end-to-end tests require provider credentials. Since the project is in the process of being donated to a foundation, the governance structure may change in the future, so you should decide on adoption based on your long-term maintenance plans.