Agent memory
State an agent carries between steps or sessions: short-term scratch state confined to the current agent loop, and longer-term memory persisted outside the prompt, such as a database or vector store, that survives after the conversation ends.
Why exams ask this
Tested as "why not just keep the whole conversation in the prompt forever." The distractor treats an ever-growing prompt as memory, which the exam flags because it gets more expensive per call and eventually blows the context window, long before it fails outright.
Relevant to
Related concepts
Resources
No resources linked to this concept yet.