pr-agent vs hunk

Two of the top projects in Code review and testing, side by side: who leads on each score part and who each one suits, then setup, license, activity and what each review found.

#55th of 78 in Code review and testing

pr-agent

LLM-based pull request reviewer that runs as a GitHub Action, CLI or webhook

#1414th of 78 in Code review and testing

hunk

Terminal diff viewer for reviewing code changes, with inline agent notes

Verdict

pr-agent ranks higher, 90 to 86. Of the 4 score parts we measure for both, pr-agent leads on 2, hunk on 1 and 1 is even.

  • Adoptionpr-agent leads by 12 points, 90 to 78.
  • FreshnessEven at 100.
  • Maintenancepr-agent leads by 15 points, 99 to 84: a wide gap.
  • Agent-readyhunk leads by 40 points, 70 to 30: a wide gap.

Pick pr-agent if you are

Teams wanting a self-hosted, model-agnostic AI reviewer on their Git platform

  • Supports GitHub, GitLab, Bitbucket, Azure DevOps and Gitea
  • Any LiteLLM-reachable model, including local Ollama, so code can stay in your infrastructure

Pick hunk if you are

Developers who review diffs or agent-written changes in the terminal

  • Opens Git, Jujutsu, Sapling, GitHub PRs, patches from stdin, or two plain files
  • Agents can annotate a live session through the hunk-review skill
pr-agent vs hunk: score parts and facts
What we comparepr-agenthunk
Score parts, out of 100
Adoption90, widely used78, popular
Freshness100, active100, active
Maintenance99, healthy84, healthy
Agent-ready30, minimal70, partly
Facts from GitHub and the README
Stars16.8k9.9k
LicenseMIT (permissive)MIT (permissive)
Last commitNov 2026Nov 2026
Last releaseNov 2026Nov 2026
LanguagePythonTypeScript
DockerYesNo
GPUNot neededNot needed
arm64 or Apple SiliconNot statedMentioned

pr-agent

PR-Agent posts AI-generated PR descriptions, reviews, code suggestions and Q&A as comments via /describe, /review, /improve and /ask commands. It supports GitHub, GitLab, Bitbucket, Azure DevOps and Gitea, and any model reachable through LiteLLM, including OpenAI, Claude, Gemini and Ollama. Each command uses a single LLM call, and prompts are configurable through TOML files.

Who it is for: Teams wanting a self-hosted, model-agnostic AI reviewer on their Git platform

Strengths

  • Supports GitHub, GitLab, Bitbucket, Azure DevOps and Gitea
  • Any LiteLLM-reachable model, including local Ollama, so code can stay in your infrastructure
  • One LLM call per command; PR compression handles large diffs
  • Installs as a GitHub Action, pip package, Docker image or webhook server

Weaknesses

  • Described as a community-maintained legacy project, separate from Qodo's current product
  • /help_docs is disabled since v0.36.1 because of a credential-exposure issue
  • Docker image moved to pragent/pr-agent from 0.34.2; pinned references need updating
  • Project is still being donated to a foundation, so governance is in flux
  • no GPU
  • Docker + Compose
  • Needs LLM provider API key (e.g. OpenAI), Git provider token
  • Models: OpenAI GPT, Anthropic Claude, Google Gemini, DeepSeek, Mistral

hunk

Hunk is an interactive terminal diff viewer built on OpenTUI. It opens a multi-file review stream with a sidebar for Git, Jujutsu and Sapling changes, GitHub PRs (`hunk gh`), raw patches or two files, in split, unified or auto layout. A review skill lets a coding agent attach notes to a live session. It also runs as a Git pager and has a browser view.

Who it is for: Developers who review diffs or agent-written changes in the terminal

Strengths

  • Opens Git, Jujutsu, Sapling, GitHub PRs, patches from stdin, or two plain files
  • Agents can annotate a live session through the hunk-review skill
  • Works as a pager for git, jj and Sapling, with watch mode
  • Standalone binary via install script, Homebrew or mise; npm needs Node.js 22+

Weaknesses

  • No structural diffing; its comparison table marks this as unsupported
  • No prebuilt binaries for Windows arm64 or musl Linux such as Alpine
  • GitHub Enterprise is not supported by `hunk gh`
  • Extension API is experimental and may break between minor releases
  • no GPU
  • Needs Git (recommended), Node.js 22+ (npm install only)

More in Code review and testing

Building with these?

We help teams pick an open-source AI stack and run it in production. Client work never changes a rank.