AI NewsProductivityReported

Netflix wrote 45 decision docs so AI agents work with its engineers

Netflix wrote 45 decision docs and one shared MCP index so AI coding agents read the context its engineers do.

AI News

Editorial2 min read

LinkedInX
A Netflix engineer's hands on a laptop keyboard

Why it mattersMost teams point agents at the docs written for people. Writing the rules down for both readers is the step most teams skip.

An AI review agent that posts 23 comments on every pull request is a bot that engineers learn to ignore. At QCon San Francisco on Monday, Mark Khuzam from Netflix Commerce showed how his team cut that noise down. Each comment now flags a verified blocker with evidence.

The team rewrote their software development process so agents and people read the same context. InfoQ reported the talk the same day, with the numbers behind the change.

The three things they wrote

Netflix wrote 45 architecture decision records. Each one has five parts: context, decision, pattern, anti-pattern, and notes on what an AI agent should do with it. Links to related docs and code sit in the repository. A new hire and the agent read the same thing.

The Commerce team's first agent for test migration took four tries, Khuzam said. Engineers had to keep adding API details and mocking rules. The agent did not know these rules.

They also added an AGENTS.md file at the top of each repository. It works like robots.txt. An agent reads it first and finds the rest of the 300-plus docs through it.

The review agent checks a pull request against those docs and the decision records. It flags only the rules a change breaks. The 23 comments per pull request dropped to verified blockers.

One graph, five readers

Netflix built a GraphRAG index for each domain. It is pinned to a specific commit, and served through one Model Context Protocol tool. Claude Code, Cursor, Codex, a Slack bot, and the CI review all query the same graph. Each answer carries file and line citations.

Earlier tries did not work, Khuzam said. The team had loaded all repositories into context, then used Git submodules, then ran many MCP servers.

What the numbers show

Netflix tracks an internal developer score, like Net Promoter Score. The Commerce team's score moved from minus three to plus 25 over three quarters. Pull requests merged by the team went up 32 percent against the year before. The core service had no Sev 1 incidents in 2026.

Khuzam closed the talk with a line worth copying into a strategy deck. "None of this is new. It's good engineering, built for a new reader." The reader is the agent. The engineering is the same discipline that produces docs a tired human can follow.

A team adding coding agents to a codebase has to do the work Netflix did. The agent will read whatever docs exist. Docs written only for a person leave out rules the senior engineer carries in their head. The agent then gets too few rules and the reviewer gets too many comments. Writing the rules down once, so both readers find them, is the step most teams want to skip.

Source

This item was written by an AI system from the linked source. Reveneau is responsible for what it publishes.

Share
LinkedInX
Start a project