Off the scaleTools · From the workbench
What should a coding agent remember?
Mindvault
- 1 fileon your own disk; nothing sent to a server by default
What we did
The pi coding agent starts every session with a blank slate, so people explain the same things again and again. Mindvault gives pi long-term memory across sessions.
You tell it something once, such as how you like your code or what you decided last week, and it comes back when it is useful. Memories are kept separate by project, with a shared space for rules that hold everywhere.
Everything lives in one SQLite file on your own machine and works offline. You can ask why a memory came back, see what is about to be handed to pi, edit a memory, or delete one or a whole project's worth at any time.
How it works
- Save what you discuss in the background, and anything you ask it to remember.
- Strip secrets and tokens before a memory is stored.
- Match memories to the current turn by keyword, or turn on a small on-device model for search by meaning.
- Add the relevant memories to pi's context at the start of each turn.
- Tidy up on request: merge duplicates, drop stale memories and compact the file.
Limits
Mindvault is an extension for pi. It does not work with other coding agents.
If the on-device model cannot load, recall falls back to keyword matching.
The default keyword search and the optional on-device model keep everything on the machine. The optional API embedding mode sends text to the service you configure.
Status and links
Product