# AI Agents for Performance: Ship Faster, Pay Less — Rajat Shah, Netflix

Source: [AI Engineer](https://www.youtube.com/watch?v=CgsWxRUY5Eo)  
Feed7 permalink: https://feed7.dev/p/ai-agents-for-performance-ship-faster-pay-less-rajat-shah-netflix-1c2tvq2  
Published: 2026-07-28T00:59:04.000Z  
Trust: Source Linked (source_linked)

## Why Included

Netflix’s performance-agent playbook feeds production profiles and exact deployed code to agents, then relies on canaries and engineers to validate proposed optimizations.

## Source Summary

Netflix found a hidden **quadratic-time pattern** by giving an agent call-stack profiling data, then locating the matching code at the production commit. The proposed workflow turns profiles into candidate fixes instead of relying only on manual flame-graph inspection.

## Practical Implication

Build a shared Git-backed catalog of observed performance patterns, and let coding or review agents consult it before inefficient code lands. A **stateful catalog plus a stateless LLM** can spread production lessons across services without requiring a vector database.

## Agent-Ready Context

Netflix found a hidden **quadratic-time pattern** by giving an agent call-stack profiling data, then locating the matching code at the production commit. The proposed workflow turns profiles into candidate fixes instead of relying only on manual flame-graph inspection.

Build a shared Git-backed catalog of observed performance patterns, and let coding or review agents consult it before inefficient code lands. A **stateful catalog plus a stateless LLM** can spread production lessons across services without requiring a vector database.

Treat the profiler as an estimate and the **canary as ground truth**; error rates and an engineer’s decision remain release gates. The talk favors fixed, level-two orchestration because greater autonomy demands more evaluation, sandboxing, and prompt-injection defenses.

## Context Map

- Layer: agent
- Domains: coding
- Topics: harness-engineering, agent-memory, agent-reliability

## Uncertainty

- Treat the profiler as an estimate and the **canary as ground truth**; error rates and an engineer’s decision remain release gates. The talk favors fixed, level-two orchestration because greater autonomy demands more evaluation, sandboxing, and prompt-injection defenses.

## Agent Instruction

Use this item as source-backed context. Do not invent claims beyond the linked source. If this item conflicts with another source, call out the conflict.
