Introduction
Augment Code Review provides a native GitHub experience for reviewing pull requests. With Augment Code’s extension and Auggie CLI, writing code is no longer the bottleneck—reviewing is. Code Review helps developers complete reviews faster while reducing bugs that reach production.Getting Started
Your plan Enterprise Administrator can configure Augment Code Review to review automatically, or you can request a review by commenting on your PR.- Automatic Review on PR Opened: Augment Code Review will automatically review and post a comment as soon as the PR is opened in GitHub. Use it when your teams want immediate feedback on all pull requests.
- Request Review by Manual command: Trigger a review by commenting on the PR with any of the following:
auggie review,augment review, oraugmentcode review. Augment Code Review will add 👀 to the comment so you know it is reviewing the PR. If Code Review finds an issue, it will leave a comment. If no issues are found, you’ll see a comment saying “Review completed. No suggestions at this time.” - Disabled: Turn off Augment Code Review for a specific repository.
How Augment Code Review Gathers Context
Code Review provides high-quality reviews by gathering context from multiple sources: PR Contents: The agent analyzes the complete code diff to understand what changed and why. Entire Repository: Through Augment’s Context Engine, the agent has access to your full codebase, enabling it to identify cross-system impacts and maintain consistency with existing patterns. PR Title and Description: More detailed PR descriptions help the agent provide better, more targeted reviews. Include information about:- What the PR accomplishes
- Why the changes were made
- Any special considerations or context
.augment/code_review_guidelines.yaml help the agent focus on what matters most to your team. See the Admin Guide for details on configuring guidelines.
MCP Tools: Integration with Model Context Protocol tools will provide additional context sources and capabilities.
Review Quality and Focus
Augment Code Review prioritizes high signal-to-noise ratio by focusing on high-impact issues:- Bugs: Logic errors, edge cases, and potential runtime issues
- Security concerns: Vulnerabilities, unsafe operations, and data exposure risks
- Correctness: Null handling and error management
- Cross-system problems: Breaking changes, API compatibility, and integration issues
Best Practices
Write detailed PR descriptions: The more context you provide in your PR title and description, the better the agent can understand your intent and provide relevant feedback. Use custom guidelines: Define repository-specific review guidelines to help the agent focus on your team’s priorities and domain-specific concerns. Provide feedback: Give feedback on comments using the thumbs up emoji to indicate whether the comment is useful or thumbs down if the comment was not helpful. Ask for a follow-up review: If you make significant changes to the PR and want another review, then ask for a follow-up review by commenting on your PR with the same comments as a manual request:auggie review, augment review, or augmentcode review. The agent will add 👀 to the comment so you know it is reviewing the PR.