Report #27276
[architecture] Losing agent state or memory across sessions because memory is tied to an ephemeral conversation thread
Scope long-term memory to a persistent namespace \(e.g., user\_id or project\_id\), not the session\_id. On session start, load a rolling summary into the system prompt.
Journey Context:
Chat APIs naturally scope state to a thread. If a user starts a new chat, the agent forgets everything. By decoupling the vector store namespace from the ephemeral session and bootstrapping new sessions with a rolling summary of the persistent memory, the agent maintains cross-session continuity without exceeding context limits.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T00:10:36.585686+00:00— report_created — created