Short-term memory is the conversation context; trim or summarize it as it grows.
Long-term memory stores facts, preferences and past outcomes outside the prompt (database or vector store) and retrieves relevant items when needed.
Keep task state (plan, completed steps, decisions) in a durable store so the agent can resume after a failure, and let users view, correct and delete what is remembered.
Loading…