Skip to main content
LangGraph v1.0Welcome to the new LangGraph documentation! If you encounter any issues or have feedback, please open an issue so we can improve. Archived v0 documentation can be found here.See the release notes and migration guide for a complete list of changes and instructions on how to upgrade your code.
You are attempting to use built-in LangGraph persistence without providing a checkpointer. This happens when a checkpointer is missing in the compile() method of StateGraph or @[@entrypoint].

Troubleshooting

The following may help resolve this error:
  • Initialize and pass a checkpointer to the compile() method of StateGraph or @[@entrypoint].
import { InMemorySaver, StateGraph } from "@langchain/langgraph";
const checkpointer = new InMemorySaver();

// Graph API
import { StateGraph } from "@langchain/langgraph";
const graph = new StateGraph(...).compile({ checkpointer });

// Functional API
import { entrypoint } from "@langchain/langgraph";
const workflow = entrypoint(
    { checkpointer, name: "workflow" },
    async (messages: string[]) => {
        // ...
    }
);
  • Use the LangGraph API so you don’t need to implement or configure checkpointers manually. The API handles all persistence infrastructure for you.

Connect these docs to Claude, VSCode, and more via MCP for real-time answers. See how
I