Prompt LibraryAgents

AI Agent Memory Policy Design Prompt

Decide what an agent should remember across sessions and for how long.

The prompt

Agent purpose: {{purpose}}
User interactions happen over: {{cadence}}

Define a memory policy:
- what is worth persisting across sessions vs kept only in-session
- the schema for a persisted memory item (fact, source turn, confidence, expiry)
- how contradictions between a new fact and a stored one are resolved
- what must never be persisted (PII categories, one-off preferences, etc.)
- how a user can see and delete what is remembered about them

Replace the {{fields}} with your own context and tighten the rules to match your domain.

Share this prompt