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-sdk_asyncstore
    Module●Since v0.3

    store

    Async Store client for LangGraph SDK.

    Classes

    Type Aliases

    View source on GitHub
    class
    HttpClient
    class
    Item
    class
    ListNamespaceResponse
    class
    SearchItemsResponse
    class
    StoreClient
    typeAlias
    QueryParamTypes: Mapping[str, PrimitiveData | Sequence[PrimitiveData]] | list[tuple[str, PrimitiveData]] | tuple[tuple[str, PrimitiveData], ...] | str | bytes

    Handle async requests to the LangGraph API.

    Adds additional error messaging & content handling above the provided httpx client.

    Represents a single document or data entry in the graph's Store.

    Items are used to store cross-thread memories.

    Response structure for listing namespaces.

    Response structure for searching items.

    Client for interacting with the graph's shared storage.

    The Store provides a key-value storage system for persisting data across graph executions, allowing for stateful operations and data sharing across threads.

    Example
    client = get_client(url="http://localhost:2024")
    await client.store.put_item(["users", "user123"], "mem-123451342", {"name": "Alice", "score": 100})