PyTorch GreenLight Brings AI Code Review Approval to Maintainers
PyTorch now lets an AI reviewer approve pull requests from its own maintainers. This feature, called GreenLight, brings automated code review to an open-source project as big as PyTorch, and it stands out because the approach borrows from a Meta internal system.
GreenLight and RADAR at Meta
GreenLight is an open-source take on RADAR, the system Meta uses to auto-land low-risk diffs, meaning code changes that go straight into the codebase without waiting for manual approval. Before that happens, a change has to clear three stages: safety checks, a risk score, and an LLM review.
In other words, the AI doesn't hand out green lights blindly. Changes judged low-risk can get through faster, while everything else still needs human attention.
Meta isn't the only one heading this way
OpenAI, Anthropic, and Sonar have also described similar ways to automate approval. The pattern is the same: automation for safe changes, and humans keep the final call on risky ones.
If you maintain a repository with a growing pile of pull requests, this pattern is worth watching. The source doesn't spell out risk score thresholds or other technical details, but the direction of the industry is clear: AI review is starting to be trusted to approve code, as long as there are guardrails and humans stay involved where it matters most.
Source: infoq.com