About Fix with Augment
When Augment Code Review identifies issues in your pull request, you can use the “Fix with Augment” button to automatically address the issue. This feature gives you two options:- Open prompt in Thread: For VS Code only, allows you to copy the prompt and start a new thread inside the Augment Code extension
- IDE: Copy allows you to paste the prompt into your IDE with Augment Agent ready to fix it
- CLI: Copy allows you to paste the prompt into your terminal for auggie to fix it
How It Works
- Review Comments: Augment Code Review analyzes your PR and leaves inline comments on issues it finds
- Fix Button: A “Fix with Augment” button appears in the GitHub comment
- Choose Your Method:
- Click “COPY” in IDE or CLI to paste the open the issue in your preferred environment for the agent to fix
- Open Prompt in Thread (VS Code only)” to open a new thread with a pre-filled prompt for the agent to fix
- Apply Fix: Agent analyzes the issue and proposes a fix based on the review feedback
- Review and Commit: Review the proposed changes, accept them, and push to update your PR
Using Fix with Augment
Step 1: Find the Fix Button
When Augment Code Review leaves a comment on your PR, look for the “Fix with Augment” button at the bottom of the comment.The button appears on inline comments that identify specific issues in your code.
Step 2: Choose Your Method
Click the “Fix with Augment” button then select your environment:Put the Agent to Work
Open Augment in your preferred environment:- CLI: Run
auggiein your terminal and paste the prompt - IDE: Press
Copythen switch to your IDE. Inside Augment Code and start a new Agent thread. Paste the prompt.
Step 3: Review and Apply
Agent will:- Analyze the issue with full codebase context
- Propose a fix that addresses the review comment
- Show you a diff of the proposed changes
- Allow you to review and accept the changes
Best Practices
Review the Fix: Always review the changes proposed by Agent before accepting them. While Agent has full context, you should verify the fix aligns with your intent. Test the Changes: Run your tests after applying the fix to ensure the issue is resolved and no new issues are introduced. Update the PR: After pushing your fix, you can reply to the Code Review comment to indicate you’ve addressed the issue. Request Follow-up Review: If you make significant changes, consider requesting another review by commentingauggie review on your PR.
Availability
Fix with Augment is available when:- Your repository has Augment Code Review enabled
- Code Review has left inline comments on your PR
- Requires Augment extension installed in VS Code or JetBrains
- Works with Augment CLI, VS Code, or JetBrains
- No additional setup required beyond having Augment installed
Related Features
- Augment Code Review Overview - Learn about the full Code Review feature
- Augment Agent - Learn more about using Agent to implement changes
- Setup Guide for Enterprise - Configure Code Review for your organization