// reference · 07

Operating memory

Memory has its own operational API. You can add, search, list, forget, archive, explain, consolidate and export items to audit what enters context.

params memory add <text> cmd adds an explicit fact; supports --source, --kind, --global memory search <query> cmd hybrid search with limit memory list cmd recent items memory forget <id> cmd removes from retrieval memory archive <id> cmd archives but keeps auditable memory explain <id> cmd shows category, source, confidence and rationale memory consolidate cmd prunes/consolidates by backend policy memory export cmd JSON dump for audit or migration

Open this page in the interactive docs