What is it?
Memory and state are ways an AI agent keeps track of information while it works and across interactions.
State = current task information. Memory = information retained or retrieved beyond the immediate step. Context Window = what the model can currently see.