What is short-term memory for an agent?
BeginnerConceptMemory & state
Answer
Short-term memory is the working context of the current task: the conversation so far, tool results and the plan. It lives in the context window and disappears when the task ends unless you save it.
More on Memory & state
Do LLMs remember previous conversations?BeginnerWhat is long-term memory for an agent?BeginnerHow do you stop conversation history from overflowing the context window?IntermediateWhat should an agent store in long-term memory?IntermediateWhat is agent state, and why persist it?IntermediateYour assistant contradicts what it said ten messages ago. What is happening?Intermediate