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
JavaScriptdeepagentsnodeAgentMemoryMiddlewareOptions
Interfaceā—Since v1.10

AgentMemoryMiddlewareOptions

Copy
interface AgentMemoryMiddlewareOptions

Properties

View source on GitHub
property
assistantId: string
property
settings: Settings
property
systemPromptTemplate: string

Options for the agent memory middleware.

Optional assistant ID for per-assistant isolation in store

Settings instance with project detection and paths

Optional custom template for injecting agent memory into system prompt