Skip to main content
Limit agent memory to short-lived scopes. Data is available within the current request or session but is automatically purged when the session ends. No data persists to global or shared memory stores.

Policy JSON

What It Does

  • Restricts memory writes to request and session scopes only
  • Blocks writes to user, shared, and global scopes
  • Purges all session data when the session ends — no data persists beyond the conversation
  • Default scope is session — if no scope is specified, data goes to session memory

Example

Agent attempts to write to global memory: Decision object:

Install

Customize

TealMemory supports 5 scopes: request (single call), session (conversation), user (per-user persistent), shared (team-level), and global (application-wide). This policy restricts to the two shortest-lived scopes.