github CodeAbra/iai-personal-memory-engine v0.3.0

latest releases: v3.3.0, v3.2.3, v3.2.2...
6 months ago

What's new

Per-turn ambient capture

iai-mcp now captures every prompt as it happens, not just at session end. A lightweight UserPromptSubmit hook appends each turn to a per-session buffer (~5 ms, pure file IO, no daemon overhead during the session). The Stop hook rolls the buffer over at session end and the daemon drains it on the next idle edge.

Session-start recall injection

New SessionStart hook assembles the cached memory prefix (L0 identity, L1 critical facts, L2 communities, global rich-club) and injects it into Claude Code as additionalContext before the first prompt. Fail-safe: empty store or unreachable daemon yields empty stdout — session start is never blocked.

3-hook installer

iai-mcp capture-hooks install now wires all three hooks (UserPromptSubmit, Stop, SessionStart) in one command. Uninstall and status report all three.

Daemon DROWSY drain

The daemon now drains the deferred-captures buffer on the WAKE → DROWSY lifecycle edge (5-min idle), in addition to the existing post-REM drain. Buffers no longer sit indefinitely.

Auto-provision crypto key

iai-mcp daemon install and scripts/install.sh auto-generate ~/.iai-mcp/.crypto.key on fresh installs. No more manual crypto init step.

New CLI commands

  • iai-mcp session-start — exposes the recall payload formatter
  • iai-mcp capture-turn-deferred — exposes the per-turn writer

Documentation

  • Headless / VPS deployment guide (SSH stdio pattern for non-AVX2 hosts)
  • Troubleshooting table with common issues and fixes
  • AVX2 CPU requirement documented in prerequisites

Don't miss a new iai-personal-memory-engine release

NewReleases is sending notifications on new releases.