AI-powered code review for pull requests and staged changes.
Review code with AI — either GitHub pull requests from Locus agents or your local staged changes.
Review open pull requests created by Locus agents:
locus review
This:
Finds unreviewed Locus-created PRs on GitHub
Analyzes the changes using your AI provider
Posts the review
Requires the GitHub CLIarrow-up-right (gh) to be installed and authenticated.
gh
Review your staged git changes without GitHub:
locus review local
This analyzes your staged changes and generates a review report saved to .locus/reviews/.
.locus/reviews/
--api-key <KEY>
API key
From config
--workspace <ID>
Workspace ID
Auto-resolved
--model <MODEL>
AI model
--provider <PROVIDER>
AI provider
--api-url <URL>
API base URL
--dir <PATH>
Project directory
Current directory
Last updated 33 minutes ago