ApertoMemory — portable, client-side-encrypted, user-owned AI memory
Project description
amem — ApertoMemory reference implementation (v0.1)
Memoria AI portabile, cifrata lato client, di proprietà dell'utente.
export AMEM_PASSPHRASE="la-tua-passphrase"
amem --vault ~/.amem init
amem --vault ~/.amem scope add default
amem --vault ~/.amem seal "preferisce email B2B formali" --tags preferences
amem --vault ~/.amem open <id>
amem --vault ~/.amem export mia-memoria.amem # portala dove vuoi
amem --vault altro-device import mia-memoria.amem
Crittografia (spec §4-§6): Argon2id (m=64MiB, t=3, p=4) → HKDF-SHA256 → Ed25519 (firma, sign-then-encrypt) + X25519 (ECDH-ES + AES-KW per le KEK di scope) → AES-256-GCM per oggetto (COSE alg 3), CBOR canonico RFC 8949 §4.2. Il vault e il file .amem non contengono mai chiavi o contenuti in chiaro.
Test: python3 tests/test_roundtrip.py
Adapter MCP (Claude Desktop / Claude Code)
{
"mcpServers": {
"amem": {
"command": "python3",
"args": ["-m", "amem.mcp_server"],
"env": {"AMEM_VAULT": "/percorso/vault", "AMEM_PASSPHRASE": "la-tua-passphrase"}
}
}
}
Tool esposti: amem_remember, amem_recall, amem_export,
amem_import, amem_status. La passphrase vive solo nell'ambiente locale:
il modello non la vede mai. Demo "nuovo device": amem_export → sposti il
file .amem → amem_import su un vault vergine → amem_recall e l'AI ti
conosce già.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file apertomemory-0.1.0.tar.gz.
File metadata
- Download URL: apertomemory-0.1.0.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a20410b9303f301d1a84083b1e8b46f185c8d187bc303734b61dc8717ce59163
|
|
| MD5 |
1e3337a9fec3e28787f1d4a66bd5ab73
|
|
| BLAKE2b-256 |
9545f6295d8d3e6262625b3a5d7445367647c264982b37f6ff7110a3368d0173
|
File details
Details for the file apertomemory-0.1.0-py3-none-any.whl.
File metadata
- Download URL: apertomemory-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a07889a07829f53886140135c5fb532cd617241209731992f39b8b7f378f081
|
|
| MD5 |
458d8f029cca8c0f4c4037c709729d2a
|
|
| BLAKE2b-256 |
ebc1c48db7abb86ec679151b90686451c22762c8250d86eb3a5803c1a5528983
|