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

    assistants

    Async client for managing assistants in LangGraph.

    Attributes

    Classes

    Type Aliases

    View source on GitHub
    attribute
    AssistantSelectField: Literal['assistant_id', 'graph_id', 'name', 'description', 'config', 'context', 'created_at', 'updated_at', 'metadata', 'version']
    attribute
    AssistantSortBy: Literal['assistant_id', 'graph_id', 'name', 'created_at', 'updated_at']
    attribute
    OnConflictBehavior: Literal['raise', 'do_nothing']
    attribute
    SortOrder: Literal['asc', 'desc']
    attribute
    Subgraphs: dict[str, GraphSchema]
    class
    HttpClient
    class
    Assistant
    class
    AssistantsSearchResponse
    class
    AssistantVersion
    class
    Config
    class
    GraphSchema
    class
    AssistantsClient
    typeAlias
    Context: TypeAlias
    typeAlias
    Json: dict[str, Any] | None
    typeAlias
    QueryParamTypes: Mapping[str, PrimitiveData | Sequence[PrimitiveData]] | list[tuple[str, PrimitiveData]] | tuple[tuple[str, PrimitiveData], ...] | str | bytes

    The field to sort by.

    Specifies behavior on conflict:

    • "raise": Raise an exception when a conflict occurs.
    • "do_nothing": Ignore conflicts and proceed.

    The order to sort by.

    Handle async requests to the LangGraph API.

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

    Represents an assistant with additional properties.

    Paginated response for assistant search results.

    Represents a specific version of an assistant.

    Configuration options for a call.

    Defines the structure and properties of a graph.

    Represents a JSON-like structure, which can be None or a dictionary with string keys and any values.

    Client for managing assistants in LangGraph.

    This class provides methods to interact with assistants, which are versioned configurations of your graph.

    Example
    client = get_client(url="http://localhost:2024")
    assistant = await client.assistants.get("assistant_id_123")