Managing Code Reviews
Once you've set up Code Review, you can customize settings and monitor performance from the Agent tab in your dashboard. This is your central hub for managing which repositories get reviewed, tracking costs, and analyzing how reviews are performing.
You might want to control which repositories receive automatic reviews, especially when you're testing Code Review for the first time or managing costs across a large organization.
To choose which repositories get reviewed:
- Go to the Agent tab in your dashboard.
- Click the … button, and then select Settings to view the Vercel Agent settings.
- Under Repositories, choose which repositories to review:
- All repositories (default): Reviews every repository connected to your Vercel projects
- Public only: Only reviews publicly accessible repositories
- Private only: Only reviews private repositories
- Click Save to apply your changes.
These settings help you start small with specific repos or focus on the repositories that matter most to your team.
By default, Code Review skips draft pull requests since they're often work-in-progress. You can enable draft reviews if you want early feedback even on unfinished code.
To enable reviews on draft PRs:
- Go to the Agent tab in your dashboard.
- Click the … button, and then select Settings to view the Vercel Agent settings.
- Under Review Draft PRs, select Review draft PRs.
- Click Save to apply your changes.
Enabling this setting means you'll use credits on drafts, but you'll get feedback earlier in your development process.
You can monitor your spending in real time to manage your budget. The Agent tab shows the cost of each review and your total spending over a given period.
For detailed information about tracking costs, viewing your credit balance, and understanding cost breakdowns, see the cost tracking section in the pricing docs.
The Agent tab also shows you the total number of suggestions over a given period, as well as the number of suggestions for each individual review.
To view suggestions:
- Go to the Agent tab.
- Check the Suggestions column for each review.
A high number of suggestions might indicate complex changes or code that needs more attention. A low number might mean your code is already following best practices, or the changes are straightforward.
Understanding how Code Review performs helps you optimize your setup and get the most value from your credits.
The Agent tab provides several metrics for each review:
- Repository: Which repository was reviewed
- PR: The pull request identifier (click to view the PR)
- Suggestions: Number of code changes recommended
- Review time: How long the review took to complete
- Files read: Number of files the AI analyzed
- Spend: Total cost for that review
- Time: When the review occurred
Use this data to identify patterns:
- Expensive reviews: If certain repositories consistently have high costs, consider whether they need special handling or different review settings
- Long review times: Reviews taking longer than expected might indicate complex codebases or large PRs that could benefit from smaller, incremental changes
- High file counts: Repositories with many files analyzed might benefit from more focused review scopes
You can export all your review data to CSV for deeper analysis, reporting, or tracking trends over time.
To export your data:
- Go to the Agent tab.
- Click the Export button.
- Save the CSV file to your computer.
The exported data includes all metrics from the dashboard, letting you:
- Create custom reports for your team or stakeholders
- Analyze trends across multiple repositories
- Calculate ROI by comparing review costs to time saved
- Track adoption and usage patterns over time
If you need to turn off Vercel Agent completely, you can disable it from the Agent tab. This stops all reviews across all repositories.
To disable Vercel Agent:
- Go to the Agent tab in your dashboard.
- Click the … button, and then select Disable Vercel Agent.
- Confirm the action in the prompt that appears.
Once disabled, Code Review won't run on any new pull requests. You can re-enable Vercel Agent at any time from the same menu.
Was this helpful?