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

# Standalone Code Review Agent

> Request an independent code review of a branch or pull request without executing the full development workflow.

The **Standalone Code Review Agent** acts as an autonomous second pair of eyes on existing code changes. You can request a focused review of any branch or pull request without initiating the full multi-step development workflow.

The agent analyzes your codebase context, identifies potential issues or regressions, and returns prioritized findings with precise file and line references.

> [!NOTE]
>
> **Prerequisite**: Ensure your repository is integrated with Revolte. Learn how in [Connect Git Repository](https://docs.revolte.ai/workflows/connect-git-repository).

## Standalone Review vs. Full Development Workflow

Choose the review mode that aligns with where your code originated:

| Review Mode | When to Use | Execution Behavior |
| :- | :- | :- |
| **Standalone Code Review Agent** | The code is already written (by a team member or another agent) and needs inspection. | Read-only analysis. Evaluates changes and outputs prioritized findings without modifying files or submitting comments unless explicitly requested. |
| **Full Development Workflow** | You want Revolte to plan, implement, test, and deliver the change from a prompt or ticket. | Full lifecycle execution. Writes code in an isolated sandbox, runs tests, and opens a pull request. |

***

## What a finding contains

Each review finding provides actionable context so you can prioritize remediation:

| Field | Description |
| :- | :- |
| **Priority** | Urgency and impact level of the finding. Work through high-priority items first. |
| **File and line** | Exact location within the diff or codebase where the issue occurs. |
| **Finding** | Detailed technical explanation of the issue, risk, or optimization opportunity. |

***

## Safe, read-only control

By default, the Standalone Code Review Agent operates in a read-only mode:

* **No Unsolicited Commits**: The agent never alters code files on your branch without an explicit prompt.
* **No Unsolicited PR Comments**: The agent does not post comments directly to your GitHub/GitLab pull request unless you instruct it to do so.
* **Developer Agency**: You review the findings in the console first, and decide whether to address them yourself, ask Revolte to fix them, or post selected findings to the team.

***

## Step-by-step workflow

**1. Select Target Branch or Pull Request**

Identify the branch or open pull request you want the agent to evaluate.

**2. Request Code Review**

Launch the review by pointing the Standalone Code Review Agent at the target branch or pull request.

**3. Inspect Prioritized Findings**

Review the returned findings table ordered by priority, using the direct file and line links to navigate your codebase.

**4. Take Action**

Choose your next action: resolve the items directly in your IDE, instruct the agent to apply suggested fixes, or instruct the agent to publish comments to the PR.

***

## Current limitations & notes

* **Non-destructive Default**: The agent will not edit files or publish PR comments unless explicitly directed.
* TODO: confirm with engineering: Exact UI trigger or CLI command used to initiate the Standalone Code Review Agent.
* TODO: confirm with engineering: Exact priority tier taxonomy (e.g. Critical, High, Medium, Low).
* TODO: confirm with engineering: Supported git providers, language runtimes, and maximum PR diff size limits.

***

## Next steps

* [If/Else Conditional Nodes](https://docs.revolte.ai/workflows/branching.md) — Add conditional branching to your workflows.
* [Review AI Changes](https://docs.revolte.ai/workflows/review-ai-changes.md) — Learn how to inspect diffs across Revolte workflows.
* [YAML Prebuild Workflow](https://docs.revolte.ai/yaml/repo-preferences/prebuild-workflow.md) — Configure automated PR checks in `revolte.yaml`.


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