Specification for an async subagent running on a remote LangGraph server.
Async subagents connect to LangGraph deployments via the LangGraph SDK. They run as background jobs that the main agent can monitor and update.
Authentication is handled via environment variables (LANGGRAPH_API_KEY,
LANGSMITH_API_KEY, or LANGCHAIN_API_KEY), which the LangGraph SDK
reads automatically.
AsyncSubAgent()Unique identifier for the async subagent.
What this subagent does.
The main agent uses this to decide when to delegate.
The graph name or assistant ID on the remote server.
URL of the LangGraph server (e.g., "https://my-deployment.langsmith.dev").
Omit to use ASGI transport for local LangGraph servers.
Additional headers to include in requests to the remote server.