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 themReplace the {{fields}} with your own context and tighten the rules to match your domain.
More Agents prompts
Agent Replanning & Error Recovery Prompt
Decide when an agent should replan vs. retry vs. escalate.
Agent Context Injection & Memory Loading Prompt
Decide what to load into context at each agent step.
Multi-Agent Shared Scratchpad Protocol Prompt
Define how cooperating agents read and write shared memory safely.



