# PR-Agent — AI-Powered Code Review for Pull Requests > AI code reviewer for GitHub/GitLab/Bitbucket PRs. Auto-generates descriptions, reviews code, suggests improvements, answers questions. By Qodo. 10.7K+ stars. ## Install Save as a script file and run: ## Quick Use Add to any GitHub repo — comment on a PR: ``` /review /describe /improve ``` Or install via GitHub App at [qodo.ai](https://www.qodo.ai/). Self-hosted: ```bash pip install pr-agent python -m pr_agent.cli --pr_url=https://github.com/owner/repo/pull/123 review ``` --- ## Intro PR-Agent is an AI-powered code review tool for pull requests. It auto-generates PR descriptions, performs comprehensive code reviews, suggests improvements, and answers questions about code changes. Works with GitHub, GitLab, Bitbucket, and Azure DevOps. Supports Claude, GPT-4, and other models. By Qodo (formerly CodiumAI). 10,700+ GitHub stars. **Best for**: Development teams wanting AI-assisted code review on every PR **Works with**: GitHub, GitLab, Bitbucket, Azure DevOps, Claude, GPT-4 --- ## Commands | Command | Description | |---------|-------------| | `/review` | Comprehensive code review with risk assessment | | `/describe` | Auto-generate PR title and description | | `/improve` | Suggest code improvements with patches | | `/ask "question"` | Ask anything about the PR changes | | `/update_changelog` | Update CHANGELOG.md based on PR | | `/add_docs` | Generate docstrings for new functions | | `/test` | Suggest test cases for the changes | ### Review Output - Security vulnerabilities flagged - Performance concerns highlighted - Code quality suggestions with severity levels - Overall risk score (1-5) --- ### FAQ **Q: What is PR-Agent?** A: An AI code review tool for pull requests. Auto-generates descriptions, reviews code, suggests improvements, and answers questions. Works with GitHub/GitLab/Bitbucket. 10.7K+ stars. **Q: Is PR-Agent free?** A: Open-source for self-hosting (AGPL-3.0). Qodo offers a free tier for the hosted version. --- ## Source & Thanks > Created by [Qodo](https://github.com/Codium-ai). Licensed under AGPL-3.0. > [Codium-ai/pr-agent](https://github.com/Codium-ai/pr-agent) — 10,700+ GitHub stars --- Source: https://tokrepo.com/en/workflows/2d7fe041-6270-4b2b-a768-cdbc9ca6fcd7 Author: Script Depot