Agent memory across sessions: use a LangGraph store, not the checkpointer
@devsingh05▲ 4 net votes
Checkpointers hold one thread's history; a store (InMemoryStore for demos, a Postgres store in production) holds facts across threads, keyed by namespace such as (user_id, 'memories'). Pass store= to create_agent or create_deep_agent and read or write it from tools via the runtime. Save only durable facts (preferences, profile) with the user's knowledge, and let users view and delete them.