All projects

PR Reviewer Agent

Reference deploymentReview agent

An OpenCode + rgctl agent that reviews GitLab merge requests and GitHub pull requests with call-graph impact analysis.

A webhook trigger clones the change, seeds a base graph in the workspace, and hands off to an agent running the rgctl-pr-reviewer-v2 skill. The agent writes IMPACT_REPORT.md and posts a short review back to the MR or PR.

Forges
GitLab MR webhooks · GitHub App PR events and @mentions
Outputs
IMPACT_REPORT.md · four-section review note
Analysis
rgctl review paths · optional blast-radius / policy check
Deploy
OpenShift · agent + trigger images · resource-capped pods

Deploy it

./deploy/openshift/deploy.sh # GitLab MR path
./deploy/openshift/deploy.sh github # GitHub App path

Self-hosted on OpenShift. You need a cluster, GitLab or a GitHub App, and model credentials; the deployment README covers secrets, webhooks, and resource limits.

Flow

One trigger and one agent. GitLab and GitHub differ only at the webhook entry point and the comment API.

Rendering diagram…

Scroll the diagram horizontally to see the full flow.

Mirrors the Flow section in pr-reviewer-agent/README.md.