# Where the MemoryVectorStore in v1.x

**URL:** <https://forum.langchain.com/t/where-the-memoryvectorstore-in-v1-x/2022>\
**Category:** LangChain\
**Tags:** js-help\
**Created:** [October 30, 2025, 11:50am UTC](https://forum.langchain.com/t/where-the-memoryvectorstore-in-v1-x/2022 "2025-10-30T11:50:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kholiavko-roman](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.langchain.com/kholiavko-roman/32/1446_2.png) [@kholiavko-roman](https://forum.langchain.com/u/kholiavko-roman)\
**Post date:** [October 30, 2025, 11:50am UTC](https://forum.langchain.com/t/where-the-memoryvectorstore-in-v1-x/2022/1 "2025-10-30T11:50:11Z")

</div>

In the latest package release 1.x, we can not find the MemoryVectorStore

In our project, we are using it like this for searching through embedded documents

```auto
import { MemoryVectorStore, MemoryVectorStoreArgs } from ‘langchain/vectorstores/memory’;

```

but in the new version, we can’t find the MemoryVectorStore, and nothing is mentioned about it in the migration guide [https://docs.langchain.com/oss/javascript/migrate/langchain-v1#removal-of-deprecated-apis](https://docs.langchain.com/oss/javascript/migrate/langchain-v1#removal-of-deprecated-apis)

Could you please explain how we should migrate it?

Thanks.

---

<div class="post-metadata">

**Author:** ![pawel-twardziak](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.langchain.com/pawel-twardziak/32/960_2.png) [@pawel-twardziak](https://forum.langchain.com/u/pawel-twardziak)\
**Post date:** [October 31, 2025, 10:39am UTC](https://forum.langchain.com/t/where-the-memoryvectorstore-in-v1-x/2022/2 "2025-10-31T10:39:00Z")

</div>

Hi @kholiavko-roman

install `@langchain/classic`

and then

```ts
import { MemoryVectorStore, MemoryVectorStoreArgs } from "@langchain/classic/vectorstores/memory";

```

---

<div class="post-metadata">

**Author:** ![kholiavko-roman](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.langchain.com/kholiavko-roman/32/1446_2.png) [@kholiavko-roman](https://forum.langchain.com/u/kholiavko-roman)\
**Post date:** [October 31, 2025, 12:00pm UTC](https://forum.langchain.com/t/where-the-memoryvectorstore-in-v1-x/2022/3 "2025-10-31T12:00:34Z")

</div>

Yeah, I found it in the classic repository, but it the repo docs it stands that it is outdated repository. [langchainjs/libs/langchain-classic at main · langchain-ai/langchainjs · GitHub](https://github.com/langchain-ai/langchainjs/tree/main/libs/langchain-classic#support-and-maintenance)

> This package is in **maintenance mode**. For new features and active development, use `langchain` v1.0.

I am wondering if it will be migrated to the package langchain v1.x? Because we don’t use the outdated package in our project.

---

<div class="post-metadata">

**Author:** ![pawel-twardziak](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.langchain.com/pawel-twardziak/32/960_2.png) [@pawel-twardziak](https://forum.langchain.com/u/pawel-twardziak)\
**Post date:** [October 31, 2025, 12:30pm UTC](https://forum.langchain.com/t/where-the-memoryvectorstore-in-v1-x/2022/4 "2025-10-31T12:30:24Z")

</div>

It is for backward compatibility.

> This package contains functionality from LangChain v0.x that has been moved out of the main `langchain` package as part of the v1.0 release. It exists to provide backward compatibility for existing applications while the core `langchain` package focuses on the essential building blocks for modern agent development.

Offical docs mention the imports as well [Vector stores - Docs by LangChain](https://docs.langchain.com/oss/javascript/integrations/vectorstores/index#memory)

There are no other options to import `MemoryVectorStore` from for now.

`@langchain/classic` is still a valid lib for production use. It might change in future.

I agree, that the explanation under the link you shared might be confusing.

---

<div class="post-metadata">

**Author:** ![kholiavko-roman](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.langchain.com/kholiavko-roman/32/1446_2.png) [@kholiavko-roman](https://forum.langchain.com/u/kholiavko-roman)\
**Post date:** [October 31, 2025, 1:32pm UTC](https://forum.langchain.com/t/where-the-memoryvectorstore-in-v1-x/2022/5 "2025-10-31T13:32:54Z")

</div>

Thank you for explanation.

> [@pawel-twardziak](#):
>
> I agree, that the explanation under the link you shared might be confusing.

yes, definitely it is so confusing with all new separation changes.
