All patterns

Last updated: 2026-05-11

Explicit Long-Term Memory

A pattern where the product defines exactly which facts can become durable memory.

When to use it

  • Personalization is a visible product feature.
  • Users need to inspect or correct remembered facts.
  • Memory affects future tool use or recommendations.

Avoid when

  • The agent only needs current-session context.
  • The team cannot define a safe retention policy.

Implementation notes

  • Separate working state from durable memory.
  • Store source, timestamp, and user scope with each memory.
  • Add deletion and correction paths before launch.