
The Private Assistant: On-Device AI and Data Minimization
On-device AI gives teams a path to personalization without sending every signal, document, or user action to a centralized service.
Read MoreZharfAI Team

Long-term memory can make an AI assistant feel dramatically more useful. It can remember a preferred writing style, the constraints of an ongoing project, or that a customer has already tried a failed troubleshooting step. But memory also changes the risk model. A system can retrieve an obsolete address, apply a personal preference to a shared workspace, expose sensitive context to the wrong tool, or keep using an inference the user never intended to save.
The engineering goal is therefore not maximum recall. It is selective continuity under explicit control.
Recent research shows why this distinction matters. The 2026 Memora benchmark found that evaluated memory agents frequently reused invalidated memories and failed to reconcile information that changed over time. PerMemBench found that deciding what is worth storing differs by user and that accurate personalized storage gating remains an open problem. These are not edge cases: they describe the core difficulty of a system that treats conversation history as a durable profile.
This guide presents a product and data architecture for useful AI memory, the controls users need, the tests that expose stale or cross-context recall, and the metrics that tell a team whether personalization is helping.
Teams often put several different concepts behind a single “memory” switch. They should be modeled separately:
Each class needs different ownership, retention, access, and correction rules. A preference for concise answers may be safe across personal conversations. A client’s acquisition plan belongs only in that client workspace. A compliance rule should not become editable personal memory. An inferred preference should carry less authority than a user-confirmed setting.
The related guide to enterprise AI memory systems covers storage and retrieval patterns. The control question addressed here is narrower: when may a remembered item influence this response or action?
A memory contract is the product promise and machine-enforced policy governing what can be saved, where it can be used, and how it can be removed. Define it before implementing embeddings, a vector store, or transcript summaries.
Every durable memory record should include at least:
| Field | Purpose |
|---|---|
| Stable memory ID | Supports precise correction, deletion, and audit |
| Subject and owner | Distinguishes the person, team, project, or organization the item belongs to |
| Type | Separates preference, fact, decision, procedure, and inferred profile |
| Source reference | Points to the message, document, form, or system that produced it |
| Capture method | Marks explicit save, policy import, extraction, or model inference |
| Scope | Defines the conversations, projects, roles, and tools where use is allowed |
| Sensitivity | Drives encryption, access, display, and model-routing rules |
| Confidence and status | Separates confirmed, inferred, disputed, superseded, and expired items |
| Effective period | Records when a fact or preference became valid and when it stopped |
| Retention rule | Sets review, expiry, archival, or deletion behavior |
| Provenance | Records transformations such as extraction, translation, or summarization |
Do not overwrite a changed fact in place. Preserve the previous record as superseded, create the new version, and store the relationship between them. That makes “What did the system believe when it made this recommendation?” answerable without continuing to use obsolete information.
The write path deserves more scrutiny than retrieval because a bad write can influence hundreds of later responses.
“Use metric units for this project” is a clear instruction. “The user clicked the metric option once” is weak evidence. If the inferred item could meaningfully change future work, ask the user to confirm it or keep it as a low-confidence, short-lived hypothesis.
Before saving, evaluate:
The ICO’s AI data-minimisation guidance recommends reviewing the relevance of personal information, justifying retention, removing irrelevant information, and keeping audit trails of use and modification. Even outside the ICO’s jurisdiction, that is a sound engineering discipline.
A model may propose candidate memories, but a policy layer should decide whether to commit them. The policy can reject sensitive classes, require confirmation, assign a short expiry, or route the item into project rather than personal scope. This separation also makes the write rules testable without depending on the model’s prose.
Semantic similarity is useful for finding candidates, but it is not authorization and it is not proof of current validity. A production retrieval pipeline should apply filters in this order:
Only then should ranking decide which items fit the context budget.
For sensitive deployments, the 2026 Agent-Memory Protocol paper proposes a privacy-focused boundary pattern: redact identifiers at rest, pack only what is required for a purpose, and rehydrate protected details after model processing. It is a research proposal rather than a universal standard, but its central design lesson is strong: do not send raw identity-bearing memory to every model merely because retrieval found it.
A static “key equals value” profile breaks when a person changes jobs, moves, develops a new preference, or makes an exception for one project. Memory should represent time and scope explicitly.
Consider these statements:
The correct result is not one global tone=formal value. It is three scoped instructions with different subjects and effective contexts.
Conflict resolution should use a declared order such as:
When two items at the same authority level conflict, the system should surface the ambiguity instead of silently picking whichever embedding ranks first. Memora’s proposed Forgetting-Aware Memory Accuracy is useful here because it penalizes reliance on obsolete or invalidated information, not merely failure to retrieve a past fact.
A settings page is necessary, but insufficient. Users need controls at three moments.
Show when a workflow may save information and provide a private or temporary mode. Sensitive categories—health, finance, legal matters, precise location, credentials, and information about third parties—should default to narrower handling and often explicit save.
When memory materially shapes an answer, let the user see a plain-language reason such as “Used your project’s approved terminology” or “Used a preference saved on July 2.” Avoid exposing internal vectors or full hidden records; expose the meaningful item, scope, and source.
Offer correction, “do not use here,” expiry, and deletion from the relevant surface. Deleting a chat should not be presented as deleting durable memory if those are separate stores. Likewise, disabling future use is not the same as erasing historical audit records; the product must explain the distinction.
Current consumer products provide useful—but vendor-specific—examples. OpenAI’s memory controls announcement describes separate controls for saved memories and chat-history reference. The durable lesson is not a particular interface; it is that capture, use, and deletion need distinct, comprehensible controls.
The NIST Privacy Framework frames privacy as an enterprise risk-management discipline, not only a notice or consent screen. Apply that thinking across the memory lifecycle:
The ICO’s 2026 discussion of agentic-AI privacy risks emphasizes clear purposes, reasonable expectations, data minimisation, masking, permissions, observability, and transparency. These controls become more—not less—important when an agent can turn remembered context into external actions.
For the permission layer, see AI agent identity and authorization and least-privilege tool design.
A retrieval hit rate is not enough. Build evaluation conversations that span time, identities, projects, and corrections.
Test at least:
Track these metrics:
| Metric | What it reveals |
|---|---|
| Useful-memory precision | How often retrieved memory materially helps |
| Necessary-memory recall | Whether required context is available when needed |
| Stale-use rate | How often expired or superseded items influence output |
| Cross-scope leakage rate | Whether a memory appears outside its allowed project, tenant, or identity |
| Correction propagation time | How quickly a correction changes all relevant retrieval paths |
| Deletion completion time | How long removal takes across primary store, indexes, caches, and backups |
| Unsupported-inference rate | How often behavior is treated as a confirmed preference |
| Explanation success | Whether users can identify and change the memory that shaped an answer |
| Personalization lift | Improvement over a no-memory baseline on the actual task |
Always compare with a no-memory and a recent-context-only baseline. The 2026 EvoMemBench study reports that long-context baselines remain competitive and no single memory form works consistently across settings. If a memory layer adds complexity without measurable task benefit, do not keep it for novelty.
The broader operational AI readiness checklist can turn these controls into release gates.
No. Complete transcripts are expensive, noisy, privacy-sensitive, and often full of temporary instructions. Store only information with a defined future purpose, scope, authority, and retention rule.
No. A context window can carry recent history, but it does not solve ownership, consent, permissions, temporal validity, correction, or deletion. It may be a useful baseline and is often safer than premature durable storage.
The product should distinguish active personalization data from narrowly retained security or compliance records. Stop the deleted item from influencing future output, remove it from retrieval and derived indexes, minimize any legally required audit record, restrict its use, and explain the retention rule accurately.
Explicit, low-sensitivity, user-editable preferences—language, units, accessibility, or approved terminology—are generally easier to scope and test than inferred personality, relationship, health, or financial profiles.
This article was substantially reviewed on July 30, 2026 using:
AI memory becomes trustworthy when it can remember, abstain, update, explain, and forget with equal competence.

On-device AI gives teams a path to personalization without sending every signal, document, or user action to a centralized service.
Read More
Synthetic data needs provenance, purpose, validation, contamination controls, and a retirement rule. Artificial does not mean anonymous or harmless.
Read More
Small multimodal models can deliver private, low-latency perception on devices—if teams design around their limits instead of pretending they are miniature frontier models.
Read MoreSee the daily briefing and the operational guides. This page is an archive note, not an invitation to start a project.