Agent Memory#
Top-level home for the local-first agent memory feature.
Files#
cli.mjs- operator CLI (list,remember,checkpoint,doctor,profile,flush-remote)hook.mjs- Claude/Codex hook entrypoint for prompt loggingcodex-sync.mjs- imports recent Codex session messages from~/.codex/sessionsinstall-hooks.mjs- configures git to use.githooksand enables memory hooksstore.mjs- encrypted local store + session/checkpoint operationscrypto.mjs- AES-256-GCM key management and encrypt/decrypt helpersredact.mjs- best-effort secret redaction for previews/summariesremote.mjs- optional outbound queue + remote flush adapterindex.mjs- public exports
Quick start#
node memory/cli.mjs doctor
node memory/cli.mjs list
node memory/codex-sync.mjs
node memory/install-hooks.mjs
See docs/AGENT-MEMORY-LOCAL-FIRST.md for full setup and multi-machine workflow.