What it does
lean-memory is an embedded memory library for AI agents, stored in one SQLite file per namespace. It extracts facts from natural language, lets newer facts supersede older ones, and combines retrieval methods to find relevant memories. Its history is append-only and can be queried at any past time, and maintenance changes are reviewed by a person. It needs no server and no required cloud key.
Use cases
- 01Keeping the latest details of a customer
- 02Checking what an agent knew on a past date
- 03Reviewing memory changes before they are applied