LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Agent
  • Middleware
  • Backends
  • Sandboxes
  • Skills
  • Subagents
  • Types
Modal
Daytona
Deno
Node VFS
Sandbox Standard Tests
  • Vitest
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewAgentMiddlewareBackendsSandboxesSkillsSubagentsTypes
Modal
Daytona
Deno
Node VFS
Sandbox Standard Tests
Vitest
Language
Theme
JavaScriptdeepagentsbrowserDeepAgentRunStream
Type●Since v1.10

DeepAgentRunStream

An AgentRunStream whose subagents projection is narrowed to the deep agent's declared subagents.

This is a pure type overlay — no runtime class exists. The subagents iterable is populated by the SubagentTransformer that createAgent registers (langchain#37739); this overlay only refines its element type from the generic SubagentRunStream to the typed SubagentRunStreamUnion.

Copy
DeepAgentRunStream: Omit<AgentRunStream<TValues, TTools, TExtensions>, "subagents">  __type
View source on GitHub