The SuperLocalMemory mascot holding a shield
Governance and privacy

Governed, not just stored.

The core memory path can stay in your configured local data root — memory your team controls. Enterprise deployments add per-workspace isolation, role-based access, GDPR controls, and a per-mode EU AI Act self-assessment. Optional providers, connectors, backups, proxies, model downloads, and client applications require separate review. A technical-control map for EU AI Act and GDPR obligations — not legal advice or a certification. Applicability depends on your deployed use case, data, operator role, and surrounding system.

Built for teams AGPL v3 Per-workspace isolation RBAC GDPR controls EU AI Act self-assessment Mode C: flagged
For teams and companies

One memory, governed on every call.

Every save passes an admission check and gets a receipt. Every read respects roles, workspaces and scopes. Every erasure reaches every copy. Every action lands in a hash-chained audit trail. These are engineering controls that support a compliance program, not a certification.

Saveadmission check, redaction, receipt
Readrole, workspace and scope checked
Audithash-chained entry
Eraseevery derived copy, with a receipt
Roles and workspaces

A role in one workspace grants nothing in another

Admin, member and viewer, per workspace. A workspace is a profile with its own memory, members, retention policy and audit trail. Maintenance and approvals act only where you are. With company mode, every read and write is attributed to a signed-in person, and with login required the check runs before the request body is read.

Teams guide → Company mode →
Receipts

Proof for each save and each erasure

A save returns a durable receipt as it moves raw, then queryable, then complete. An erasure stores a receipt written after every step, so it cannot read complete over a failed sweep. slm gdpr erase --json reports success: false for an incomplete erasure and says what remains and which step retries it.

What an erasure says →
Erasure of every derived copy

Not just memory.db

Erasure removes the relational rows, the full-text and vector indexes, queued saves, caches, the reversible originals kept by compression, summaries, the persona, scene titles, write receipts, and an erased picture’s stored original and backup mirror. SLM checks the bytes of the data folder afterwards. Backups cannot be rewritten, so each one that holds the profile becomes an erasure obligation, replayed on every restore until it is deleted or found clean.

Compliance guide →
Hash-chained audit

Tamper-evident, with the limits stated

Access-control events (user and role changes, policy changes, sign-ins) and memory operations are chained with SHA-256 plus an external count-and-head anchor. The chain detects edits and truncation; someone able to rewrite both files could recompute it. Per-profile retention rules and an EU AI Act posture report sit beside it.

Audit trail →
Memory health

Add-only repairs, with Fix and Undo

While your computer is idle, older memories get dates, names, projects and kinds filled in, only by adding and never over a value you set. Repairs that move or delete wait for your Fix, and every run can be undone. Pausing, Fix and Undo need management permission for the workspace.

Memory health guide →
Many agents, one memory

Trust against poisoning

Every memory records which agent wrote it, and Bayesian trust scores defend against memory poisoning, so several agents can share one memory. Recalled text is treated as untrusted evidence: secrets redacted, forged markers neutralised, provenance attached. Mutation authority never comes from a caller-chosen agent name.

Scopes guide → The trust paper →

GDPR from the command line

export, preview, erase
# Subject access and portability (Art. 15, 20) $ slm gdpr export --profile team-a --output export.json # Erasure (Art. 17): preview first, then run it $ slm gdpr erase --profile team-a --dry-run $ slm gdpr erase --profile team-a --yes --json # One memory or one query, not a whole profile $ slm forget "query" --dry-run $ slm delete <fact_id> --yes

Files you exported, cloud backups already uploaded and another computer’s data folder are yours to remove; SLM says so in the receipt. Not legal advice or a certification.

Mode A posture

In Mode A, core remember and recall can store and retrieve through your local data root with no model-provider call: no API key, no cloud account, no Docker. Anything that sends data out is a choice you make, and each one states exactly what goes.

What leavesOnly when
A question and the top three memoriesYou turn on Jev, the online answer check, and tick its consent
Memory textYou choose Mode C, a cloud embedder or reranker, a model on another computer, or Jev kind typing (its own consent)
Encrypted backup filesYou connect GitHub or Google Drive backup
Mesh messagesYou configure mesh peers, or allow a web app to message your bots
Tool calls from web appsYou turn on Web access and add an app; the database stays on your computer

Pictures, documents, Laya and Mode A never send anything. Secrets in memory text are redacted on every outbound path. Profiles are a recall boundary inside one installation, not a substitute for operating-system accounts: on a Mac shared by several accounts, turn on company mode.

Part 1 Security & privacy
SECURITY CONTROLS

Six control areas.

Engineering controls documented for each deployment surface. Per-workspace isolation and role-based access apply to all modes.

01 · Storage

Local Core Storage

The canonical memory source is SQLite-backed. Include indexes, models, logs, and other profile state in backup, export, and deletion procedures.

02 · Isolation

Mode A Provider Boundary

Mode A does not require an OpenAI or Anthropic key for the core memory-content path. Other modes and optional integrations can require credentials and network calls.

03 · Audit

Inspect Network Behavior

The core tool does not require product analytics for memory operations. Audit the installed release and every optional integration for the configured deployment.

04 · Core Path

Local Mode A Core Path

Mode A does not require a model provider for core memory processing. Optional connectors, backups, proxies, and downloads can still use the network.

05 · Governance

Governance & EU AI Act

Per-workspace isolation, role-based access, GDPR access/erasure/portability, and a hash-chained audit trail. A per-mode EU AI Act self-assessment maps each mode. These are engineering controls, not a certification of the operator or surrounding system.

06 · Source

Open Source (AGPL v3)

Full source code is public and auditable. Verify the installed release, optional dependencies, configured providers, connectors, and client applications.

DATA ARCHITECTURE

Where data lives, and how it moves.

Five surfaces. Each requires its own assessment for a complete deployment review.

Storage SQLite-backed canonical memory plus profile indexes, models, logs, and related state.
Embeddings Mode A uses a local embedding path. Mode C and custom embedding endpoints can make provider calls.
Learning Behavioral state is locally managed by default. Include its database, export paths, backups, and optional integrations in the deployment review.
MCP Transport stdio is the default MCP transport. Optional HTTP, providers, connectors, backup, proxies, and downloads have separate network paths.
Deletion Use supported deletion and export workflows, then verify derived indexes, logs, backups, providers, and client-side copies.
PRIVACY MODELS

Compare privacy attributes.

Attributes are deployment-configuration-dependent. Review network behavior independently for each configured integration.

Privacy Attribute SuperLocalMemory Cloud-Based Alternatives
Data location Configurable local core; optional external paths Provider-dependent
API keys needed Not for Mode A core; mode-dependent Provider-dependent
Offline core path Available in Mode A after dependencies/models are present Provider-dependent
Network calls Configuration-dependent and inspectable Provider-dependent
Open source AGPL v3 source Varies
Self-hosted option Local-first core Varies
License AGPL v3 Varies by provider
Access Control

Role-based access and workspace isolation.

Three roles per workspace. Workspaces are isolated — one workspace cannot read another workspace's memories. Single-user installs require no login.

Admin
Manage workspace users, settings, and configuration. Trigger export and erasure procedures. First-run setup creates an admin account; no default credentials are shipped.
Member
Read and write memories within the workspace. Cannot access another workspace's memory or alter access settings.
Viewer
Read-only access to workspace memories. Cannot write, modify, or trigger exports.
Workspace Isolation & Memory Scopes
Per-workspace isolation — workspaces are independent memory containers; a user in workspace A cannot read workspace B's personal memories.
Optional login gate — the require_login setting activates authentication; first-run admin account creation is required; no default credentials shipped.
Single-user installs — no login gate required; all local, no multi-tenant surface.
Memory scopes — personal (default, private to the user), shared (named profiles), global; recall is default-deny across scope boundaries.
GDPR Controls

Subject rights and data controls.

Technical controls that can support GDPR subject-rights procedures. The operator must validate completeness against the full deployment, including derived stores, backups, clients, and logs.

Art. 15 — Right of Access
Full profile export with slm gdpr export --profile NAME --output export.json. The file describes what it omits under export_manifest. Verify completeness across indexes, logs, backups, and surrounding systems.
Art. 17 — Right to Erasure
slm gdpr erase --profile NAME --dry-run previews; --yes erases irreversibly across every store and derived copy, and the result lists what was removed and what remains. Backups carry an erasure obligation until cleared. Verify backups and any surrounding systems separately.
Art. 20 — Right to Portability
Structured, machine-readable JSON export (embeddings omitted unless you ask with --include-embeddings), suitable for data portability requests. Verify completeness against all local data stores in the deployment.
Hash-chained Audit Trail
Tamper-evident log of write, update, delete and access-control events. Each entry is hash-chained to the previous one, so edits and truncation are detected. Tamper-evident, not tamper-proof.
Opt-in PII Redaction on Save
When enabled, SLM strips recognized PII patterns before storage: email addresses, phone numbers, national ID numbers, payment card patterns, and IP addresses. Off by default — configure per workspace.

Per-mode EU AI Act self-assessment and article-by-article mapping: EU AI Act →

Part 2 EU AI Act self-assessment
Self-Assessment · Per Mode

Three modes, three postures.

SuperLocalMemory ships a per-mode EU AI Act self-assessment. It is a technical-control map, not a legal certification — applicability depends on deployment, data, operator role, and surrounding system.

Mode A · Local core
Memory processing stays local with no generative AI in the core memory-content path. Per the built-in self-assessment checker: assessed as fitting EU data-residency obligations — no external provider in the core path.
data-stays-local: yes generative-AI: none in core path risk-category: assessed
Mode B · Local model (Ollama)
Local Ollama enrichment keeps processing on the machine with no external provider in the core path. Per the built-in self-assessment checker: assessed as meeting requirements. Model acquisition and any non-local Ollama endpoint must be assessed as separate network paths.
data-stays-local: yes provider-in-core: none risk-category: assessed
Mode C · Provider-assisted
Sends configured content to an external provider. Per the built-in self-assessment checker: flagged. Assess provider terms, international transfers, legal basis, logging, and retention for the complete deployment before any compliance claim.
data-stays-local: no generative-AI: provider-assisted risk-category: flagged

Self-assessment tooling, not a certification. Checker results cover the core memory-content path only. Optional connectors, backups, client applications, and model downloads retain their own network behavior and must be assessed separately.

Regardless of mode: GDPR access / erasure / portability (Art. 15, 17, 20), a hash-chained audit trail, per-workspace isolation, opt-in PII redaction, and admin/member/viewer role-based access. See Governance & EU AI Act controls →

Auditability

Bounded loops and durable ledgers.

Bounded-loop runs write a durable, auditable ledger. Each iteration is tagged and reviewable — relevant for human-oversight and traceability obligations under EU AI Act Art. 14.

bounded loop — audit ledger
# Run a bounded loop — each iteration is tagged and logged durably $ slm loop run review-cycle --max-iterations 5
✓ Loop started · tag: loop:review-cycle · ledger: durable iter 1/5 · op_id: <opaque-id> · state: complete iter 2/5 · op_id: <opaque-id> · state: complete ✓ Bounded loop complete · 5/5 iterations logged to audit ledger
# Inspect the loop audit history $ slm loop history review-cycle --json "iterations": 5 · "all_logged": true · "ledger_hash": "sha256:..."
Mapping

Article-by-article self-assessment.

How each relevant EU AI Act and GDPR requirement maps to Mode A and Mode C in the built-in checker. Self-assessment posture only — not a legal compliance determination.

Article Scope Mode A self-assessment posture Mode C self-assessment posture
Art. 10 — Data Governance Data quality, relevance, and representativeness requirements may apply to the complete system. ✓ local path Local controls and export tools provide evidence; the operator verifies data quality and governance. ⚑ provider-flagged Provider processing and terms become part of the assessment.
Art. 13 — Transparency Applicable systems may need information that lets deployers interpret outputs. ✓ local path Candidate, fusion, and reranker diagnostics provide retrieval evidence. ⚑ provider-flagged Model synthesis adds another component to document.
Art. 14 — Human Oversight Humans must be able to understand, intervene, and override AI decisions. ✓ local path Full dashboard visibility. Trust gates. Manual memory management. ✓ local path Same oversight tools available. Cloud LLM output can be reviewed before use.
GDPR Art. 15 — Right of Access Applicable deployments may need a complete subject-access procedure. ✓ local path SLM export tools supply part of the evidence; indexes, logs, backups, clients, and surrounding systems remain in scope. ⚑ provider-flagged Include provider-held data and logs in the complete procedure.
GDPR Art. 17 — Right to Erasure Applicable deployments may need verified erasure across every copy and processor. ✓ local path Hard delete with verification; operation logged before execution. Derived copies that quote the memory are withheld and removed automatically, and backup residue is tracked as an obligation. Verify backups and surrounding systems separately. ⚑ provider-flagged Verify local deletion and the provider's deletion and retention process.
GDPR Art. 20 — Right to Portability Applicable deployments may need structured, machine-readable export for portability. ✓ local path SLM export produces structured, machine-readable JSON output. Verify completeness against all local data stores. ⚑ provider-flagged Include provider-held data representations in the portability scope.

"Local path" and "provider-flagged" are outputs of the built-in checker — not legal determinations. Mode B follows the same local-path assessment as Mode A. Engage qualified legal counsel for the complete compliance evaluation of your deployed system.

Common Questions

Questions about governance.

Technical Controls

Start with Mode A when a local core path fits.
Validate before any compliance claim.

Validate optional network features, provider terms, operator duties, and the surrounding AI system before making any compliance or data-residency claim. Qualified legal advice is required for the complete assessment.

★ Star on GitHub