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
JavaScriptdeepagentsmiddlewareAsyncSubAgentMiddlewareOptions
Interface●Since v1.9

AsyncSubAgentMiddlewareOptions

Options for creating async subagent middleware.

Copy
interface AsyncSubAgentMiddlewareOptions

Properties

property
asyncSubAgents: AsyncSubAgent[]

List of async subagent specifications. Must have at least one.

property
systemPrompt: string | null

Optional system prompt override. Tool schemas provide the built-in guidance.

View source on GitHub