LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
LangGraph
  • Web
  • Channels
  • Pregel
  • Prebuilt
  • Remote
  • Stream
LangGraph SDK
  • Ui
  • Client
  • Auth
  • React
  • Logging
  • React Ui
  • Utils
  • Server
  • Stream
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
WebChannelsPregelPrebuiltRemoteStream
LangGraph SDK
UiClientAuthReactLoggingReact UiUtilsServerStream
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/langgraph-checkpointindexMemoryStore
Class●Since v0.0Deprecated

MemoryStore

Copy
class MemoryStore

Bases

InMemoryStore

Used in Docs

  • Persistence
  • Stores

Constructors

Properties

Methods

Inherited fromInMemoryStore

Properties

PindexConfig: IndexConfig | undefined

Methods

Mbatch→ Promise<OperationResults<Op>>
—

Execute multiple operations in a single batch.

Mdelete→ Promise<void>
—

Delete an item from the store.

View source on GitHub
M
get
→ Promise<Checkpoint<string, string> | undefined>
MlistNamespaces→ Promise<string[][]>
—

List and filter namespaces in the store.

Mput→ Promise<RunnableConfig<Record<string, any>>>
Msearch→ Promise<Item[]>
—

Search for items within a namespace prefix.

Mstart
—

Start the store. Override if initialization is needed.

Mstop→ Promise<void>
—

Stop the store. Override if cleanup is needed.

Inherited fromBaseStore

Methods

Mbatch→ Promise<OperationResults<Op>>
—

Execute multiple operations in a single batch.

Mdelete→ Promise<void>
—

Delete an item from the store.

Mget→ Promise<Checkpoint<string, string> | undefined>MlistNamespaces→ Promise<string[][]>
—

List and filter namespaces in the store.

Mput→ Promise<RunnableConfig<Record<string, any>>>Msearch→ Promise<Item[]>
—

Search for items within a namespace prefix.

Mstart
—

Start the store. Override if initialization is needed.

Mstop→ Promise<void>
—

Stop the store. Override if cleanup is needed.

constructor
constructor
property
indexConfig: IndexConfig | undefined
method
batch→ Promise<OperationResults<Op>>

Execute multiple operations in a single batch. This is more efficient than executing operations individually.

method
delete→ Promise<void>

Delete an item from the store.

method
get→ Promise<Checkpoint<string, string> | undefined>
method
listNamespaces→ Promise<string[][]>

List and filter namespaces in the store. Used to explore data organization and navigate the namespace hierarchy.

method
put→ Promise<RunnableConfig<Record<string, any>>>
method
search→ Promise<Item[]>

Search for items within a namespace prefix. Supports both metadata filtering and vector similarity search.

method
start

Start the store. Override if initialization is needed.

method
stop→ Promise<void>

Stop the store. Override if cleanup is needed.