[Idea] Integrating Long-Term Temporal Memory (Smriti) for stateful computer-agent sessions
Hey team!
The computer-agent space is incredible, but I noticed that agent sessions often lose context or hallucinate past facts if the container restarts or the session runs too long.
Has the team considered separating the episodic execution memory from a durable semantic memory layer? We built an open-source bi-temporal database called Smriti that natively solves this. It extracts SVO events from the chat and gives them explicit valid_from and valid_to bounds, automatically expiring old facts without slow LLM calls.
It could be a really powerful plug-and-play backend for smolagents if you want to support true stateful memory. Happy to help put together a quick PR or share our PostgreSQL schemas if interested!
Hi, you are right that when the Space or the container restart, the in-process session is gone and the agent can lose context or invent old facts. Smriti as a durable semantic memory is one layer for facts over time, and Galahad is a different layer: a long-term memory for the agent that save and restore the KV cache byte-for-byte across restarts, so the model skip recomputation of the long context. In tests, it can keep 50M tokens on disk — https://github.com/corbenicai/galahad.
Sietse