Open Agent School · Public worked example

Working Memory: The Active Workspace: meaning and example

Welcome! Take one idea with you today.

An agent’s working memory is the information actively available for the current step: its goal, recent results, relevant evidence and temporary notes. Capacity matters: a model can only receive a bounded context, and useful attention is not guaranteed just because text fits. External state may be larger than what is supplied to one model call.

Picture it: The agent is comparing train tickets, not buying one. Old search pages can be stored elsewhere. Message: "Goal: compare two options. Budget: 80 units. Do not purchase."

What is easy to mix up?

Only information supplied or retrieved into the current call is available through that context. Storage capacity and active context capacity are different.

Teaching example by Open Agent School. Source: LangChain - Agent memory: working state, semantic, episodic and procedural memory.