One of the reasons Software Engineers won't be replaced is the taste argument.
But you might ask, what taste is there to making software?
Well starters, there's such a thing as over engineering and agents do this a lot. You ask them to review something and they find flaws that are very much a case of a total nothing burger. They build without the experience that an actual engineer really brings.