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
JavaScriptdeepagentstypesDefaultDeepAgentTypeConfig
Interface●Since v1.4

DefaultDeepAgentTypeConfig

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

Copy
interface DefaultDeepAgentTypeConfig

Bases

DeepAgentTypeConfig

Properties

property
Context: AnyAnnotationRoot

The context schema type

property
Middleware: readonly AgentMiddleware<any, any, any, readonly ClientTool | ServerTool[]>[]

The middleware array type

property
Response: Record<string, any>

The structured response type when using responseFormat

property
State: undefined

The custom state schema type

property
Subagents: readonly SubAgent | CompiledSubAgent<ReactAgent<any> | Runnable<any, any, RunnableConfig<Record<string, any>>>>[]

The subagents array type for type-safe streaming

property
Tools: readonly ClientTool | ServerTool[]

The combined tools type from agent and middleware

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

PState: 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

View source on GitHub