---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/context/thrift/contracts/interfaces/WorkingMemory.md
description: >-
  The structural shape of a memory the working set carries. Only `content`
  (measured) and `importance` (sort key — low-importance memories shed first)
  are read.
---

# Interface: WorkingMemory

Defined in: [src/batteries/context/thrift/contracts.ts:119](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/context/thrift/contracts.ts#L119)

The structural shape of a memory the working set carries. Only `content` (measured) and
`importance` (sort key — low-importance memories shed first) are read.

## Properties

| Property                                       | Type                                        | Description                                                                                                                                                                      | Defined in                                                                                                                                          |
| ---------------------------------------------- | ------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
|  `content`        | `string` | [`ContentLike`](ContentLike.md) | The memory's rendered content, measured toward the memories bucket's token weight.                                                                                               | [src/batteries/context/thrift/contracts.ts:121](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/context/thrift/contracts.ts#L121) |
|  `importance?` | `number`                                    | `[0, 1]`-ish importance score; memories sort by this (descending) before the shed, so the lowest-importance memories are popped first. Missing/absent sorts as `0` (shed first). | [src/batteries/context/thrift/contracts.ts:124](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/context/thrift/contracts.ts#L124) |
