{
  "manifest_version": "1",
  "slug": "pr-agent",
  "title": "PR-Agent",
  "headline": "Self-host PR-Agent, the AI pull request reviewer, on exe.dev",
  "description": "Run PR-Agent as your own GitHub App on an exe.dev VM: reviews and descriptions on every pull request, models from exe.dev's LLM integration.",
  "category": "dev-tools",
  "tags": [
    "pr-agent",
    "qodo merge",
    "ai code review",
    "pull request review",
    "github app",
    "code review bot",
    "describe",
    "improve",
    "self-hosted"
  ],
  "url": "https://exe.dev/deploy/pr-agent",
  "markdown_url": "https://exe-staging.dev/deploy/pr-agent.md",
  "upstream": {
    "website": "https://github.com/The-PR-Agent/pr-agent",
    "source": "https://github.com/The-PR-Agent/pr-agent",
    "docs": "https://github.com/The-PR-Agent/pr-agent/tree/main/docs/docs",
    "license": "MIT"
  },
  "example_vm_name": "my-pr-agent",
  "time": "20 minutes, most of it creating the GitHub App",
  "stack": [
    {
      "name": "PR-Agent",
      "detail": "pragent/pr-agent:0.50.0-github_app in Docker",
      "port": 3000,
      "data": "~/pr-agent/.secrets.toml"
    },
    {
      "name": "Webhook gate",
      "detail": "nginx in Docker, passing only GitHub's webhook POSTs to PR-Agent",
      "port": 8000
    }
  ],
  "access": [
    {
      "url": "https://my-pr-agent.exe.xyz/api/v1/github_webhooks",
      "who": "public",
      "what": "GitHub's signed webhooks, once you make the VM public; every other path is a 404"
    },
    {
      "url": "ssh my-pr-agent.exe.xyz",
      "who": "private",
      "what": "configuration and logs"
    }
  ],
  "delivers": [
    "Docker on every boot and the PR-Agent 0.50.0 and nginx images pulled",
    "PR-Agent using exe.dev's LLM integration, with no model key on the VM",
    "A webhook secret in `~/pr-agent/webhook-secret`",
    "A review of a sample diff, which flags its SQL and command injection",
    "No GitHub App yet; you create it on GitHub"
  ],
  "deployable": true,
  "deploy": {
    "new_vm_url": "https://exe-staging.dev/new?prompt=Set%20up%20PR-Agent%20on%20this%20VM%20by%20following%20the%20exe.dev%20recipe%20at%20https%3A%2F%2Fexe-staging.dev%2Fdeploy%2Fpr-agent.md%20from%20top%20to%20bottom.%0A%0AThe%20recipe%27s%20example%20VM%20name%20is%20my-pr-agent.%20This%20VM%27s%20name%20is%20the%20output%20of%20%60hostname%60%3A%20use%20it%20wherever%20the%20recipe%20writes%20my-pr-agent.%20Skip%20the%20step%20that%20creates%20the%20VM%3B%20you%20are%20on%20it.%0A%0AYou%20are%20done%20when%20all%20of%20these%20are%20true.%20Check%20each%20one%20yourself%3A%0A-%20Docker%20on%20every%20boot%20and%20the%20PR-Agent%200.50.0%20and%20nginx%20images%20pulled%0A-%20PR-Agent%20using%20exe.dev%27s%20LLM%20integration%2C%20with%20no%20model%20key%20on%20the%20VM%0A-%20A%20webhook%20secret%20in%20%60~%2Fpr-agent%2Fwebhook-secret%60%0A-%20A%20review%20of%20a%20sample%20diff%2C%20which%20flags%20its%20SQL%20and%20command%20injection%0A-%20No%20GitHub%20App%20yet%3B%20you%20create%20it%20on%20GitHub%0A%0ARun%20the%20commands%20in%20%22Install%20by%20hand%22%2C%20from%20%22Get%20PR-Agent%22%20on%2C%20and%20the%0Acheck%20at%20its%20end.%20Show%20the%20owner%20the%20first%20lines%20of%20the%20review.%20Don%27t%0Astart%20the%20server%20%28%60docker%20compose%20up%60%29%20or%20make%20the%20VM%20public%3A%20that%20needs%0Athe%20GitHub%20App%2C%20which%20the%20owner%20creates.%20Finish%20by%20telling%20the%20owner%20to%0Aread%20%22What%27s%20exposed%22%20and%20follow%20%22Create%20the%20GitHub%20App%22.%0A%0AFinish%20with%20the%20URLs%20I%20should%20open.%0A",
    "terminal": "curl -fsSL https://exe-staging.dev/deploy/pr-agent/prompt.txt | ssh exe.dev new --prompt=/dev/stdin",
    "prompt": "Set up PR-Agent on this VM by following the exe.dev recipe at https://exe-staging.dev/deploy/pr-agent.md from top to bottom.\n\nThe recipe's example VM name is my-pr-agent. This VM's name is the output of `hostname`: use it wherever the recipe writes my-pr-agent. Skip the step that creates the VM; you are on it.\n\nYou are done when all of these are true. Check each one yourself:\n- Docker on every boot and the PR-Agent 0.50.0 and nginx images pulled\n- PR-Agent using exe.dev's LLM integration, with no model key on the VM\n- A webhook secret in `~/pr-agent/webhook-secret`\n- A review of a sample diff, which flags its SQL and command injection\n- No GitHub App yet; you create it on GitHub\n\nRun the commands in \"Install by hand\", from \"Get PR-Agent\" on, and the\ncheck at its end. Show the owner the first lines of the review. Don't\nstart the server (`docker compose up`) or make the VM public: that needs\nthe GitHub App, which the owner creates. Finish by telling the owner to\nread \"What's exposed\" and follow \"Create the GitHub App\".\n\nFinish with the URLs I should open.\n",
    "prompt_url": "https://exe-staging.dev/deploy/pr-agent/prompt.txt"
  },
  "updated": "2026-11-16",
  "verified": "2026-11-16",
  "related": [
    "open-code-review",
    "codex-security",
    "github-actions",
    "agent-secrets",
    "code-server",
    "linux-desktop"
  ],
  "alternatives": [
    "CodeRabbit",
    "GitHub Copilot code review",
    "Qodo Merge"
  ],
  "files": [
    "https://exe-staging.dev/deploy/pr-agent/compose.yaml",
    "https://exe-staging.dev/deploy/pr-agent/nginx.conf",
    "https://exe-staging.dev/deploy/pr-agent/sample.diff"
  ]
}
