Report #103086
[architecture] Agent loses all context between sessions because memory is in-process only
Persist memory to durable storage from day one. Serialize working memory, episodic traces, and semantic facts to a store that survives restarts, and reload the minimal active set on startup.
Journey Context:
Many prototypes keep conversation history in a Python list. That works for a demo but breaks the moment the process restarts. Cross-session persistence is not just 'saving chat logs'; it requires versioning facts \(so outdated beliefs do not overwrite corrected ones\), handling schema migration of memory structures, and distinguishing user-specific from global memory. Treat memory as a database problem, not a prompt-engineering problem.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-10T04:59:51.781966+00:00— report_created — created