Knowing which code to write (and not to write) is more important than generating lines of code. More code adds more debt.
AI agents generating millions of lines of code are not a net productivity gain if you don't take all the other factors into consideration.