langgraph_agent_toolkit.core.memory.factory module

class langgraph_agent_toolkit.core.memory.factory.MemoryFactory[source][source]

Bases: object

Create memory backend instances.

static create(backend)[source][source]

Create and return a memory backend.

Parameters:

backend (MemoryBackends) – Memory backend type.

Returns:

Requested memory backend.

Raises:

ValueError – If the requested backend is unsupported.

Return type:

BaseMemoryBackend