talira

PR-Agent

An open-source AI agent that describes, reviews and improves pull requests.

open sourceMITself-hostablefree

PR-Agent is an open source AI pull request reviewer you run yourself with your own model keys: comment /describe, /review, /improve or /ask on a pull request (or run it automatically) and it writes the description, a review, code suggestions or an answer, using one model call for simple requests and compressing large diffs to fit. It works with GitHub, GitLab, Bitbucket Cloud and Server, Azure DevOps and Gitea (plus Gerrit and CodeCommit for the core commands), and runs as a GitHub Actions action, a webhook app, an AWS Lambda, a Docker image or the pr-agent CLI. It reaches OpenAI, Anthropic, Gemini, Bedrock, Ollama and many other providers through LiteLLM, and reads SKILL.md agent skills and AGENTS.md repository context. Qodo (then CodiumAI) built it and donated it to the community in 2026; it now lives in the PR-Agent GitHub organization under the MIT licence, with community maintainers and Qodo as its gold sponsor.

Problems it solves

  • AI review comments on our pull requests using our own OpenAI or Anthropic API key, with no per-seat subscription
  • an open source AI code reviewer we can self-host so our code only goes to the model provider we choose
  • automatically write a pull request description and labels from the diff
  • get AI code suggestions on a merge request in our self-hosted GitLab or Gitea
  • AI pull request review for Azure DevOps or Bitbucket Server
  • ask questions about a pull request in a comment and get an answer from an AI
  • run AI pull request review with a local model through Ollama so nothing leaves our network
  • add an AI reviewer to our repository with one GitHub Actions workflow file
  • review a large pull request with an LLM without blowing past the context window
  • update the CHANGELOG automatically from what a pull request changes

Features

  • /describe: pull request title, summary, walkthrough and labels
  • /review: review with security and effort assessment
  • /improve: code suggestions
  • /ask and line-level questions on a pull request
  • /add_docs, /generate_labels, /update_changelog and /similar_issue
  • PR compression strategy for large diffs
  • dynamic context, self-reflection and ticket context from Jira, Asana and Linear
  • agent skills (SKILL.md) and AGENTS.md repository context
  • GitHub, GitLab, Bitbucket Cloud and Server, Azure DevOps and Gitea; Gerrit and CodeCommit for core commands
  • runs as a GitHub Action, GitHub App, webhook server, AWS Lambda, polling bot, CLI or Docker image
View 3 more
  • local and plain-diff modes, and a MOSAICO A2A server
  • any model through LiteLLM: OpenAI, Azure OpenAI, Anthropic, Gemini, Vertex AI, Bedrock, Ollama, vLLM, DeepSeek, Mistral, OpenRouter, Groq and more
  • configuration in .pr_agent.toml per repository

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what PR-Agent does.

  1. CodeRabbit Trust everything you ship with CodeRabbit
  2. Greptile The AI Code Reviewer
  3. Qodo Code review for agents. Governance for humans.
  4. Cursor Bugbot AI code review that catches real bugs
  5. DeepSource AI code review platform that combines static analysis with AI review agents
  6. Open Code Review AI code review CLI combining deterministic pipelines with an LLM agent for line-level comments

Compare PR-Agent with the top 3