跳到主内容
@wquguru
精选70Lenny's Newsletter(RSS)产品与增长

用 Vercel Eve 30 分钟构建 AI 代码审查机器人

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

原文
发到 X

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.

Listen or watch on YouTube, Spotify, or Apple Podcasts

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—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/

• Review is the bottleneck now: How we let AI approve pull requests (safely): https://rewind.com/blog/ai-approve-pull-requests-safely/

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 [email protected].

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

相似阅读

另一事件,读法相近