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

# Generate a PR summary

> Qodo generates a structured pull request summary to help reviewers quickly understand the scope and impact of a change.

export const AzureIcon = () => <svg className="azure-icon" viewBox="0 0 18 18" width="12" height="12" style={{
  display: "inline",
  verticalAlign: "middle",
  flexShrink: 0,
  background: "transparent"
}}>
    <defs>
      <linearGradient id="azure-gradient" x1="9" y1="16.97" x2="9" y2="1.03" gradientUnits="userSpaceOnUse">
        <stop offset="0" stopColor="currentColor" />
        <stop offset="0.16" stopColor="currentColor" />
        <stop offset="0.53" stopColor="currentColor" />
        <stop offset="0.82" stopColor="currentColor" />
        <stop offset="1" stopColor="currentColor" />
      </linearGradient>
    </defs>
    <path d="M17,4v9.74l-4,3.28-6.2-2.26V17L3.29,12.41l10.23.8V4.44Zm-3.41.49L7.85,1V3.29L2.58,4.84,1,6.87v4.61l2.26,1V6.57Z" fill="url(#azure-gradient)" />
  </svg>;

Qodo reviews the full codebase, not just the diff, to generate a structured summary of the pull request (PR) that gives reviewers meaningful context before they look at a single line of code. The summary captures the intent of the change, estimates how long the review will take, surfaces high-level suggestions, and diagrams the architecture where relevant.

<Frame>
  <img src="https://mintcdn.com/qodo/2uYzhT9AXenGwYeI/images/code-review/pr-summary-comment.png?fit=max&auto=format&n=2uYzhT9AXenGwYeI&q=85&s=2853f6e6221e53a744f0b3b744eb2346" alt="Generated PR summary comment showing tags, the Walkthroughs section, and File Changes grouped by category" width="1339" height="1174" data-path="images/code-review/pr-summary-comment.png" />
</Frame>

The summary includes:

* **Summary, tags, and time estimate:** A brief summary of the PR's intent, followed by tags (Bug fix, Tests, Enhancement, Documentation, or Configuration changes) and a time estimate, so reviewers can prioritize before opening a single file.
* **Walkthroughs:** A Description, Diagram, and High-Level Assessment that break down what changed, how, and why.
* **File Changes:** Modified files grouped by category, for a quick view of the change surface.

<Frame>
  <img src="https://mintcdn.com/qodo/05XeOC3OhxoI8lfW/images/code-review/code-review-file-changes-overview.png?fit=max&auto=format&n=05XeOC3OhxoI8lfW&q=85&s=f68fcf55663204f10a578d3cdda90d83" alt="Code review file changes overview showing modified file paths, change types, and lines added or removed" width="869" height="691" data-path="images/code-review/code-review-file-changes-overview.png" />
</Frame>

See [Comment anatomy](/code-review/comment-anatomy#high-level-context) for a full description of each section.

## Generate a PR summary

Qodo can generate a PR summary manually or automatically.

### Manually

Comment on the pull request:

`/agentic_describe`

Qodo acknowledges the request and posts the generated summary directly in the pull request.

### Automatically

Qodo generates a summary automatically when a pull request is opened or updated. This is the default behavior.

If you want to change the default behavior, use one of the following methods.

#### Configure in the Qodo portal (recommended)

1. Navigate to the Qodo portal > **Configurations** > **Code review**.
2. Set **PR summary trigger** to **Manual only** (generated using `/agentic_describe`) or **Published PRs** (generated automatically when a PR is published, default).

See [Configure Qodo using the portal](/install-and-configure/configuration-overview/portal-configuration#code-review) for more on portal configurations.

#### Configure in the .pr\_agent.toml file

See [Configure using .pr\_agent.toml](/install-and-configure/configuration-overview/configuration-file) to adjust this behavior.

## Configure the PR summary

### Set the location of the summary in the pull request

By default, Qodo posts the PR summary as a standalone comment and does not modify the pull request description. To publish it in the pull request description instead, or let Qodo choose dynamically, see [Comment location](/code-review/comment-location).

### Publish the review time estimate as a native label/tag

<div style={{ display: "flex", alignItems: "center", gap: "6px" }}>
  <Badge color="outline-provider" size="sm" shape="pill" icon="github">GitHub</Badge>
  <Badge color="outline-provider" size="sm" shape="pill" icon="gitlab">GitLab</Badge>
  <Badge color="outline-provider" size="sm" shape="pill"><AzureIcon />Azure DevOps</Badge>
</div>

As pull request volume grows, seeing the review effort directly in your Git provider's pull request list makes it easier to compare and triage which reviews to tackle first, without opening each one.

<Frame>
  <img src="https://mintcdn.com/qodo/LBjPBRUZYj2aTKvC/images/code-review/pr-list-review-time-estimate-labels.png?fit=max&auto=format&n=LBjPBRUZYj2aTKvC&q=85&s=c7afc43072a58456a676e59be5af115d" alt="GitHub pull request list showing review time estimate labels such as &#x22;Less than 10 minutes&#x22; and &#x22;10-20 Minutes&#x22; next to each pull request title" width="2934" height="930" data-path="images/code-review/pr-list-review-time-estimate-labels.png" />
</Frame>

1. Navigate to the Qodo portal > **Configurations** > **Code review**.
2. Under **PR Summary**, enable **Publish review time estimate label**.

Qodo then applies the review time estimate as a native pull request tag (Azure DevOps) or label (GitHub, GitLab), in addition to the estimate already displayed inside the summary. It's visible on the pull request and in the pull request list (for example, "10-20 Minutes"), without opening the summary. Disabled by default.

## Next steps

* [Configuration fundamentals](/install-and-configure/configuration-overview): Customize how and when summaries are generated.
* [Configure Qodo using the portal](/install-and-configure/configuration-overview/portal-configuration#code-review): Manage code review settings centrally from the Qodo portal Configurations page.
* [Comment anatomy](/code-review/comment-anatomy): Understand how Qodo structures findings in pull requests.
