A writer wouldn't want an AI agent writing their book because the end product is their writing. Readers actually care about the words and prose. That's what they are paying for after all. Users of a software program meanwhile want it to work as promised, that's it. The syntax, language, design patterns used, how elegant the code is etc. are all irrelevant. If an AI agent can write "better" code (in terms of meeting that promise) than a human programmer than that is objectively the right way forward.