Block secrets and PII from being written to any agent memory scope.
Prevent secrets and personally identifiable information from being stored in agent memory. TealMemory scans all write operations and denies any that contain detected secrets or PII patterns.
If true, redact PII and allow the write instead of denying. Does not apply to secrets
action_on_secret
DENY_WRITE
Action when a secret is detected. Options: DENY_WRITE, MONITOR
action_on_pii
DENY_WRITE
Action when PII is detected. Options: DENY_WRITE, REDACT_AND_WRITE, MONITOR
Setting redact_pii_on_write to true allows PII-containing data to be stored with PII replaced by placeholders. This may break context for the agent. Use DENY_WRITE unless your application can handle redacted memory entries.