Skip to main content
AmigoFish

Build an AI code review bot in 30 minutes with Vercel Eve

From How I AI · · 24 min

This plays from the publisher's own server. We do not host a copy.

Open at the source

Not rated yet

Description

AI writes most of my code now, and that created a new problem: a PR queue I couldn’t keep up with. In this episode, I walk through how I built Merge Mommy, a Vercel Eve agent that reads every PR after checks pass, scores it across six risk dimensions, auto-approves the low-risk ones, and pings me in Slack for anything that needs a human. I built the whole thing in one Codex session, it’s SOC 2 compatible, and it’s already cleared my backlog.

What you’ll learn:

- Why AI-generated PRs create a review bottleneck and why the answer isn’t reviewing all of them

- How Intercom 5x’d PR approval speed and reduced revert rates by putting AI in the review loop

- Why Vercel Eve is the simplest framework I’ve found for deploying AI agents in Slack and GitHub

- How I built a full PR review agent in Codex with one prompt and a few steering turns

- The six components I use to score PR risk (blast radius, reversibility, data security, ops impact, verification gap, and change surface)

- How I used Chrome browser use to handle Slack bot and GitHub app configuration so I never had to click through setup screens manually

- Why auto-approved PRs can be SOC 2 compliant as long as the process is auditable, queryable, and in your risk policy

- How to set up Slack escalation so low-risk PRs become a two-click merge with no manual review

—

Brought to you by:

WorkOS (https://workos.com/?utm_source=lennys_howiai&utm_medium=podcast&utm_campaign=q22025)—Make your app Enterprise Ready today

—

In this episode, we cover:

(00:00) The PR review backlog problem nobody’s talking about

(02:35) Why you don’t have to review every AI-generated PR

(05:14) How Intercom built AI-approved PRs (and proved they’re safer)

(06:10) How the Eve framework works (directory, skills, channels, connectors)

(09:16) The Codex prompt I used to build the entire bot

(11:36) What the agent actually does: read, score, approve, or escalate

(13:07) Setting up your Eve agent

(15:47) The six-component risk scoring model

(17:23) Merge Mommy in action: three live PR examples

(21:10) Recap and how to build your own version

—

Tools referenced:

• Vercel Eve: https://vercel.com/eve

• Vercel AI SDK: https://sdk.vercel.ai/

• Vercel Chat SDK: https://chat-sdk.dev/

• Codex (OpenAI): https://openai.com/codex

—

Other references:

• AI is approving our pull requests: Here’s how we made it safe:https://www.intercom.com/blog/ai-is-approving-our-pull-requests-heres-how-we-made-it-safe/

—

Where to find Claire Vo:

ChatPRD: https://www.chatprd.ai/

Website: https://clairevo.com/

LinkedIn: https://www.linkedin.com/in/clairevo/

X: https://x.com/clairevo

—

Production and marketing by https://penname.co/. For inquiries about sponsoring the podcast, email jordan@penname.co.

Back to How I AI · Report a problem