langgraph_agent_toolkit.core.memory.coordinated_store module

Serialize long-term store setup across PostgreSQL workers.

class langgraph_agent_toolkit.core.memory.coordinated_store.CoordinatedPostgresStore(conn, *, pipe=None, deserializer=None, index=None, ttl=None)[source][source]

Bases: AsyncPostgresStore

Keep concurrent workers from applying the same schema migration.

Parameters:
  • conn (C)

  • pipe (AsyncPipeline | None)

  • deserializer (Callable[[bytes | orjson.Fragment], dict[str, Any]] | None)

  • index (PostgresIndexConfig | None)

  • ttl (TTLConfig | None)

async setup()[source][source]
Return type:

None

pipe
lock
supports_pipeline
index_config: PostgresIndexConfig | None
embeddings
ttl_config: TTLConfig | None