# Pull requests from the Changes tab

> Creates the pull request (GitHub) or merge request (GitLab) of a branch without leaving AgentsRoom, follows it, and sends its review back to the agent.

- Area: Desktop app
- Plans: All plans
- Last checked against the product: 2026-11-24
- Web page: https://agentsroom.dev/docs/pull-requests

## What it does

Creates the pull request (GitHub) or merge request (GitLab) of a branch
without leaving AgentsRoom, follows it, and sends its review back to the agent.
The AI proposes the title and the description from the branch diff, its
commits and the linked ticket; you edit them before anything is sent. Once
open, the PR shows its state (draft, open, merged, closed), the review verdict
(approved, changes requested), the number of unresolved comments and the CI
badge. Send the comments to the agent turns the unresolved comments into one
message for the agent of that checkout: fix, push to the same branch, never
merge.

## Where to find it

- Changes tab, next to Push and the CI badge: Create PR (Push and create PR
  when the branch was never pushed), then the PR itself.
- Changes tab, Worktrees view: the same badge on each row, and Open a pull
  request in the row menu.
- Agent card, right-click: Create the pull request (Open pull request #N when
  it exists). The card of an agent working in its own worktree also shows
  the PR state. Agents working in the project folder share its branch, so
  their cards show no PR: the folder's PR is on the Changes tab.
- Backlog ticket: the PR number, state and verdict on the card and in the
  ticket, click = the PR page.
- Phone: project, Changes, Worktrees: the PR line of each row, Create PR and
  Send the comments to the agent.

## How to use it

1. Connect GitHub or GitLab once (Import from GitHub / GitLab, or the grey PR
   badge). GitLab needs a token with the `api` scope to create a merge request.
2. Click Create PR. Wait for the mascot: title and description are proposed.
   Edit them, check the base branch (upstream is proposed for a fork), tick
   Open as a draft if needed, then Create PR.
3. When reviewers comment, the badge shows the number of unresolved comments.
   Click it, untick what the agent should leave alone, pick the agent (the one
   of that checkout, or a new agent in it) and send.

## Settings

- `prReviewNotifications` (global, account-synced, Settings > Notifications >
  Review on a pull request): notify (desktop banner, and the paired phone when
  you are away) when a review or a comment arrives on a pull request created
  from AgentsRoom. Also covers the alerts of the pull requests your agents
  follow: an agent that is closed when its PR changes, a temporary agent whose
  watch ended, and GitHub / GitLab refusing the token. Default on.

## Agent tools (MCP)

Family "Pull requests" (Settings > AgentsRoom tools, can be switched off per
agent, project or globally). Read-only, on the agent's own checkout (its
worktree, else the project folder), through the GitHub / GitLab account
connected in AgentsRoom: the token never reaches the agent.

- `pr_status`: state, review verdict, unresolved threads, branches, whether
  the branch conflicts with its base, and the CI state of the pushed commit; without a PR, why (never pushed, no PR, not
  connected, unsupported host).
- `pr_review_comments`: the unresolved review threads (50 at most), the same
  ones "Send comments to the agent" sends.
- `ci_failed_jobs`: see the CI pipeline status article.
- `pr_watch`: the agent follows the pull request of its checkout and is woken
  by a notice in its Agent Mail inbox when it changes: a review verdict, new
  review comments, finished checks of the head commit, a new conflict with the
  base branch, a merge or a close.
  `note` holds what it must do on each event. A merge or close ends the watch.
  Title, labels, draft / ready and pushes wake nothing. Ask your agent to
  "follow your PR" to start it; `pr_watch` with `stop` ends it.

You can also start or stop it yourself: right-click the agent > Follow #N
(reviews, checks) / Stop following #N, or tick "<agent> follows this pull
request" in the Create the pull request form (shown when one agent works in
that checkout). While an agent follows a PR, the PR badge shows an eye
("Followed by <agent>", click to stop) and the card of a worktree agent shows
an eye next to its PR. On the phone, the PR line of the Worktrees screen shows
"Followed by <agent>" (tap to stop) or "Have <agent> follow it".

No tool comments, re-runs a check, resolves a thread or merges. A notice is
held like any agent message: it waits while the agent is busy or waiting for
your answer, and a closed console only starts for it when "A message may start
the recipient" is on (Settings > Agents & AI > Agent behavior). When it is off,
you are notified instead ("<agent> is closed: open it so it can take care of
it"). A temporary agent (quick agent, team-run step, trigger run) whose console
is closed is never started again: its watch ends and you are told so.
`pr_status` also lists the pull requests the agent still follows when its
checkout moved to another branch.

## Providers

All providers, no difference: the review is a plain message, or the first
prompt of a new quick agent.

## Mobile

Worktrees screen: PR state, Create PR (title and description proposed by the
desktop's AI), Send the comments to the agent, and who follows the PR (Have
<agent> follow it / Followed by <agent>), all run by the desktop. A tap on the
review notification, or on an "agent is closed" alert, opens the worktrees
screen. Tickets show the PR.

## Limits

- GitHub.com and GitLab (gitlab.com or the connected self-hosted instance).
  Bitbucket and Azure DevOps open their own "new pull request" page in the
  browser. GitHub Enterprise is not supported.
- Merging, approving and resolving a thread stay on the host.
- An agent follows its pull request while AgentsRoom runs on the computer of
  its console (the token of that computer reads it). Agents running on an SSH
  host cannot read or follow their pull request yet.
- Notifications cover the pull requests created from AgentsRoom on this
  computer, checked every 3 minutes while the app runs.
- The PR state is refreshed while a badge is on screen; agent cards and tickets
  show the last state seen.

## Common questions

- **Can AgentsRoom open the pull request for me?** Yes: Create PR next to Push
  in the Changes tab, on a worktree row, or in an agent's right-click menu.
- **Can an agent fix the review comments?** Click the comment count on the PR
  badge, then Send the comments to the agent.
- **GitLab says the token cannot create merge requests.** Reconnect GitLab with
  a token that has the `api` scope.
- **How do I stop the review notifications?** Settings > Notifications, untick
  Review on a pull request.
- **Can an agent read its own pull request?** Yes, with the `pr_status` and
  `pr_review_comments` tools, on the PR of its own worktree. No `gh` or `glab`
  needed.
- **Can an agent be told when its pull request gets a review or its checks
  fail?** Yes: ask it to follow its PR (`pr_watch`). It gets one inbox notice
  per change and reads the comments and failed jobs itself. Nothing is polled
  while no PR is followed, and each repository (GitHub) or project (GitLab)
  is asked once per check, however many PRs and agents. When GitHub or GitLab
  refuses the polls (rate limit, expired connection), that host is asked less
  often, up to every 15 minutes, until it answers again; an expired
  connection is notified once, and reconnecting resumes it.
- **How do I see which agent follows a pull request?** The eye on the PR
  badge (Changes tab, Worktrees view) names it; click it to stop.
- **What if the agent is closed when its PR gets a review?** The notice waits
  in its inbox. If "A message may start the recipient" is on, AgentsRoom
  starts it in the background; otherwise you get a notification telling you
  to open it.
- **Can an agent merge or comment on a pull request?** No. The AgentsRoom
  tools only read; merging, approving and commenting stay with you.

## Related

- [CI pipeline status in the Changes tab](https://agentsroom.dev/docs/ci-pipeline-status.md): the CI badge shown next to the PR.
- [Import Repositories](https://agentsroom.dev/docs/import-repositories.md): the GitHub / GitLab connection.
- [Pull request and issue link preview](https://agentsroom.dev/docs/pr-link-preview.md): hover a PR or issue link to see its state.
