# AgentNoteStore

**Kind:** Class

**Source:** [`atloria-monorepo/libs/agent-core/src/autonomous/autonomous-loop.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/libs/agent-core/src/autonomous/autonomous-loop.ts#L233)

Store for session-scoped agent notes.
Shared between the note tool and the TurnHook.

## Methods

| Method | Signature | Returns |
|---|---|---|
| `add` | `add(turn: number, content: string)` | `AgentNote` |
| `getAll` | `getAll()` | `AgentNote[]` |
| `count` | `count()` | `number` |
| `format` | `format()` | `string` |

## Where it refuses work

- `AgentNoteStore` stops the work with an early return when `this.notes.length === 0`.
