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

StoreBackendOptions

Options for StoreBackend constructor.

Copy
interface StoreBackendOptions

Properties

property
namespace: string[]

Custom namespace for store operations.

Determines where files are stored in the LangGraph store, enabling user-scoped, org-scoped, or any custom isolation pattern.

If not provided, falls back to legacy behavior using assistantId from StateAndStore.

Copy
// User-scoped storage
new StoreBackend(stateAndStore, {
  namespace: ["memories", orgId, userId, "filesystem"],
});

// Org-scoped storage
new StoreBackend(stateAndStore, {
  namespace: ["memories", orgId, "filesystem"],
});
View source on GitHub