We used Codex to generate a million lines of code for a software product in 5 months with a team of 7 engineers, achieving an average throughput of 3.5 PRs per engineer per day. To maintain the codebase, we focused on designing environments, scaffolding, and feedback loops that enable agents to do reliable work, enforcing invariants and mechanical rules to keep the codebase legible and consistent.