Agent Memory Design

Design persistent cross-session memory for an assistant or agent as a database with a gated write path and read path: decide what is memorable (preferences, confirmed facts, decisions; never transcripts or untrusted tool content), store typed entries with source turn, timestamp, confidence, scope and expiry, extract in a separate step, resolve contradictions by recency keeping the old entry superseded, retrieve by scope before relevance, inject as labelled data, let users view, edit and delete with stated propagation to indexes and backups, and test recall, staleness and poisoning. Use for "make the assistant remember users", "it remembered something wrong or stale", "how do we let users delete memories", "memory poisoning". Not for document retrieval (rag-design), tool-path injection review (agent-security-review), legal basis (data-privacy) or in-session history (context-compaction).

greenblacked Updated
The twenty-nine plugins: coding, family, gamedev, operations, delivery, security, manager, personal, career, design, llm, data, techdocs, assurance, client-apps

File contents

greenblacked/AI commit 38b2ec08fc

Frequently asked questions

npx get-skill add greenblacked/agent-memory-design