# Assay PR Agent > Post `/review` on a GitHub pull request, a GitLab merge request or a local branch. The reviewer prepares the change, runs its scanners, and makes at most one model call inside a token budget you set. Then it posts one comment that lists what it found and what it could not check. Every page below has a plain-Markdown twin at the same path with a .md extension. ## Start - [Overview](https://pr-agent.assay.guide/index.md): Post `/review` on a GitHub pull request, a GitLab merge request or a local branch. The reviewer prepares the change, runs its scanners, and makes at most one model call inside a token budget you set. Then it posts one comment that lists what it found and what it could not check. - [Install](https://pr-agent.assay.guide/install.md): Start the three containers with Docker Compose, attach to the installer, and finish setup in the browser. The same image runs with plain Docker or with the included Kubernetes manifests. The command line alone needs only Python. - [Request a review](https://pr-agent.assay.guide/request.md): Post `/review` on an open GitHub pull request or GitLab merge request. The poller checks who asked, reviews the change once, and posts one comment on the reviewed head. The command line does the same for a change address or a local branch. - [Cost and coverage](https://pr-agent.assay.guide/cost.md): Every review is estimated before anything is sent to the model, refused over a limit you set, capped at one model call, and cached. Whatever it could not check is written into the report instead of being left out. ## Set up - [Setup](https://pr-agent.assay.guide/setup.md): The setup wizard takes the projects to review, the accounts allowed to request reviews, the forge credentials and the review provider. Run it in the browser from the Compose setup service, or in a terminal with plain Docker. - [Review providers](https://pr-agent.assay.guide/providers.md): The reviewer makes its one model call through one of three provider CLIs. Sign in with your own Cursor, Claude or ChatGPT account, or supply an API key. Every call runs with tools, shell and web search disabled. ## Checks - [Static checks](https://pr-agent.assay.guide/checks.md): ShellCheck and actionlint run on every reviewed head. Hadolint, zizmor and OSV-Scanner run on requested forge reviews, from a trusted CI report where one matches the commit and locally otherwise. None of them spends model tokens. - [CI reports](https://pr-agent.assay.guide/ci-reports.md): Hadolint, zizmor and OSV-Scanner can reuse a report your own CI produced for the reviewed commit, and Assay's Go lint report is imported the same way. The reviewer verifies each report against the source commit, and falls back file by file. - [History advisories](https://pr-agent.assay.guide/history.md): A background worker mines each project's Git history with Qualgen, and every requested review names the files that usually change together with the changed ones. The advisories go straight into the posted summary and cost no model tokens. ## Operate - [Pipelines](https://pr-agent.assay.guide/ci.md): Call `cursor-review` from a GitHub Actions or GitLab CI job to gate a pull request. It takes the pipeline event's own base and head, writes a JSON report, and exits 2 whenever coverage is incomplete. - [Deployment](https://pr-agent.assay.guide/deploy.md): Every push to main and every Git tag builds a linux/amd64 image, runs the test suite inside it with networking disabled, and publishes it. Each image carries its commit, its tags and its build time, and prints them first at startup. ## Reference - [CLI reference](https://pr-agent.assay.guide/cli.md): `cursor-review` runs one bounded review and writes a JSON report to stdout. Exactly one of `--change`, `--base` or `--ci` chooses what to review. This page lists every flag, the other commands the image provides, and what each exit status means. - [Settings reference](https://pr-agent.assay.guide/settings.md): Assay PR Agent takes its configuration from a saved setup or from the environment, and an explicit environment setting takes precedence over a saved value. This page lists every variable, which service reads it, and the shape of a project entry. - [Output and exit codes](https://pr-agent.assay.guide/output.md): A review ends in one of six states. The command line writes a JSON report to stdout and exits 0 or 2. With `--post`, or from the poller, it also publishes one comment on the reviewed head. This page lists every state, every field, and the comment's exact shape. ## Context - [FAQ](https://pr-agent.assay.guide/faq.md): Short answers on what a review costs, what the reviewer can do to a pull request, whose account it uses, how it treats a large change, whether it needs Assay, and how it is tested. ## Optional - [Source code](https://github.com/medici-finance/assay-pr-agent): the assay-pr-agent repository - [assay.guide](https://assay.guide/): the Assay methodology it ships with - [PR-Agent](https://github.com/the-pr-agent/pr-agent): the MIT-licensed review tooling it builds on