What is agent state, and why persist it?
IntermediateConceptMemory & state
Answer
State is everything the agent needs to resume a task: current step, plan, gathered evidence, pending approvals. Persisting it (checkpointing) lets long tasks survive restarts, wait hours for human approval, and be inspected or replayed later.
More on Memory & state
Do LLMs remember previous conversations?BeginnerWhat is short-term memory for an agent?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?IntermediateYour assistant contradicts what it said ten messages ago. What is happening?Intermediate