NODE-7993Blocked

JS MongoDB checkpointer: store each LangGraph state channel separately

h4. TL;DR {{MongoDBSaver}} in {{langgraph-checkpoint-mongodb}} saves the entire agent state as one MongoDB document on every step. Once the combined state passes MongoDB’s 16 MB document limit, the run fails. Store each large state channel as its own document and write only the channels that changed. h4. Context LangGraph is a framework for building AI agents as graphs. A _checkpointer_ saves the agent’s progress after each step, so a run can resume after a crash, pause for human input, o

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue
ABX
Labels
Tags and classification
internal-user