<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>AI Agents for Performance: Ship Faster, Pay Less — Rajat Shah, Netflix</title>
        <link>https://video.ut0pia.org/videos/watch/2d4b05d0-6b4b-4d14-8dcc-8ab1649c3eca</link>
        <description>An inefficient quadratic-time pattern was hiding inside a tensor merge method on a live Netflix service, quietly wasting CPU on every request - nothing in a code review caught it, but it stood out clearly in a call stack. That's usually how this kind of waste gets missed - the normal process of catching it (profiling, reading a flamegraph, tracing it through the codebase, writing a fix, validating it) takes long enough that inefficiencies sit in production for months before anyone looks at them. AI-assisted coding adds to this, since it produces more code optimized for how fast it's written, not how fast it runs. Rajat Shah's team at Netflix built an agent to handle this loop: it took a call stack, traced the issue to the exact source line, proposed a fix, and validated it against a canary - a real production traffic split, with no regression allowed before it could ship. The result was based on measured outcomes, not the model's own assessment. The talk covers what it took to get an agent to a point where it could act in production, and walks through this specific case from start to finish - found, fixed, and confirmed by canary without anyone stepping in. It also covers what's next: the same pattern turned up independently in seven other services in one session, which is why it makes sense to build a shared catalog of patterns like this so they aren't rediscovered each time, and which could eventually be used to catch these issues in coding agents before the code ships at all. We'll also share the approach itself - how it was built, what it took to trust it, and what it caught - so other teams can adopt the same loop in their own SDLC rather than starting from scratch. Speaker info: https://www.linkedin.com/in/rajatsshah/, https://github.com/shahrajat, https://shahrajat.com/, Timestamps: 0:00 - Introduction: performance for ML serving 2:24 - The manual profiling loop today 4:46 - The experiment: can an LLM read a profile? 7:37 - From call stack to the exact method 9:07 - How the agent locates and reads the code 11:01 - First finding: an O(N) fix, canary confirmed 12:41 - The same antipattern across seven services 15:31 - Building a shared pattern catalog 17:16 - Storing and sharing findings across services 19:40 - Feeding the catalog to coding agents 20:56 - Human approval and verification 22:13 - Canary validation on real traffic 24:18 - Reactive vs proactive paths 26:54 - Catching waste before production 29:32 - Autonomy levels and what is next</description>
        <lastBuildDate>Tue, 28 Jul 2026 14:10:55 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>PeerTube - https://video.ut0pia.org</generator>
        <image>
            <title>AI Agents for Performance: Ship Faster, Pay Less — Rajat Shah, Netflix</title>
            <url>https://video.ut0pia.org/lazy-static/avatars/0287a09a-aae7-4840-9843-b416426e7046.webp</url>
            <link>https://video.ut0pia.org/videos/watch/2d4b05d0-6b4b-4d14-8dcc-8ab1649c3eca</link>
        </image>
        <copyright>All rights reserved, unless otherwise specified in the terms specified at https://video.ut0pia.org/about and potential licenses granted by each content's rightholder.</copyright>
        <atom:link href="https://video.ut0pia.org/feeds/video-comments.xml?videoId=2d4b05d0-6b4b-4d14-8dcc-8ab1649c3eca" rel="self" type="application/rss+xml"/>
    </channel>
</rss>