Memory In Context Of LangGraph And AI Agent. In LangGraph, you can think of memory from two main perspectives: 1. Thread scoped memory / Short term memory. 2. Cross session / Cross thread memory / Long term memory. 1. Thread Scoped Memory or Short term Memory. This store information or data of a single chat session between human and an AI agent.