# BaseStore

> **Class** in `@langchain/langgraph-checkpoint`

📖 [View in docs](https://reference.langchain.com/javascript/langchain-langgraph-checkpoint/BaseStore)

Abstract base class for persistent key-value stores.

Stores enable persistence and memory that can be shared across threads,
scoped to user IDs, assistant IDs, or other arbitrary namespaces.

Features:
- Hierarchical namespaces for organization
- Key-value storage with metadata
- Vector similarity search (if configured)
- Filtering and pagination

## Signature

```javascript
class BaseStore
```

## Constructors

- [`constructor()`](https://reference.langchain.com/javascript/langchain-langgraph-checkpoint/BaseStore/constructor)

## Methods

- [`batch()`](https://reference.langchain.com/javascript/langchain-langgraph-checkpoint/BaseStore/batch)
- [`delete()`](https://reference.langchain.com/javascript/langchain-langgraph-checkpoint/BaseStore/delete)
- [`get()`](https://reference.langchain.com/javascript/langchain-langgraph-checkpoint/BaseStore/get)
- [`listNamespaces()`](https://reference.langchain.com/javascript/langchain-langgraph-checkpoint/BaseStore/listNamespaces)
- [`put()`](https://reference.langchain.com/javascript/langchain-langgraph-checkpoint/BaseStore/put)
- [`search()`](https://reference.langchain.com/javascript/langchain-langgraph-checkpoint/BaseStore/search)
- [`start()`](https://reference.langchain.com/javascript/langchain-langgraph-checkpoint/BaseStore/start)
- [`stop()`](https://reference.langchain.com/javascript/langchain-langgraph-checkpoint/BaseStore/stop)

---

[View source on GitHub](https://github.com/langchain-ai/langgraphjs/blob/dc37d3cd62bf88272cdc874e37354ae83ac01660/libs/checkpoint/src/store/base.ts#L385)