> ## Documentation Index
> Fetch the complete documentation index at: https://docs.replicas.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Review

> Review GitHub pull requests and GitLab merge requests with an agent next to the diff.

Open **Review** in the sidebar to see pull requests that need your review and the ones you opened, from [GitHub](https://docs.replicas.dev/features/github.md) and [GitLab](https://docs.replicas.dev/features/gitlab.md). Paste a PR or MR link into the search to open any other one.

A stack, where each PR builds on another's branch, shows as one row led by the PR that merges next. Open it to see the rest in merge order.

## Guided tour

Click **Start tour** on a PR. An agent reads the diff, writes a short summary, and orders the files from most to least important, with a plain-language explanation above each diff. Tests, lockfiles, and generated files are collapsed and marked viewed.

## Review chat

Each PR in a repository connected to Replicas has a chat with an agent that has the PR's branch checked out. If a Replicas workspace opened the PR, the chat runs in that workspace. Otherwise Replicas creates a **Review** workspace for it.

Highlight lines in a diff to quote them into the chat, then ask a question or ask for a change. The agent pushes fixes to the PR branch.

## Comments

Click **+** beside a line in the diff, or drag it across several lines, then pick where the comment goes:

* **Comment** posts it on GitHub now, as you.
* **Start a review** saves it as a pending comment. **Submit review** posts your pending comments together.
* **Send to agent** asks the agent that opened the PR to fix it, or the review chat when no workspace opened it.

Reply under any comment the same way. On GitLab MRs, comments go to the agent.

## Approve and merge

Approve, request changes, merge, close or reopen, mark ready or convert to draft, and update the branch from the review page. On GitHub PRs opened by a Replicas workspace, you can also ask the agent to resolve conflicts. Merges follow the repository's merge rules. Press `?` to see keyboard shortcuts.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.