LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
LangGraph
  • Web
  • Channels
  • Pregel
  • Prebuilt
  • Remote
React SDK
Vue SDK
Svelte SDK
Angular SDK
LangGraph SDK
  • Ui
  • Client
  • Auth
  • React
  • Logging
  • React Ui
  • Utils
  • Server
LangGraph Checkpoint
LangGraph Checkpoint MongoDB
LangGraph Checkpoint Postgres
  • Store
LangGraph Checkpoint Redis
  • Shallow
  • Store
LangGraph Checkpoint SQLite
LangGraph Checkpoint Validation
  • Cli
LangGraph API
LangGraph CLI
LangGraph CUA
  • Utils
LangGraph Supervisor
LangGraph Swarm
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

LangGraph
WebChannelsPregelPrebuiltRemote
React SDK
Vue SDK
Svelte SDK
Angular SDK
LangGraph SDK
UiClientAuthReactLoggingReact UiUtilsServer
LangGraph Checkpoint
LangGraph Checkpoint MongoDB
LangGraph Checkpoint Postgres
Store
LangGraph Checkpoint Redis
ShallowStore
LangGraph Checkpoint SQLite
LangGraph Checkpoint Validation
Cli
LangGraph API
LangGraph CLI
LangGraph CUA
Utils
LangGraph Supervisor
LangGraph Swarm
Language
Theme
JavaScript@langchain/langgraphwebLangGraphRunnableConfig
Interfaceā—Since v0.3

LangGraphRunnableConfig

Copy
interface LangGraphRunnableConfig

Bases

RunnableConfig<ContextType>Partial<Runtime<ContextType, unknown, unknown>>

Used in Docs

  • Streaming
  • Use the functional API

Properties

Inherited fromRunnableConfig(langchain_core)

Attributes

Arun_nameAmax_concurrencyArecursion_limitArun_id
View source on GitHub
property
callbacks: Callbacks
property
configurable: ContextType
property
context: ContextType
property
executionInfo: ExecutionInfo
property
interrupt: (value: unknown) => unknown
property
maxConcurrency: number
property
metadata: Record<string, unknown>
property
recursionLimit: number
property
runId: string
property
runName: string
property
serverInfo: ServerInfo
property
signal: AbortSignal
property
store: BaseStore
property
tags: string[]
property
timeout: number
property
writer: (chunk: unknown) => void

User provided context

Read-only execution information/metadata for the current node run. Undefined before task preparation.

Interrupts the execution of a graph node.

This function can be used to pause execution of a node, and return the value of the resume input when the graph is re-invoked using Command. Multiple interrupts can be called within a single node, and each will be handled sequentially.

When an interrupt is called:

  1. If there's a resume value available (from a previous Command), it returns that value.
  2. Otherwise, it throws a GraphInterrupt with the provided value
  3. The graph can be resumed by passing a Command with a resume value

Because the interrupt function propagates by throwing a special GraphInterrupt error, you should avoid using try/catch blocks around the interrupt function, or if you do, ensure that the GraphInterrupt error is thrown again within your catch block.

The run ID for the current execution. Undefined when runId is not provided in the config.

Metadata injected by LangGraph Server. Undefined when running open-source LangGraph without LangSmith deployments.

Abort signal to cancel the run.

Optional long-term memory store for the graph, allows for persistence & retrieval of data across threads

Callback to send custom data chunks via the custom stream mode