Building-block guide · Agent engineering

Agent memory

How to give agents session, episodic, semantic and procedural memory that helps without becoming an unaccountable data store: what to remember, who approves it, how it is retrieved, consolidated and forgotten, and how it is defended against poisoning and cross-tenant leakage.

Draft for review · researched 30 Nov 2026

Contents
  1. At a glance
  2. Scope and where it sits
  3. When to use what
  4. Decision criteria
  5. Reference patterns
  6. Recommended defaults
  7. Anti-patterns
  8. Sizing and cost notes
  9. Security and compliance hooks
  10. Test and eval checklist
  11. Related plan sections and inventory
  12. Unverified or needs review
  13. Sources

At a glance

  • Name the four memory types and govern each differently. Working or session memory expires with the task; episodic memory (past runs) is sampled and stripped of personal data; semantic memory (facts and preferences) carries provenance, classification and consent; procedural memory (instructions and skills) changes only through code review [1][2].
  • Writes are the control point. Every write passes an extraction, classification and validation step, records provenance and trust level, and never stores an instruction as a fact. Procedural writes need human approval.
  • Scope by namespace and enforce it in the store, not the prompt. Tenant, user and agent identifiers form the namespace key, taken from the authenticated principal, never from model output [2][7].
  • Retrieve little, label it as data. A small top-k of memories, wrapped with provenance, below the cache breakpoint. Memory is untrusted input on every read [11][12].
  • Forget on purpose. Time-to-live by memory type, relevance decay, and background consolidation with the originals archived for high-stakes domains [8].
  • Erasure must reach everything. A subject index lets one request delete across memory stores, vector indexes, caches, checkpoints and traces, with a logged receipt [8][15].
  • Red-team memory. Query-only injection (MINJA) and knowledge-base poisoning (AgentPoison, above 80% attack success at under 0.1% poison rate in its tests) are practical; OWASP lists the risk as ASI06 [11][13][14].

Scope and where it sits

This guide covers memory that outlives a single model call: session state, long-term memory types, stores, write policies, retrieval, consolidation and decay, user controls, retention and erasure, poisoning defence and tenant isolation.

In the 10-layer reference architecture (plan section 4) it is layer 7, memory and knowledge, with session state also held in layer 4, agent runtime and durable execution (checkpoints) and retrieval surfacing through layer 6, context engineering. In the plan's Anatomy crosswalk it implements system 4, Long-term memory ("memory scopes, retention and deletion rules, and tests for memory poisoning") and the session part of system 3, Working memory.

Covered elsewhere:

When to use what

Memory types. The CoALA framework defines working memory as information "for the current decision cycle", episodic memory as "experience from earlier decision cycles", semantic memory as "knowledge about the world and itself", and procedural memory as knowledge in weights (implicit) or in the agent's code and prompts (explicit) [1]. LangGraph uses the same split, with procedural memory in practice meaning agents updating their own prompts [2]. Managed services draw the line between short-term memory (turn-by-turn within a session) and long-term memory (insights extracted across sessions) [9].

Option Use when Avoid when Cost and latency notes
Session memory (thread checkpoint) Any multi-turn task; resume after restart or approval Data must survive beyond the task Cheap; grows with the thread, so prune old checkpoints [2]
Structured notes file (agent-written scratchpad) Long-horizon tasks crossing compactions Content is sensitive and the file store is not controlled Few tokens; read on demand [17]
Semantic memory as a profile (one JSON document) Small, well-defined facts per user (preferences, role) Many independent facts; concurrent writers One read; updates rewrite the whole profile, error-prone as it grows [2]
Semantic memory as a collection (many items) Open-ended facts accumulating over time Need a consistent single view Retrieval step per turn; harder updates and deletes [2]
Episodic memory (past runs as examples) Agents improve from successful trajectories Runs contain personal data you cannot strip Storage grows with traffic; sample and expire
Procedural memory (self-updated instructions) Stable, reviewed improvements to how a task is done Unreviewed agent edits to its own instructions Change-controlled like code; affects the cache prefix
Vector store Fuzzy recall over many free-text memories Facts that change and must be overwritten precisely Embedding plus search latency; see Embeddings
Key-value or document store Profiles, flags, exact lookups by key Similarity recall Fastest; simplest erasure
Temporal knowledge graph Entities and relationships that change over time; cross-session synthesis Small apps without entity structure Higher build cost; one graph memory reported up to 18.5% accuracy gain and 90% latency cut on LongMemEval versus baselines [5]
File-based memory (directory the agent reads and edits) Coding and document agents; transparent, human-reviewable memory Multi-tenant SaaS without strong path isolation Storage on your infrastructure; you must prevent path traversal [3]
Managed memory service You want extraction, consolidation and encryption handled by a platform Residency or retention terms do not fit Per-call or per-record pricing; check strategy options and expiry limits [7][10]

Notes. Tooling examples, mixed across licences: open-source layers such as Mem0, Letta, Zep with Graphiti, Redis Agent Memory Server and Supermemory; framework stores such as the LangGraph store with LangMem (low recent activity in the CoE inventory); and managed services such as Amazon Bedrock AgentCore Memory, Google Memory Bank and memory in Microsoft Foundry Agent Service (preview). One open-source layer reports a 26% relative improvement on an LLM-judge metric, 91% lower p95 latency and over 90% token saving against full context; these are self-reported [4]. Benchmark claims across memory products are not comparable without the client's own evals.

Decision criteria

  1. Does the agent need anything after the task ends? No: session memory only, expiring with the task. Yes: continue.
  2. What kind of thing is remembered? A fact or preference: semantic. What happened and how it went: episodic. How to do the task: procedural, under change control.
  3. Is the data personal, confidential or regulated? Yes: classify it, record the lawful basis or consent, set a retention period, and store it where the client controls keys and region [10]. Prefer not to store it at all if the task works without it.
  4. Who is the subject and who can read it? One user: user namespace. A team or tenant: tenant namespace with role checks. Shared across agents: an explicit shared namespace with its own owner.
  5. Does recall need exact keys, similarity or relationships? Exact: key-value. Similarity: vector. Changing relationships over time: graph.
  6. Write on the hot path or in the background? Hot path makes memory immediately available but adds latency; background writing separates memory logic from the agent but needs a trigger policy [2]. Default to background for semantic and episodic memory.
  7. Who approves a write? Low-risk preferences: automatic with validation. Facts that drive actions or decisions: validation plus sampling review. Procedural changes: a human, always.
  8. Can the user see and change it? If memory affects what the agent does for a person, give them view, correct and delete controls.

Reference patterns

Pattern 1: Namespaced memory enforced by the store

Problem. A single shared memory index returns one customer's facts to another, or an agent reads memory written by a different agent with different permissions.

How it works. Every memory record carries a namespace built from authenticated context: tenant/{tenant_id}/user/{user_id}/agent/{agent_id}/{type}. The memory service derives it from the caller's token (plan 10A), not from arguments the model supplies, and refuses cross-namespace reads. Managed services expose the same idea, for example namespace templates with {variable} placeholders on one platform [7] and namespaces per user, team or application in framework stores [2]. Encryption keys are per tenant where the platform allows customer-managed keys [7][10].

When to use. Any multi-user or multi-tenant agent. Mandatory in SaaS and shared-service deployments.

Pitfalls. Namespaces in the prompt are not isolation. Shared namespaces need an owner and a classification. Some runtimes do not bind sessions to users by default, leaving the mapping to your backend (see Agent runtime and durable execution).

Pattern 2: Gated write pipeline

Problem. The agent stores whatever it reads, including instructions planted in documents, emails or web pages, which then steer later sessions. MINJA showed malicious records can be planted through ordinary queries alone, with no direct write access [13].

How it works. Writes go through a pipeline, usually in the background:

  1. Extract candidate memories from the session (model-assisted).
  2. Classify each candidate: type, data classification, personal data flag, subject.
  3. Validate: reject imperative content ("always do X", "ignore previous"), URLs and code unless the type allows them; check against existing facts for contradiction; check the source trust level (user-stated, tool-returned, web-derived).
  4. Record provenance: source session, turn, tool or document, trust level, timestamp, extractor version.
  5. Decide: add, update, merge or ignore. Procedural candidates go to a human review queue; high-impact semantic facts are sampled for review.
  6. Commit with TTL by type, and emit an audit event.

A PostToolUse or session-end hook (see Hooks) is the natural trigger.

When to use. All long-term memory.

Pitfalls. A model-based extractor can be manipulated too; validation must include deterministic rules. Over-strict filters starve memory; measure useful-recall on evals. One vendor notes its model "usually refuses" to write sensitive information but recommends stripping it in code for stronger guarantees [3].

Pattern 3: Background consolidation with decay

Problem. Memory grows without bound, stale facts contradict new ones, and retrieval quality falls as near-duplicates pile up.

How it works. A scheduled job, run off the request path, applies three steps in order:

  1. Expire records past their type's TTL first, so later steps do not spend compute on them [8].
  2. Score the rest for relevance. One published design weights creation recency 0.4, last-access recency 0.35 and access frequency 0.25, retiring records that fall below 0.3 after a configurable unaccessed period (default 45 days, with 7 for real-time support bots and 180 for legal or compliance agents) [8]. The Generative Agents work scored retrieval as an equal-weighted sum of recency (exponential decay factor 0.995 per game hour), importance (rated 1 to 10 at creation) and relevance, and triggered reflection when recent importance summed above 150 [6].
  3. Consolidate low-scoring related records into one summary record with a confidence score, keeping the originals if the merge fails and flagging weak merges for review. The same source warns that consolidation is lossy and that high-stakes domains should archive originals to cold storage rather than delete them [8].

When to use. Any long-term store with more than a few hundred records per subject.

Pitfalls. Decay can delete records under legal hold; check hold flags before deleting (plan 13.7). Consolidation can merge a poisoned record into a trusted-looking summary; run content filters and grounding checks on merges [8].

Pattern 4: File-based memory with a sandboxed path

Problem. Teams want memory that humans can read and edit, and that survives context compaction, without standing up a database.

How it works. The agent gets a memory tool over a virtual directory. One provider's tool exposes view, create, str_replace, insert, delete and rename against a /memories prefix that your handler maps to storage you control, such as a per-user directory or database keys [3]. Paired with context editing, the agent is warned before old tool results are cleared so it can save what matters [18]; paired with compaction, memory "preserves the information that must survive summarization" [3]. Coding harnesses use the same idea: one loads the first 200 lines or 25 KB of an index file at session start and reads topic files on demand [16].

When to use. Coding, research and document agents; pilots that need transparent memory.

Pitfalls. Your handler must validate every path against traversal, including encoded sequences, cap file sizes and expire unused files [3]. Memory files on a developer workstation are a persistence vector: one 2026 disclosure showed a prompt injection reaching persistent memory and global hook configuration, shaping behaviour "across sessions, projects, and even reboots" [12].

Pattern 5: Erasure propagation by subject index

Problem. A deletion request removes the user's profile but their data survives in vector indexes, cached answers, checkpoints, traces and consolidated summaries.

How it works. Every write records the subject identifier in a subject index that lists where that subject's data lives (store, namespace, record IDs, index IDs, cache keys, trace IDs). An erasure job walks the index, deletes or redacts in each system, re-embeds or removes affected vectors, invalidates caches, and returns a receipt with counts and any failed IDs for retry; each deletion is logged with action, subject and timestamp [8]. GDPR Article 17 requires erasure "without undue delay" on listed grounds, and where data was made public, reasonable steps to inform other controllers [15].

When to use. Any memory that holds personal data. Design it before the first production write, not after the first request.

Pitfalls. Consolidated summaries mix subjects; either keep summaries single-subject or re-run consolidation after erasure. Legal hold and records duties (plan 13.7) can override deletion; the job must check holds and record the reason when it does not delete. Backups need their own expiry.

Pattern 6: Memory as untrusted retrieval

Problem. Retrieved memories are injected into the prompt as if they were the agent's own trusted knowledge.

How it works. On read, memories are filtered by namespace and classification, ranked, capped (practitioner default: top 5, about 2,000 tokens), wrapped with provenance and trust tags, and placed in the data layer of the prompt, below the cache breakpoint (see Prompt assembly). Low-trust memories (web-derived, tool-derived) can be shown as "claims" rather than facts, or excluded from action-taking steps. OWASP's guidance on ASI06 is that memory should be treated "as part of the attack surface" and must not be able to override trusted instruction layers [12].

When to use. Always.

Pitfalls. Labels reduce but do not remove the risk; high-risk actions still need policy checks and approvals regardless of what memory says.

Setting Default Range or options Why
Session memory lifetime End of task, plus a short grace period for resume (practitioner default: 24 hours) Longer only for approval waits Plan 9: session memory expires at task end
Checkpoint retention Prune on a schedule Days to weeks by use case Checkpoints accumulate on long threads [2]
Episodic TTL 90 days 30 to 180 days Default in one published lifecycle design [8]
Summary memory TTL 30 to 60 days By use case Published lifecycle guidance [8]
Semantic memory TTL 6 to 12 months, with access-based retirement Shorter for volatile facts Published lifecycle guidance [8]
Procedural memory No TTL; change control, review and versioning like code None Plan 9 memory model; [8] notes longest retention
Relevance retirement Weights 0.4 creation recency, 0.35 last access, 0.25 frequency; threshold 0.3 Tune per agent type One published design [8]
Write timing Background for semantic and episodic; hot path only for explicit user "remember this" Hot path where immediacy matters Latency versus freshness trade-off [2]
Write approval Automatic with validation for preferences; sampled review for decision-driving facts; human approval for procedural Stricter by risk tier Practitioner default aligned to plan 9
Instructions in memory Rejected None Plan 9: never store instructions as facts
Retrieval cap Top 5 memories, about 2,000 tokens 3 to 10 Practitioner default; small, high-signal context (see Prompt assembly)
Namespace key tenant, user, agent, type from authenticated token Add team or case ID Plan 9 and 10A
Encryption Customer-managed key per tenant where supported Platform-managed key Managed services support KMS or CMEK [7][10]
Erasure completion Within the client's DSAR timeline, receipt per request Legal hold overrides with recorded reason GDPR Art. 17 "without undue delay" [15]; exact SLA is a client decision
Managed event expiry Set explicitly 3 to 365 on one platform Platform constraint; confirm unit [7]

Anti-patterns

  • Saving every conversation turn as long-term memory. Noise, cost and privacy exposure. Fix: extraction with a classification step and TTL by type.
  • Namespace chosen by the model. A prompt injection can read another user's memory. Fix: derive the namespace from the authenticated principal in the memory service.
  • Memory placed in the system prompt. Gives remembered text instruction-level authority; one vendor moved user memories out of the system prompt after a 2026 disclosure [12]. Fix: data layer, labelled, below the cache breakpoint.
  • Agent edits its own instructions with no review. Procedural drift and a persistence path for attackers. Fix: procedural changes as pull requests with eval gates.
  • Deleting the profile and calling it erasure. Copies remain in indexes, caches and traces. Fix: subject index and erasure propagation.
  • Consolidating without archive in regulated work. Lossy merges destroy evidence. Fix: archive originals to cold storage under the records schedule [8].
  • One memory store shared by agents with different privileges. A low-privilege agent writes what a high-privilege agent then acts on. Fix: separate namespaces and trust levels per agent.
  • Trusting vendor memory benchmarks. Self-reported and not comparable. Fix: evaluate on the client's own tasks.

Sizing and cost notes

Memory costs come from four places: extraction calls (a model call per session or per batch), embeddings and storage, retrieval latency per turn, and the tokens retrieved memories add to each prompt.

Illustrative example. An assistant with 50,000 active users, 4 sessions per user per month:

  • Extraction: 200,000 background extraction calls a month. At an illustrative 3,000 input and 300 output tokens each, that is 600 million input and 60 million output tokens a month, usually on a small model. Batch processing reduces this further where the provider discounts batch.
  • Storage: at an illustrative 5 new memories per session and 1 KB per record with metadata, about 1 million records (1 GB) a month before TTL; with 90-day episodic and 12-month semantic TTLs, steady state stays bounded.
  • Retrieval: 5 memories at about 400 tokens each adds about 2,000 input tokens per turn. Because memory sits below the cache breakpoint, these tokens are billed at the uncached rate every turn; keep the cap tight.
  • Consolidation: one published design estimates about 20 model calls (roughly $0.01 to $0.02) per 1,000 memories with 20% below threshold, and about $50 to $100 a month at 100,000 memories [8]. Treat this as that author's estimate.

What drives cost up. Hot-path extraction on every turn, unbounded collections, large retrieval caps, re-embedding the whole store after an embedding model change (see Embeddings), and graph construction for memories that never need relationships.

What gains are realistic. Memory layers report large token savings against full-context baselines [4][5], but the right baseline for an agent is usually a well-compacted context, not the full history. Measure cost per successful task with and without memory.

Security and compliance hooks

Threats.

  • ASI06 Memory and Context Poisoning: corrupted memory changes behaviour long after the original interaction [11]. Attacks include query-only injection [13] and knowledge-base or memory poisoning with high success at very low poison rates [14]. Controls: gated writes, provenance and trust levels, memory as untrusted on read, poisoning scans of long-term stores, red-team cases.
  • ASI01 Agent Goal Hijack and LLM01 Prompt Injection: memory as a persistent injection channel [12]. Controls: no memory in instruction layers, policy enforcement outside the model.
  • ASI03 Identity and Privilege Abuse: cross-namespace reads. Controls: namespace from token, store-level authorisation (plan 10A, 10B).
  • LLM02 Sensitive Information Disclosure: memory returns personal data to the wrong user or into traces. Controls: classification, redaction before write, tenant isolation, trace redaction.
  • LLM08 Vector and Embedding Weaknesses: embedding inversion and cross-tenant index leakage. Controls: per-tenant indexes or enforced filters, encryption.
  • ASI04 Agentic Supply Chain: memory files and configuration on developer machines altered by a compromised dependency [12]. Controls: sandbox write blocks on memory and hook configuration (plan 4B), integrity monitoring.

Data protection. Run a memory data-protection impact assessment (plan 9 deep dive) covering purpose, lawful basis, minimisation, retention, subject rights and transfers. Keep memory in the client's region and under client keys where regulation requires; managed services differ in residency and key options [10].

Audit evidence to keep. Write events with provenance, classifier output and approver; read events with namespace and record IDs per trace; TTL and consolidation job logs; erasure receipts with counts and failures; legal-hold overrides with reasons; red-team results for memory attacks.

Governing plan sections. 9 (memory model and governance), 10 (threats and red teaming), 10A and 10B (identity and authorisation for memory access), 11 (privacy law mapping, 11.8), 13 (registry entry per memory store; 13.7 records and legal hold), 14 (human review of procedural memory), 15 (operations and incident response for poisoned memory), and the ROE (to be defined, plan section 12).

Test and eval checklist

ID Stage Check Pass criteria
MEM-01 Design Each memory type has purpose, classification, lawful basis, TTL and owner Memory register entry approved
MEM-02 Design Memory DPIA completed where personal data is stored DPIA signed off
MEM-03 Build Namespace derived from authenticated principal, not model output Code review and unit test pass
MEM-04 Build Write pipeline rejects imperative content, URLs and code where type disallows 100% of fixture injections rejected
MEM-05 Build Provenance and trust level recorded on every write 100% of sampled records carry fields
MEM-06 Build File-based memory handler blocks path traversal including encoded forms All traversal fixtures rejected
MEM-07 Test Cross-tenant and cross-user read attempts Zero records returned across namespaces
MEM-08 Test Query-only memory injection (MINJA-style) red-team cases Attack success at or below risk-tier threshold
MEM-09 Test Knowledge-base and memory poisoning (AgentPoison-style) cases No poisoned trigger causes a high-tier action
MEM-10 Test Useful recall: agent uses correct remembered facts on held-out tasks Meets target set in design versus no-memory baseline
MEM-11 Test Contradiction handling: newer fact supersedes older Correct fact returned in 100% of fixtures
MEM-12 Test Memory snippets placed in data layer with provenance tags Assembler output test passes
MEM-13 Test Retrieval cap and token budget enforced No turn exceeds memory budget
MEM-14 Test TTL expiry job deletes expired records and respects legal hold Expired records gone; held records kept with reason
MEM-15 Test Consolidation keeps originals on failure and flags low-confidence merges Fixture failures leave originals intact
MEM-16 Test Erasure request removes subject data from memory, indexes, caches, checkpoints and traces Zero residual hits in post-erasure scan; receipt issued
MEM-17 Test User view, correct and delete controls work end to end Changes reflected in next session
MEM-18 Test Load test of retrieval at peak with full store p95 retrieval latency within budget
MEM-19 Release Procedural memory changes go through PR, eval gate and label promotion No unreviewed procedural change in production
MEM-20 Run Memory growth, hit rate, write rejection rate and erasure backlog monitored Alerts configured; backlog within SLA
MEM-21 Run Periodic poisoning scan of long-term stores Scan run on schedule; findings triaged
MEM-22 Run Memory incident runbook (quarantine namespace, roll back records) drilled Drill completed within target time

Governing policies and procedures

From the CoE policy set (draft; control IDs on the policy crosswalk):

Unverified or needs review

  • The AgentCore event-expiry-duration range of 3 to 365 is from the CLI reference, which does not state the unit clearly [7]; confirm days.
  • TTL values (90-day episodic, 30 to 60-day summary, 6 to 12-month semantic) and the relevance weights come from a single vendor blog's sample design [8], not a standard. They are starting points for the CoE to confirm per client.
  • Mem0 and Zep benchmark figures are self-reported by the authors [4][5].
  • MINJA's specific success rates were not shown on the abstract page opened [13].
  • Google Memory Bank scoping and TTL details were not on the overview page opened [10]; only its security feature list was confirmed.
  • The illustrative sizing numbers are assumptions, not measurements.
  • Erasure SLA: GDPR sets "without undue delay" [15]; the CoE's numeric target needs review with client privacy teams.
  • Decision needed: whether the CoE standard allows any agent-initiated procedural memory writes, even into a review queue, for A3 and A4 agents.

Sources

  1. Cognitive Architectures for Language Agents (CoALA), Sumers, Yao, Narasimhan, Griffiths, TMLR / arXiv, https://arxiv.org/pdf/2309.02427, accessed 30 Nov 2026.
  2. Memory overview, LangGraph documentation, LangChain, https://docs.langchain.com/oss/python/langgraph/memory, accessed 30 Nov 2026.
  3. Memory tool, Claude Platform documentation, Anthropic, https://platform.claude.com/docs/en/agents-and-tools/tool-use/memory-tool, accessed 30 Nov 2026.
  4. Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory, Chhikara et al., arXiv (28 Apr 2025), https://arxiv.org/abs/2504.19413, accessed 30 Nov 2026.
  5. Zep: A Temporal Knowledge Graph Architecture for Agent Memory, Rasmussen et al., arXiv (20 Jan 2025), https://arxiv.org/abs/2501.13956, accessed 30 Nov 2026.
  6. Generative Agents: Interactive Simulacra of Human Behavior, Park et al., arXiv (2023), https://arxiv.org/pdf/2304.03442, accessed 30 Nov 2026.
  7. create-memory, AWS CLI reference for bedrock-agentcore-control, Amazon Web Services, https://docs.aws.amazon.com/cli/latest/reference/bedrock-agentcore-control/create-memory.html, accessed 30 Nov 2026.
  8. Designing lifecycle policies for AgentCore memory, AWS Machine Learning Blog (4 Sep 2026), https://aws.amazon.com/blogs/machine-learning/designing-lifecycle-policies-for-agentcore-memory/, accessed 30 Nov 2026.
  9. AgentCore Memory overview, Amazon Bedrock AgentCore Developer Guide, https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/memory.html, accessed 30 Nov 2026.
  10. Memory Bank overview, Google Cloud documentation, https://docs.cloud.google.com/agent-builder/agent-engine/memory-bank/overview, accessed 30 Nov 2026.
  11. OWASP Top 10 for Agentic Applications, OWASP GenAI Security Project (9 Dec 2025), https://genai.owasp.org/2025/12/09/owasp-top-10-for-agentic-applications-the-benchmark-for-agentic-security-in-the-age-of-autonomous-ai/, accessed 30 Nov 2026.
  12. Memory Is a Feature. It Is Also an Attack Surface, OWASP GenAI Security Project blog (13 May 2026), https://genai.owasp.org/2026/05/13/memory-is-a-feature-it-is-also-an-attack-surface/, accessed 30 Nov 2026.
  13. Memory Injection Attacks on LLM Agents via Query-Only Interaction (MINJA), Dong et al., arXiv (v5, 12 Feb 2026), https://arxiv.org/abs/2503.03704, accessed 30 Nov 2026.
  14. AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Bases, Chen et al., arXiv (17 Jul 2024), https://arxiv.org/abs/2407.12784, accessed 30 Nov 2026.
  15. Art. 17 GDPR, Right to erasure, gdpr-info.eu, https://gdpr-info.eu/art-17-gdpr/, accessed 30 Nov 2026.
  16. Manage Claude's memory (auto memory), Claude Code documentation, Anthropic, https://code.claude.com/docs/en/memory, accessed 30 Nov 2026.
  17. Effective context engineering for AI agents, Anthropic (29 Sep 2025), https://www.anthropic.com/engineering/effective-context-engineering-for-ai-agents, accessed 30 Nov 2026.
  18. Context editing, Claude Platform documentation, Anthropic, https://platform.claude.com/docs/en/build-with-claude/context-editing, accessed 30 Nov 2026.
↑