If all code is written by AI Agents, do we still need frameworks?

React, Rails, Django, Tailwind — they were all optimized for humans. But what if humans are no longer the ones writing the code?