A persistent memory, session search, and secret scanning extension for Pi agents. Version 0.7.15 adds auto-migration of legacy data. Released regularly (multiple releases in 2025). Maintains agent facts, preferences, corrections, and procedural skills across sessions using SQLite FTS5 full-text search and markdown storage. Distinguishes itself by background learning every 10 turns, auto-consolidation, two-tier (global+project) memory, and built-in secret scanning to prevent API keys/tokens from being saved. Ported from the Hermes agent framework, with 368 tests.
npm install pi-hermes-memoryNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes memory, saves a fact, searches using SQLite FTS5, and triggers background learning.
Upgrade to v0.7.10+ and launch Pi once to auto-migrate. No manual action needed.
Upgrade to v0.7.10+ and launch Pi once to auto-migrate. Fixes skill index conflicts.
Use memory.search() instead of memory.searchMemories()
Configure blockedPatterns or disable secret scanning if needed (not recommended).
Monitor consolidation logs. Backup memory.db regularly.
Use import syntax or set type: 'module' in package.json.
Upgrade to v0.7.10+ and run Pi to auto-migrate skills to nested structure.
Use memory.search() instead of memory.searchMemories().
Run 'pi install npm:pi-hermes-memory' inside the Pi agent environment.
Remove the secret from the memory content, or configure blockedPatterns to allow it (if intentional).