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
JavaScriptdeepagentsnodeSystemPromptConfig
Interface●Since v1.11

SystemPromptConfig

Structured system prompt configuration for createDeepAgent.

Prompt parts are assembled in the order prefix → base → suffix, followed by any model-specific harness profile suffix.

Copy
interface SystemPromptConfig

Properties

property
base: string | SystemMessage<MessageStructure<MessageToolSet>> | null

Replacement for the active base prompt.

Omit this field to retain the harness profile base or built-in base prompt. Set it to null to omit the base prompt entirely.

property
prefix: string | SystemMessage<MessageStructure<MessageToolSet>> | null

Content placed before the base prompt.

property
suffix: string | SystemMessage<MessageStructure<MessageToolSet>> | null

Content placed after the base prompt and before any harness profile suffix.

View source on GitHub