Skip to main content

Interface: MemoryRetention

Defined in: packages/agentos/src/api/souledAgent.ts:128

How long a souled agent's store keeps what people said.

A store that holds, or would hold, the memory of more than one user or session does not open, and opens no second subject's session, without it.

Properties​

pages?​

optional pages: "delete-whole" | "rebuild"

Defined in: packages/agentos/src/api/souledAgent.ts:141

What happens to a per-user page when a trace it was compiled from expires. 'delete-whole' (the default) deletes the page; 'rebuild' deletes it and has the next compile build it again from the traces that are left, one model call a page, charged to the budget.


sessions?​

optional sessions: RetentionPeriod

Defined in: packages/agentos/src/api/souledAgent.ts:135

The same for the sessions that named no user; unset, traces applies to them too. Operator pages are exempt.


traces​

traces: RetentionPeriod

Defined in: packages/agentos/src/api/souledAgent.ts:133

How long a subject's conversation traces are kept from the time they were stored, or until the subject's deletion by name.