Components of an AI Stack: Models, Memory, and Infrastructure