You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Title: Feature Request: Add Persistent Local Memory Session with SQLite
Is your feature request related to a problem? Please describe.
Currently, the ADK's memory session is ephemeral. All contextual memory is lost once an agent session concludes. Any agent requiring long-term memory or statefulness cannot be effectively built. The only other option being vertex ai based one, which is not feasible in my case.
Describe the solution you'd like 💡
I propose the implementation of a local, persistent memory provider using SQLite. This would allow an agent's memory to be saved to a local .db file and reloaded in subsequent sessions, enabling true persistence without requiring external database infrastructure.
How it would work:
A new SQLiteMemory class or service would be introduced.
Users could enable it via a simple configuration, specifying a path to the database file.
The service would automatically handle the serialization and deserialization of the agent's memory to and from the SQLite database.
This functionality would be distinct from the existing database_session_service, which appears to have a different purpose. The new component would focus solely on persisting the agent's conversational state and learned context.
@Raman369AI Thank you for reporting this. I understand the request is currently under review. Please keep me posted if anything else is needed. Thanks for your patience.
Thanks for raising this. We are working on it. Stay tuned!
@hangfei Any progress can be shared? And could you please let me know if there is a plan to implement a DatabaseMemoryService so that we can use PostgreSQL / MySQL as the storage backend?
Activity
hangfei commentedon Nov 10, 2025
Thanks for raising this. We are working on it. Stay tuned!
klateefa commentedon Nov 26, 2025
@Raman369AI Thank you for reporting this. I understand the request is currently under review. Please keep me posted if anything else is needed. Thanks for your patience.
qianzhangxa commentedon Dec 11, 2025
@hangfei Any progress can be shared? And could you please let me know if there is a plan to implement a
DatabaseMemoryServiceso that we can use PostgreSQL / MySQL as the storage backend?feat(memory): add DatabaseMemoryService with SQLAlchemy async backend
feat: add sqlite memory service