Second-order Theory of Mind (ToM) is the cognitive capacity to attribute mental states about mental states, enabling an understanding of what one agent believes another agent believes, knows, or intends. For example, it allows an AI to model that 'Alice believes that Bob believes the treasure is in the cave.' This recursive mental state attribution is fundamental for strategic reasoning, deception, and sophisticated cooperation, moving beyond simple first-order belief attribution ('Alice believes X').
