René's URL Explorer Experiment


Title: remote_client | deepagents_code | LangChain Reference

Open Graph Title: remote_client | deepagents_code

X Title: remote_client | deepagents_code

Description: Python API reference for remote_client in deepagents_code. Part of the LangChain ecosystem.

Open Graph Description: Python API reference for remote_client in deepagents_code. Part of the LangChain ecosystem.

X Description: Python API reference for remote_client in deepagents_code. Part of the LangChain ecosystem.

Opengraph URL: https://reference.langchain.com/python/deepagents-code/remote_client

direct link

Domain: reference.langchain.com

og:imagehttps://reference.langchain.com/og/python/deepagents-code/remote_client
og:image:width1200
og:image:height630
og:image:altremote_client | deepagents_code
og:typearticle
twitter:cardsummary_large_image
twitter:imagehttps://reference.langchain.com/og/python/deepagents-code/remote_client

Links:

LangChain Reference home pagehttps://reference.langchain.com/
GitHubhttps://github.com/langchain-ai
Main Docshttps://docs.langchain.com/oss/python/deepagents
Deep Agentshttps://reference.langchain.com/python/deepagents
LangChainhttps://reference.langchain.com/python/langchain/overview
LangGraphhttps://reference.langchain.com/python/langgraph/overview
Integrationshttps://reference.langchain.com/python/integrations/overview
LangSmithhttps://reference.langchain.com/python/langsmith
Deep Agents Codehttps://reference.langchain.com/python/deepagents-code
Deep Agents Codehttps://reference.langchain.com/python/deepagents-code
deepagents-codehttps://reference.langchain.com/python/deepagents-code
attributeloggerhttps://reference.langchain.com/python/deepagents-code/remote_client/logger
functionagent_error_typeBest-effort error-type name for an exception from RemoteAgent.astream. The LangGraph server serializes non-allowlisted exceptions as {"error": , "message": ...} wrapped in RemoteException(payload) (see langgraph_api.serde). The server-reported "error" type is the authoritative name when present; otherwise the exception's own class name is used. This is the single source of truth for "what error did the stream report" — both format_agent_exception (display string) and the UI's error-enrichment path (error-type dispatch) read it.https://reference.langchain.com/python/deepagents-code/remote_client/agent_error_type
functionformat_agent_exceptionRender an exception from RemoteAgent.astream for the UI. The LangGraph server serializes non-allowlisted exceptions as {"error": , "message": } (see langgraph_api.serde). RemoteGraph wraps that dict in RemoteException(payload), so the default str(exc) renders as an ugly Python dict repr in the UI.https://reference.langchain.com/python/deepagents-code/remote_client/format_agent_exception
classRemoteAgentClient 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.https://reference.langchain.com/python/deepagents-code/remote_client/RemoteAgent
View source on GitHubhttps://github.com/langchain-ai/deepagents/blob/019900734024a7665fd65bd75235c6307d5da003/libs/code/deepagents_code/remote_client.py

Viewport: width=device-width, initial-scale=1


URLs of crawlers that visited me.