LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Agent
  • Middleware
  • Backends
  • Sandboxes
  • Skills
  • Subagents
  • Configuration
  • 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

OverviewAgentMiddlewareBackendsSandboxesSkillsSubagentsConfigurationTypes
Modal
Daytona
Deno
Node VFS
Sandbox Standard Tests
Vitest
Language
Theme
JavaScriptdeepagentsindexDefaultDeepAgentTypeConfig
Interface●Since v1.4

DefaultDeepAgentTypeConfig

Copy
interface DefaultDeepAgentTypeConfig

Bases

DeepAgentTypeConfig

Properties

Inherited fromDeepAgentTypeConfig

Properties

PContext: AnyAnnotationRoot
—

The context schema type

PMiddleware: readonly AgentMiddleware<any, any, any, readonly ClientTool | ServerTool[]>[]
—

The middleware array type

PResponse: Record<string, any>
—

The structured response type when using responseFormat

View source on GitHub
P
State
: undefined
—

The custom state schema type

PSubagents: TSubagents
—

The subagents array type for type-safe streaming

PTools: readonly ClientTool | ServerTool[]
—

The combined tools type from agent and middleware

property
Context: AnyAnnotationRoot
property
Middleware: readonly AgentMiddleware<any, any, any, readonly ClientTool | ServerTool[]>[]
property
Response: Record<string, any>
property
State: undefined
property
Subagents: readonly SubAgent | CompiledSubAgent<ReactAgent<any> | Runnable<any, any, RunnableConfig<Record<string, any>>>>[]
property
Tools: readonly ClientTool | ServerTool[]

Default type configuration for deep agents. Used when no explicit type parameters are provided.

The context schema type

The middleware array type

The structured response type when using responseFormat

The custom state schema type

The subagents array type for type-safe streaming

The combined tools type from agent and middleware