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
JavaScriptdeepagentsAgent

Agent

The createDeepAgent function is the main entry point for creating deep agents.

Learn more: For tutorials and guides on building deep agents, see the Deep Agents documentation.

Functions

Function

createDeepAgent

Create a Deep Agent.

Interfaces

Interface

CreateDeepAgentParams

Configuration parameters for creating a Deep Agent

Interface

SubAgent

Specification for a subagent that can be dynamically created.

Interface

CompiledSubAgent

Type definitions for pre-compiled agents.

Types

Type

DeepAgent

DeepAgent extends ReactAgent with additional subagent type information.

Type

MergedDeepAgentState

Combined state type including custom middleware and subagent middleware states