Since you've mentioned AI why not go directly to machine code, i.e. assembly or even binary?
Check the overall layered architecture. That's nowhere AI. That's pure human ingenuity coupled with machine's raw horsepower to build on top.
And such people do need to read the code.
Given the fact that sometimes the architectures is included in the specifications for a project, I can accept that humans created the one for PhotoCraft.