Actually, AI's do need code to be pretty. It's becoming widely accepted that whatever is good for humans -- modular code, tests, docs, linters, fast feedback loops -- is good for agents.
I keep repeating this, but the latest data from large-scale dev reports like DORA 2025 and DX find that AI is simply an amplifier of your engineering culture: Teams with strong software engineering discipline enjoy increased velocity with fewer outages, whereas teams with weak discipline suffer more outages.
About the only thing they need (for now) is architectural guidance and spot-checking of results. But then how many architects does any given company need?