Any finite intelligence will have limits and a "complexity budget". I know I see a lot of people assuming AI will just be able to do anything, but they can't escape the limits of being finite. An AI will benefit from a well-packaged library in a similar way to what a human can, though they may have meaningfully different preferences on what it should look like.