Forty-five decision records and an AGENTS.md as signpost: how one Netflix team made its code fit for agents
At QCon San Francisco a Netflix engineer explained that the work lay not in the agents themselves but in documentation, fixed patterns and a review agent that reports only proven problems.
Mark Khuzam, a senior software engineer at Netflix, told the QCon San Francisco developer conference how his team spent the past year preparing the code behind the streaming service's commercial screens, from signup to billing, for coding agents. That emerges from the session description on the conference site and from a write-up InfoQ published on Monday. His argument: agents do well when there is one fixed way to do something and drift when there are several. A first trial, having an agent migrate tests, succeeded only on the fourth attempt, because the agent first needed to know which APIs to use and how to mock data.
The team therefore wrote 45 architecture decision records (ADRs), intended for both people and agents. Each contains the context, the decision, a good and a bad example, specific guidance for AI and links to documentation and code, and they sit in almost every repository. An AGENTS.md file serves as an index, comparable to robots.txt, so agents find the right page among more than 300 documents before their context window fills up. According to the session description, an agent's plans are checked against those decisions beforehand, and a separate agent updates the documentation after a merge so later sessions start with better information.
The classic pipeline of builds, tests, screenshot comparison, merge queues and canary releases stayed unchanged. On top of it, a review agent checks every pull request against the documentation and the ADRs. Its first version left 23 comments on a single pull request, InfoQ reports; it now flags only verified blocking problems, each with evidence, a suggested fix and the rule that was broken. With a revise label, an agent reads the review and pushes a fix to the same pull request itself. Nothing is merged automatically: the engineers remain responsible.
For work spanning several services, such as payments, billing and the gateway, the team rejected loading every repository, Git submodules and a Git MCP server that sees only one file at a time. It built a GraphRAG graph per domain from code, documentation and ADRs, pinned to specific commits and offered through a single MCP tool. Claude Code, Cursor, Codex, a Slack bot and the CI review all query the same graph, and every answer points to a file and line. Khuzam reported 32 percent more pull requests year on year, no top-severity incident on a core service in 2026 and a developer satisfaction score that rose from minus 3 to plus 25 over three quarters; InfoQ points out that those figures have not been independently verified.