---
title: "Engram"
description: "Engram is a memory server for LLM agents and applications that provides persistent, semantically searchable memory through a REST API."
url: https://docs.weaviate.io/engram
---

# Engram

> [!WARNING]
>
> **Engram is being sunset**
>
> We have decided to sunset Engram. Existing projects will continue to work until December 31, 2026. It is no longer possible to create new Engram projects.

Engram is a memory server for LLM agents and applications. It provides a [REST API](https://docs.weaviate.io/engram/api/rest) and [Python SDK](https://github.com/weaviate/engram-python-sdk) that automatically extracts, transforms, and stores memories using vector embeddings and LLM-powered processing.

Use Engram to give your agents persistent memory that they can write to and search across conversations, users, and [topics](https://docs.weaviate.io/engram/concepts/topics).

## Key capabilities

- **Automatic memory extraction** — Send raw text, pre-extracted facts, or full conversations. Engram's [pipeline](https://docs.weaviate.io/engram/concepts/pipelines) extracts and stores structured [memories](https://docs.weaviate.io/engram/concepts/memories) automatically.
- **Semantic search** — Find relevant memories using vector similarity, BM25 keyword search, or [hybrid retrieval](https://docs.weaviate.io/engram/concepts/search).
- **Scoped memory** — Isolate memories by project, user, and any custom scope properties (e.g. `conversation_id`). [Topics](https://docs.weaviate.io/engram/concepts/topics) let you categorize memories within a [group](https://docs.weaviate.io/engram/concepts/groups).
- **Async processing** — Memory storage runs asynchronously through a pipeline. Poll [run status](https://docs.weaviate.io/engram/guides/check-run-status) to track when memories are committed.

## How it works

Below is an overview of Engram's architecture and information flow:

![Weaviate Engram architecture](https://docs.weaviate.io/assets/images/architecture-a52ce7f31c6db24358005c56b82bd8c1.png)



Your app communicates with Engram through the REST API or Python SDK.

**[Storing memories](https://docs.weaviate.io/engram/guides/store-memories):** You send content (text, a conversation, or pre-extracted facts) to the API. Engram immediately returns a `run_id` and processes the content asynchronously through a [pipeline](https://docs.weaviate.io/engram/concepts/pipelines):

1. **Extract** — Pull individual facts from the input.
2. **Transform** — Deduplicate and merge with existing [memories](https://docs.weaviate.io/engram/concepts/memories).
3. **Commit** — Persist the results to the memory store.

You can poll the [`run_id`](https://docs.weaviate.io/engram/guides/check-run-status) to check when processing is complete.

**[Searching memories](https://docs.weaviate.io/engram/guides/search-memories):** You send a query to the API with a [retrieval type](https://docs.weaviate.io/engram/concepts/search) (vector, BM25, or hybrid). Engram searches the memory store and returns ranked results.

## Get started

- **[Quickstart](https://docs.weaviate.io/engram/quickstart)** — Create a project, get an API key, store your first memory, and search it.
- **[Concepts](https://docs.weaviate.io/engram/concepts)** — Understand memories, topics, groups, scoping, and pipelines.
- **[Guides](https://docs.weaviate.io/engram/guides)** — Step-by-step instructions for storing, searching, and managing memories.
- **[REST API reference](https://docs.weaviate.io/engram/api/rest)** — Full endpoint documentation with request and response schemas.
