class langgraph_agent_toolkit.core.memory.base.BaseMemoryBackend[source][source]

Bases: ABC

Base class for memory backends.

abstractmethod validate_config()[source][source]

Validate that all necessary configuration is set.

Returns:

True if configuration is valid

Raises:

ValueError – If required configuration is missing

Return type:

bool

abstractmethod get_checkpoint_saver()[source][source]

Get the checkpoint saver for the memory backend.

Returns:

A configured checkpoint saver

Return type:

AbstractAsyncContextManager[T]

abstractmethod get_memory_store()[source][source]

Get the memory store for the memory backend.

Returns:

A configured memory store

Return type:

AbstractAsyncContextManager[T]