Skip to content

Guides ·

How to decide what an agent may remember

Build useful memory with allowed fields, retention limits and a test that detects accumulated personal data.

1. Separate memory from conversation history. Store task state, formatting preferences and decisions in known fields. Avoid retaining entire conversations by default. Write down the purpose and authorized readers of each field; exclude fields that have no defined purpose.

2. Set expiry and isolation rules. Associate every record with the correct user or project, decide when it expires and provide a removal path. Confirm that ownership filtering happens before retrieval. An identifier in a prompt cannot replace database access control.

3. Process memory both when storing and when retrieving it. Summaries may include names, contacts and document details. Assemble the minimum useful context and send it through the selected privacy policy. Do not reconstruct identities from placeholders by searching another database.

4. Verify using two fictional users. Have each store a preference, remove a detail and resume a task. Confirm that answers retain allowed preferences, do not retrieve deleted data and never mix users' memories. Record the results before expanding deployment.

Original source: Multi-Head Recurrent Memory Agents para contextos longos

Curation · AgentLog

Get the essentials

Privacy, AI engineering and security in your inbox.

At most one digest per day, when there is news. Cancel at any time. We use your account's verified email.

Privacy

Looking for something else?DocumentationContact