[KongchangAI]
ConceptLangGraph MemorySaver

MemorySaver

The default in-memory checkpoint store in LangGraph. It persists complete agent state snapshots using JSON serialization. While straightforward to use, it is prone to storage bloat and is suitable primarily for development and testing scenarios.

Core Facts

Timeline (last 90 days)

Sep 15

The default MemorySaver uses JSON serialization, serializes state field by field without deduplication or incremental compression, and each checkpoint contains the full history, which is the root cause of storage bloat.

Unverified50%
Sep 9

MemorySaver is one implementation of the checkpoint saver provided by LangGraph, which saves state in memory and is mainly used during development and testing.

Unverified50%
Jul 23

LangGraph officially provides three Checkpointer implementations: MemorySaver (in-memory, for development and testing only), SqliteSaver (SQLite file), and AsyncPostgresSaver (PostgreSQL, recommended for production).

Verified65%

All Facts (3)

Source Articles