Skip to main content

Type Alias: MemoryPolicy

MemoryPolicy = { longTerm: "off"; } | { longTerm: "raw"; retentionDays?: number; } | { longTerm: "compiled"; retentionDays?: number; }

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

What a host's memory policy answers for the account a turn serves.

  • { longTerm: 'off' }: nothing is filed for the account, and its turns recall the operator's pages alone.
  • { longTerm: 'raw' }: its turns are filed and recalled as traces, and no page is compiled for it.
  • { longTerm: 'compiled' }: its turns are filed, recalled and compiled into its pages. The default.