AI isn't going to write all the software we need, it will only be capable of producing bits and pieces that make up some of the "completed" software. People cannot produce a thorough software requirements specification that will then be interpreted by an AI, and then the AI will spit out software that fits accurately to the specification. What we can do is divide the software specification into sets of algorithms and then ask the AI to write a software solution for each limited and specific algorithm.