Skip to main content

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 .amemamem_import su un vault vergine → amem_recall e l'AI ti conosce già.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

apertomemory-0.1.0.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

apertomemory-0.1.0-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

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

Hashes for apertomemory-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a20410b9303f301d1a84083b1e8b46f185c8d187bc303734b61dc8717ce59163
MD5 1e3337a9fec3e28787f1d4a66bd5ab73
BLAKE2b-256 9545f6295d8d3e6262625b3a5d7445367647c264982b37f6ff7110a3368d0173

See more details on using hashes here.

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

Hashes for apertomemory-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6a07889a07829f53886140135c5fb532cd617241209731992f39b8b7f378f081
MD5 458d8f029cca8c0f4c4037c709729d2a
BLAKE2b-256 ebc1c48db7abb86ec679151b90686451c22762c8250d86eb3a5803c1a5528983

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page