The pattern
Use evolving memory when facts can change over time and you need both the current truth and historical trail. Good candidates:- Content strategy (what is working right now)
- Active product priorities
- Temporary experiments and their outcomes
- Current customer state or lifecycle stage
Example: LinkedIn content strategy
A LinkedIn post generator that adapts to changing strategy: Step 1 — Save initial strategy:Using validUntil for temporary knowledge
For time-bounded information, set validUntil so it is automatically excluded from retrieval after it expires:
Recommended flow
- Save current working strategy as a
factordecision - Generate content by combining profile context and search results
- Observe outcomes
- Save lessons as new memories (
decisionorcontext) - Submit feedback on memories that were useful or stale
- When strategy changes, save a new memory — the system handles supersession automatically
Why this works
You do not need fine-tuning or retraining for this class of problem. You need:- Current truth (served by
isCurrentfiltering) - Historical trail (accessible via the history endpoint)
- Retrieval that handles both semantic and exact-match queries (hybrid search)
- A feedback loop (via
memory_feedback)
