> it’s not that far already

Do you have examples of (almost) entire software written by AI?

AI excels at make toy versions of software, prototypes and skeletons.

The closest things to fully functioning software created by AI that exists are all done by people that are experts in that particular field, ie software engineers.

First, define what you mean by "entirely written by AI."

If you mean a human has to provide the initial impetus or spec, then no, there is no software in the world entirely written by AI.

If you mean a human provides the impetus or spec and an AI takes care of the rest, this is happening. But it is expensive so this is only really happening at FAANGs and whatnot.