# Memory Store Formation Resource

> Creates a named memory store that actors can read from and write to across conversations.

# Memory Store

> This page is auto-generated from the formations OpenAPI spec.
> Do not edit manually — run `pnpm generate-formations-resource-docs` to regenerate.

## Syntax

```yaml
type: memory_store
properties:
  name: String
  description: String
  tags: Any
  duplicate_threshold: Number
  supersede_threshold: Number
```

## Output

The physical resource ID is the **public ID** of the created resource. Reference it from other resources with a `ref` expression:

```yaml
      some_field:
        ref: MyMemoryStore
```

## Properties

**`name`**

Memory store display name

_Required_: Yes
_Type_: String

---

**`description`**

What this memory store stores

_Required_: No
_Type_: String
_Nullable_: Yes

---

**`tags`**

_Required_: No
_Type_: Any

---

**`duplicate_threshold`**

Cosine similarity at or above which an incoming fact is already known and the write is skipped. Null uses the algorithm constant (0.95). This is where a template sets the corpus's dedup policy: a `memory` resource has no threshold of its own.

_Required_: No
_Type_: Number
_Nullable_: Yes

---

**`supersede_threshold`**

Cosine similarity at or above which an incoming fact restates a known one that has changed, retiring it. Null uses the algorithm constant (0.90). Must be lower than the effective `duplicate_threshold`.

_Required_: No
_Type_: Number
_Nullable_: Yes

---
