Working memory is a limited-capacity cognitive system responsible for the temporary storage and active manipulation of information necessary for complex tasks like reasoning, comprehension, and learning. In AI and agentic cognitive architectures, it is the computational analog to this human faculty, providing a transient, mutable state that holds task-relevant data, intermediate reasoning steps, and sub-goals during execution. This is distinct from long-term memory, which stores persistent knowledge.
