---
url: 'https://adk.nht.io/api/@nhtio/adk/common/interfaces/RawMemory.md'
description: 'Plain input object supplied to [`Memory`](https://adk.nht.io/api/@nhtio/adk/common/classes/Memory) at construction time.'
---

# Interface: RawMemory

Defined in: [lib/classes/memory.ts:16](https://github.com/NHTIO/ADK/blob/v1.20260605.0/src/lib/classes/memory.ts#L16)

Plain input object supplied to [Memory](../classes/Memory.md) at construction time.

## Remarks

Validated against `rawMemorySchema` before the `Memory` instance is created.
Temporal fields accept any value that Luxon can parse — ISO strings, Unix timestamps,
`Date` objects, or existing `DateTime` instances.

## Properties

| Property                                      | Type                                                      | Description                                                                                                       | Defined in                                                                                                |
| --------------------------------------------- | --------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- |
|  `confidence` | `number`                                                  | Confidence score in the range `[0, 1]` — how certain the agent is that this memory is accurate.                   | [lib/classes/memory.ts:22](https://github.com/NHTIO/ADK/blob/v1.20260605.0/src/lib/classes/memory.ts#L22) |
|  `content`       | `string` | [`Tokenizable`](../classes/Tokenizable.md)    | The memory content as a plain string or an existing [@nhtio/adk!Tokenizable](../classes/Tokenizable.md) instance. | [lib/classes/memory.ts:20](https://github.com/NHTIO/ADK/blob/v1.20260605.0/src/lib/classes/memory.ts#L20) |
|  `createdAt`   | `string` | `number` | `Date` | `DateTime`<`boolean`> | When this memory was first recorded.                                                                              | [lib/classes/memory.ts:26](https://github.com/NHTIO/ADK/blob/v1.20260605.0/src/lib/classes/memory.ts#L26) |
|  `id`                 | `string`                                                  | Stable unique identifier for this memory entry.                                                                   | [lib/classes/memory.ts:18](https://github.com/NHTIO/ADK/blob/v1.20260605.0/src/lib/classes/memory.ts#L18) |
|  `importance` | `number`                                                  | Importance score in the range `[0, 1]` — how much weight this memory should carry during retrieval.               | [lib/classes/memory.ts:24](https://github.com/NHTIO/ADK/blob/v1.20260605.0/src/lib/classes/memory.ts#L24) |
|  `updatedAt`   | `string` | `number` | `Date` | `DateTime`<`boolean`> | When this memory was last modified.                                                                               | [lib/classes/memory.ts:28](https://github.com/NHTIO/ADK/blob/v1.20260605.0/src/lib/classes/memory.ts#L28) |
