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
JavaScriptdeepagentsprofilesharnessGeneralPurposeSubagentConfig
Interface●Since v1.10

GeneralPurposeSubagentConfig

Copy
interface GeneralPurposeSubagentConfig

Properties

View source on GitHub
property
description: string
property
enabled: boolean
property
systemPrompt: string

Configuration for the auto-added general-purpose subagent.

All fields use three-state semantics: undefined inherits the default, an explicit value overrides it. This allows model-level profiles to selectively override provider-level defaults without clobbering fields they don't care about.

What this subagent does. The main agent uses this to decide when to delegate.

Whether to auto-add the general-purpose subagent.

  • undefined — inherit the default (enabled).
  • true — force inclusion even if a provider profile disables it.
  • false — disable the GP subagent entirely.

System prompt override. Set to null to disable. Defaults to ASYNC_TASK_SYSTEM_PROMPT.