# How Netflix Uses AI Agents for Performance Engineering

DevFeed: [How Netflix Uses AI Agents for Performance Engineering](<https://devfeed.tech/articles/how-netflix-uses-ai-agents-for-performance-engineering-116552.md>)

Original publisher: [Read original article](<https://blog.bytebytego.com/p/how-netflix-uses-ai-agents-for-performance>)

Author: ByteByteGo

Published: 2026-11-03T16:31:10Z

Content type: article

Language: en

Sources: [ByteByteGo](<https://devfeed.tech/sources/bytebytego.md>)

Topics: [performance-engineering](<https://devfeed.tech/topics/performance-engineering.md>), [Production Engineering](<https://devfeed.tech/topics/production-engineering.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [Test-driven development](<https://devfeed.tech/topics/tdd.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [22](<https://devfeed.tech/tags/22.md>), [about](<https://devfeed.tech/tags/about.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [article](<https://devfeed.tech/tags/article.md>), [autonomous](<https://devfeed.tech/tags/autonomous.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [learning](<https://devfeed.tech/tags/learning.md>), [more](<https://devfeed.tech/tags/more.md>), [netflix](<https://devfeed.tech/tags/netflix.md>), [performance](<https://devfeed.tech/tags/performance.md>), [performance-engineering](<https://devfeed.tech/tags/performance-engineering.md>), [system](<https://devfeed.tech/tags/system.md>), [team](<https://devfeed.tech/tags/team.md>), [this](<https://devfeed.tech/tags/this.md>), [uses](<https://devfeed.tech/tags/uses.md>), [we-ll](<https://devfeed.tech/tags/we-ll.md>)

## AI overview

Netflix's performance agents analyze profiling data within application package boundaries, identify known code-level inefficiencies, and propose fixes. The excerpt reports examples including quadratic map accumulation linked to 8.8% CPU use, regex sanitization consuming 46% of CPU and becoming 22 times faster after replacement, repeated object allocation contributing to 47% of heap collections, and metric lookups consuming 66% of CPU. Proposed changes must pass existing tests, then run in a production canary against a baseline; telemetry is checked without an AI model, and a human reviews the resulting PR. Netflix also describes a Markdown Pattern Catalog shared across teams: production discoveries can be added to it, while CI can match new code against catalog patterns and ask an LLM to comment on likely inefficiencies before merge. The excerpt calls this orchestration the current maturity level and presents full autonomous optimization as a future vision.

## Source excerpt

The Netflix engineering team has developed an autonomous performance agent system. In this article, we'll be learning more about it.