Summary
agentmem already has a clean in-memory backend and backend abstraction, but it still lacks a simple persistent storage option. A SQLite backend would be the best next step because it keeps the library lightweight while making it useful across sessions.
Why this matters
Right now the package is good for experimentation, but not for any workflow that needs memory continuity. SQLite is a practical middle ground before adding heavier databases.
Proposed scope
- add a SQLiteBackend implementation using the existing backend interface
- support storing, listing, deleting, and simple content search
- persist core MemoryEntry fields and metadata cleanly
- document setup and usage in the README
- add tests that cover persistence across backend re-instantiation
Acceptance criteria
- developers can store memories and read them back after process restart
- the backend follows the same core interface as InMemoryBackend
- tests verify CRUD behavior and persistence
- README includes a minimal example using SQLite
Notes
This should prioritize a small, dependable implementation over premature abstractions.
Summary
agentmem already has a clean in-memory backend and backend abstraction, but it still lacks a simple persistent storage option. A SQLite backend would be the best next step because it keeps the library lightweight while making it useful across sessions.
Why this matters
Right now the package is good for experimentation, but not for any workflow that needs memory continuity. SQLite is a practical middle ground before adding heavier databases.
Proposed scope
Acceptance criteria
Notes
This should prioritize a small, dependable implementation over premature abstractions.