# InMemoryEntityStore

> **Class** in `langchain_classic`

📖 [View in docs](https://reference.langchain.com/python/langchain-classic/memory/entity/InMemoryEntityStore)

In-memory Entity store.

## Signature

```python
InMemoryEntityStore()
```

## Extends

- `BaseEntityStore`

## Properties

- `store`

## Methods

- [`get()`](https://reference.langchain.com/python/langchain-classic/memory/entity/InMemoryEntityStore/get)
- [`set()`](https://reference.langchain.com/python/langchain-classic/memory/entity/InMemoryEntityStore/set)
- [`delete()`](https://reference.langchain.com/python/langchain-classic/memory/entity/InMemoryEntityStore/delete)
- [`exists()`](https://reference.langchain.com/python/langchain-classic/memory/entity/InMemoryEntityStore/exists)
- [`clear()`](https://reference.langchain.com/python/langchain-classic/memory/entity/InMemoryEntityStore/clear)

## ⚠️ Deprecated

Deprecated since version 0.3.1. Use langchain.agents.create_agent instead. Will be removed in version 2.0.0. For agents that need to remember prior interactions, use `create_agent` with checkpointing or the `Store` API. See https://docs.langchain.com/oss/python/langchain/short-term-memory and https://docs.langchain.com/oss/python/langchain/long-term-memory

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/185119f98e6286253a2326d7cf4f59592678023d/libs/langchain/langchain_classic/memory/entity.py#L65)