Build an AI code review bot in 30 minutes with Vercel Eve
- Host
- Claire Vo
- Date
TLDR
AI-generated code shifts the bottleneck from writing software to reviewing an expanding PR queue. The episode demonstrates a Vercel Eve agent, built largely in one Codex session, that evaluates PR risk across 6 dimensions, auto-approves low-risk changes, and escalates medium- and high-risk work to Slack for human action. The core operating model is not “AI replaces review,” but “AI filters routine review and concentrates human attention where risk is material.”
Key takeaways
AI-generated PR volume makes universal human review an inefficient default. The episode argues that teams embracing AI coding should not review every PR one-on-one, because the resulting queue contains many routine, low-risk changes. The proposed alternative is to let an agent assess evidence, approve changes below a defined risk threshold, and reserve human expertise for PRs involving meaningful security, operational, or architectural consequences.
Intercom’s review loop suggests AI can improve both speed and safety. Intercom reportedly increased PR throughput by 2x to 3x, with AI-approved PRs moving 5x faster than human-reviewed PRs. The company also saw lower revert rates and built labeling, tracing, and auditability into the process, supporting the claim that AI-written and AI-approved changes can be higher quality rather than merely faster.
SOC 2 compliance is compatible with automated approval when the process is governed and auditable. The episode rejects the assumption that a SOC 2 environment automatically prohibits AI-approved PRs. The relevant conditions are inclusion in risk and code-review policies, queryable evidence, defensible decisions, and coordination with security and compliance teams; ChatPRD still preserves repository rules requiring a human approval for final merge.
Vercel Eve reduces agent deployment to instructions, skills, tools, and managed connectors. Eve packages an agent as a directory containing natural-language instructions, code, and skills, then connects it to Slack and GitHub through Vercel connectors. Its sandbox can check out and execute repository code, while the underlying open-source chat SDK handles multi-channel bot complexity, including Slack configuration and manifests.
Codex plus Chrome browser use eliminated much of the setup work that previously made internal agents impractical. Claire started with a short request for a GitHub bot that reviews PRs after checks pass, assigns low, medium, or high risk, and approves low-risk changes. After steering it toward Eve, Codex generated most of the implementation, while Chrome browser use navigated Slack and GitHub permission screens and configured the required apps.
The bot’s workflow mirrors human review while making the decision boundary explicit. After CI checks pass, the GitHub event triggers Eve to start a sandbox, check out the repository, inspect the latest diff, run review skills and tools, publish evidence, and assign a risk decision. Low-risk PRs receive an approval, blocking requirements produce a request for changes, and other PRs generate a Slack escalation for human review.
Risk scoring should evaluate 6 dimensions rather than use diff size as a proxy for danger. Merge Mommy scores change surface and blast radius, reversibility, data security, operational impact, and verification gap, including whether tests and CI provide sufficient evidence. Its thresholds are below 24 for low risk, 25 to 64 for medium risk, and 65 or higher for high risk; repository-specific rules classify documentation as low risk and authentication or billing changes as high risk.
The practical design preserves a human control point without forcing humans to reread routine diffs. A Devin-authored documentation PR scored 6/10 and was blocked only by merge conflicts, while a stock change scored 7/10 and was auto-approved. A 35-change deprecation PR scored 45/100 because of code issues, large change surface, and changed server API behavior, so it required human review.
Internal agents need continuous evaluations just like customer-facing AI products. Intercom-style implementations log each review and ask engineers whether the agent’s decision and score were correct. That feedback loop lets the team refine scoring and instructions over time, which is especially important when the agent can approve code or influence production changes.
Insights and implications
The scarce resource in AI-native engineering becomes risk classification, not code production. Combining Intercom’s throughput gains with Eve’s automated triage implies that teams should design review systems around attention allocation: maximize the volume of changes that can be verified cheaply, then preserve senior engineering time for irreversible or poorly testable work. The organizational advantage comes from better routing, not simply from generating more PRs.
“Human in the loop” is more useful as an escalation policy than as a universal inspection requirement. Merge Mommy’s gray GitHub check and Slack notification show a deliberate split between automated analysis and human authorization. This pattern can preserve compliance and accountability while reducing review labor, provided the organization defines which evidence is sufficient for auto-approval and which risk categories always require a person.
The next control layer for internal agents is empirical calibration, not more prompt complexity. The bot uses only a few paragraphs of instructions and a small set of skills, yet its reliability is meant to improve through logged evals and engineer feedback. That suggests teams should first instrument decisions, outcomes, and reversions, then tune thresholds against real operating data rather than over-engineer the initial agent specification.