</>MCP Agents Market
Agent

pr-agent

by The-PR-Agent12.6kPythonUpdated 2026-08-21

🚀 PR Agent: The Original Open-Source PR Reviewer. This project is not the Qodo free tier.

PR-Agent is an open-source AI-powered code review agent that autonomously analyzes pull requests and provides automated feedback. Originally developed by Qodo (formerly Codium AI) and now community-maintained, it integrates with GitHub, GitLab, Bitbucket, Azure DevOps, and Gitea to deliver fast, single-call reviews using various LLM providers including OpenAI, Anthropic Claude, Google Gemini, and others. Developers can deploy it as a GitHub Action, CLI tool, webhook, or Docker container to automatically generate PR descriptions, security findings, code improvements, and answer questions about changes.

Key Features

Single-LLM-call architecture completes reviews in ~30 seconds with low token costs
PR compression strategy handles both small and large pull requests efficiently
Multi-platform support for GitHub, GitLab, Bitbucket, Azure DevOps, and Gitea
Flexible deployment options: GitHub Actions, CLI, webhooks, Docker, or self-hosted
Works with OpenAI GPT, Anthropic Claude, Google Gemini, DeepSeek, Mistral, and any LiteLLM-compatible model
Persistent inline comments prevent duplicate suggestions across multiple runs
Agent skills system (SKILL.md) and repo context files (AGENTS.md) for custom project conventions
Four core tools: /describe for PR summaries, /review for code analysis, /improve for suggestions, and /ask for Q&A

Use Cases

  • 01Automated code review on every pull request via GitHub Actions workflow
  • 02Local PR analysis during development using the CLI before pushing changes
  • 03Organization-wide code quality enforcement across GitLab repositories using webhooks
  • 04Security-focused PR scanning for vulnerable patterns and best practices
  • 05Automated PR description and changelog generation for open-source projects
  • 06Custom code review workflows tailored to team conventions using AGENTS.md files

Related Agents

View more

pr-agent — FAQ

What is PR-Agent and what does it do?+

PR-Agent is an open-source AI agent that automatically reviews pull requests across GitHub, GitLab, Bitbucket, Azure DevOps, and Gitea. It generates PR descriptions, identifies code issues and security concerns, suggests improvements, and answers questions about changes using large language models.

How do I install PR-Agent as a GitHub Action?+

Add a workflow file at .github/workflows/pr-agent.yml that triggers on pull requests and uses the action 'the-pr-agent/pr-agent@main'. You'll need to set OPENAI_KEY and GITHUB_TOKEN as environment secrets. Full setup instructions are available in the GitHub Action installation guide.

Which AI models and platforms does PR-Agent support?+

PR-Agent works with OpenAI GPT (including GPT-5.6), Anthropic Claude (Opus 5, Sonnet 5), Google Gemini (3.6), DeepSeek, Mistral, and any model accessible through LiteLLM. This includes Azure OpenAI, AWS Bedrock, Vertex AI, Databricks, OpenRouter, and Ollama.

Do I need an API key to use PR-Agent?+

Yes, you need an API key from your chosen LLM provider (e.g., OPENAI_KEY for OpenAI). For Git platform integration, you also need a repository access token (e.g., GITHUB_TOKEN). The agent is self-hosted, so data flows only between you and your chosen LLM provider.

Is PR-Agent free to use?+

Yes, PR-Agent is open-source and free to use. You only pay for LLM API costs from your chosen provider (OpenAI, Anthropic, etc.). It is distinct from Qodo's commercial offering and is now community-maintained under the PR-Agent GitHub organization.

How do I run PR-Agent locally with the CLI?+

Install via pip with 'pip install "pr-agent @ git+https://github.com/The-PR-Agent/pr-agent.git@v0.42.0"', set your OPENAI_KEY environment variable, then run 'pr-agent --pr_url <PR_URL> review'. The CLI works with any supported Git platform.

How do I install pr-agent?+

Open the source repository on GitHub and follow its README. pr-agent is a agent — MCP Agents Market links you directly to the official repo.

Is pr-agent free?+

pr-agent is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.

Related searches