When LLMs Learn Memory, Reasoning, and Planning: The Three Core Capabilities of Language Agents 03-12