| Name | Type | Description |
|---|---|---|
url* | str | Base URL of the LangGraph server. |
graph_name | str | Default: 'agent'Name of the graph on the server. |
api_key | str | None | Default: NoneAPI key for authenticated deployments. When |
headers | dict[str, str] | None | Default: None |
Client that talks to a LangGraph server over HTTP+SSE.
Wraps langgraph.pregel.remote.RemoteGraph which handles SSE parsing,
stream-mode negotiation (messages-tuple), namespace extraction, and
interrupt detection. This class adds streamed message-object conversion for
the Textual adapter and thread-ID normalization. State snapshots are
returned as provided by the server.
Extra HTTP headers to include in every request (e.g. bearer tokens, proxy headers).