LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • LangGraph Checkpoint
    LangGraph Store
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    LangGraph Checkpoint
    LangGraph Store
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    Pythonlanggraph-clischemasCheckpointerConfig
    Class●Since v0.4

    CheckpointerConfig

    Copy
    CheckpointerConfig()

    Bases

    TypedDict

    Constructors

    Attributes

    View source on GitHub
    constructor
    __init__
    NameType
    pathstr
    ttlThreadTTLConfig | None
    serdeSerdeConfig | None
    attribute
    path: str

    Import path to an async context manager that yields a BaseCheckpointSaver instance.

    The referenced object should be an @asynccontextmanager-decorated function so that the server can properly manage the checkpointer's lifecycle (e.g. opening and closing connections).

    Examples:

    • "./my_checkpointer.py:create_checkpointer"
    • "my_package.checkpointer:create_checkpointer"

    When provided, this replaces the default checkpointer.

    You can use the langgraph-checkpoint-conformance package (https://pypi.org/project/langgraph-checkpoint-conformance/) to run simple conformance tests against your custom checkpointer and catch incompatibilities early.

    attribute
    ttl: ThreadTTLConfig | None

    Optional. Defines the TTL (time-to-live) behavior configuration.

    If provided, the checkpointer will apply TTL settings according to the configuration. If omitted, no TTL behavior is configured.

    attribute
    serde: SerdeConfig | None

    Optional. Defines the serde configuration.

    If provided, the checkpointer will apply serde settings according to the configuration. If omitted, no serde behavior is configured.

    This configuration requires server version 0.5 or later to take effect.

    Configuration for the built-in checkpointer, which handles checkpointing of state.

    If omitted, no checkpointer is set up (the object store will still be present, however).