← Memory, Context & State
Working Memory
Working memory refers to the subset of context the agent actively uses while reasoning through a specific step — typically the scratchpad, the most recent tool output, and the immediate task description. Drawing from cognitive science's model of human working memory, the concept highlights that even within a large context window, models attend more strongly to nearby tokens, making deliberate placement of critical information essential.