You don't have to review every AI-generated PR
The speaker describes an AI agent framework that automatically reviews pull requests by scoring them across six risk factors using markdown-based instructions and skills. PRs are classified as low (0-24 points), medium (25-64), or high risk (65+), with only medium and high risk requiring human approval.
Summary
The speaker explains how to build AI review agents using a framework that relies on writing instructions and skills in markdown format. Once an agent reads the code in a pull request, it evaluates risk across six dimensions: the size of the change surface and blast radius, whether changes are easily reversible, whether the PR touches data security and if it addresses security concerns, whether it impacts operations, and the verification gap (whether tests are complete and CI has passed). The agent runs a script to calculate a composite risk score. The scoring system uses three tiers: low risk (0-24 points), medium risk (25-64 points), and high risk (65+ points). This tiered approach allows teams to skip human review for genuinely low-risk changes while ensuring that medium and high-risk PRs still receive human attention, making the review process more efficient.
Key Insights
- Creating AI review agents requires only writing instructions and skills, with markdown being particularly suitable for this purpose
- The agent evaluates risk across six specific dimensions including change surface size, reversibility, data security impact, operational changes, and verification completeness
- The framework uses a numerical scoring system where PRs below 24 points are considered low risk and automatically approved without human review
- Medium and high-risk PRs (25+ points) require human approval, creating a hybrid approach that eliminates unnecessary human review while maintaining safety gates
- Verification gaps are assessed by checking whether tests are complete and CI has passed, factoring into the overall risk calculation
Topics
Transcript
[0:00] Writing these agents is not that hard. It is literally just writing instructions and skills. That is what it takes to create an agent like this and that's why I like this e-framework cuz you can do a lot of it in markdown. And then once it reads the code, it scores the risk. And so it looks at six things. How big is the change surface and blast radius? Is it easily reversible? Does it touch data security and does it cover data security? Does it change anything about our operations? And verification gap is like are our tests complete? Did CI complete? Can we actually test a [0:31] couple ways that this is true? And then it…
Full transcript available for MurmurCast members
Sign Up to AccessMore from How I AI
Voice is the highest-bandwidth input channel for AI
Voice interaction with AI addresses the common problem of 'blank chat window syndrome' by enabling users to naturally dump context through speech rather than carefully constructed text prompts. Voice-to-voice AI interaction mirrors the experience of delegating to a human assistant, making it a higher-bandwidth and more natural way to communicate with LLMs.
ChatGPT voice doesn't just respond to you: it operates your computer in parallel
ChatGPT's voice interface can now operate a user's computer in parallel, handling tasks like booking flights and hotels in the background while the user continues with other work. The user demonstrates asking the AI to check their calendar, find travel options, and book accommodations for a Paris offsite, with the AI managing browser automation to complete these logistical tasks autonomously.
How this OpenAI engineer uses Codex + ChatGPT Work to automate everything
Nick Bowman from OpenAI demonstrates advanced use cases of ChatGPT and Codex, including voice-orchestrated multi-threaded task management, AI-powered website creation via ChatGPT artifacts, and automated video editing for content creation. He emphasizes how these tools are becoming accessible to non-technical users through mobile and voice interfaces.
How (and why) to build a personal API
The conversation explores the concept of personal APIs that store individual preferences like favorite restaurants and coffee orders, enabling others to make thoughtful gestures without asking. The discussion evolves to envision AI agents autonomously accessing these APIs to perform personalized tasks like making reservations.
Hacking an old pager with AI
A developer describes setting up an old pager as a Twitter notification device using modern cloud services. The system routes Twitter API events through Cloudflare Workers, Resend email service, and Gmail to finally deliver notifications to the pager's email address.