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
JavaScriptdeepagentsbackendsBackendRuntime
Interface●Since v1.8

BackendRuntime

Agent Runtime with state

Copy
interface BackendRuntime

Bases

Runtime$1

Properties

property
configurable: __type
property
context: unknown
property
interrupt: (value: unknown) => unknown
property
signal: AbortSignal
property
state: StateT

Current agent state with files, messages, etc.

property
store: BaseStore

Optional BaseStore for persistent cross-conversation storage

property
writer: (chunk: unknown) => void
View source on GitHub