InMemorySaver is a LangGraph checkpointer for keeping graph-state snapshots in process memory. It helps a conversational graph continue from earlier turns instead of starting with an empty state. section 10.3.1
Remembering a user’s name
A first message such as “Hi, my name’s Bob” is saved under thread ID 1. A later “What’s my name?” uses the same thread and can continue with the earlier messages. section 10.3.1
