Skip to main content
Memory policies configure TealMemory to govern what data agents can store, how long it persists, and what classification level is required. Prevent sensitive data from leaking into long-term memory stores.

Session Scope Only

Restrict memory to request and session scopes with automatic purge.

Classification — Internal

Enforce data classification labels on memory writes across scopes.

Deny Secrets in Memory

Block secrets and PII from being written to agent memory.

When to Use

Any agent with persistent memory should have memory governance. Session Scope Only is the safest default for most applications. Add Classification for multi-tenant or compliance environments. Use Deny Secrets in Memory alongside secrets detection.
Memory policies work best when combined with Secrets and Security policies. Detect sensitive data first, then prevent it from persisting.