Skip to main content

Overview

Code review with Forge uses multiple AI agents as additional reviewers, each bringing different perspectives. Combine human judgment with AI analysis to catch more issues and ship higher quality code.

The Multi-Agent Review Process


Step 1: Prepare for Review

Before requesting review, ensure your PR is review-ready. ###Pre-Review Checklist

Step 2: Multi-Agent Review

Use different AI agents to review from different angles.
Claude excels at:
  • Security vulnerabilities
  • Logic errors
  • Edge cases
  • Complex algorithms

Step 3: Run Reviews in Parallel

Execute all reviews simultaneously for faster feedback.

Step 4: Aggregate Feedback

Collect and organize feedback from all agents.

Example Review Aggregation

Aggregated Report Structure:

Step 5: Address Feedback

Create tasks to address review feedback.

Review Patterns for Different PR Types

Review Focus:
  • Feature completeness
  • Test coverage
  • Security implications
  • Performance impact
  • Documentation

Specialized Review Agents

Create custom review agents for specific needs.

Creating a Custom Reviewer

Using Custom Reviewers


Review Automation

Auto-Review on PR Creation

GitHub Integration

Example Auto-Comment:
Issue: User input is directly interpolated into SQL query. Fix:

Reviewed by Automagik Forge • View Full Report
Metrics tracked:
  • Issues caught by AI vs humans
  • False positive rate
  • Severity distribution
  • Time to fix

Agent Performance

Compare agent effectiveness:
Comparison:
  • Claude: Best at security, logic
  • Gemini: Best at performance
  • Cursor: Best at patterns

Review Coverage

Track review metrics:
Metrics:
  • Files reviewed per PR
  • Lines of code reviewed
  • Review time per PR
  • Issues found per KLOC

Real-World Example: Complete PR Review

Large Feature PR Review Workflow

1

Initial Automated Review

2

Address Critical Issues

3

Human Review

4

Final Approval


Pro Tips

Let AI catch the obvious issues first:

Next Steps

Team Collaboration

Coordinate reviews across teams

CI/CD Integration

Automate reviews in your pipeline

Custom Agents

Create specialized review agents

GitHub Integration

Set up GitHub PR integration

Remember: AI agents are additional reviewers, not replacements for human judgment. They catch common issues quickly, freeing humans to focus on architecture, business logic, and user experience.