attested-memory
Python client and CLI for Attested Memory — verifiable memory
for AI agents. Every call is signed by your own Ed25519 actor key; the private key never
leaves your machine. A memory you read is checked here, on the client, against the
content_hash the hub recorded, so a changed text is refused instead of trusted.
pip install attested-memory
attested-memory init # your actor key → ~/.config/attested-memory/actor.json (0600)
attested-memory trial # 7-day personal key, bound to that actor
attested-memory write "Supplier terms" "Net 30, EUR, signed 2026-09-01" --tag finance --source contract-17
attested-memory search supplier
attested-memory read mem_…
from attested_memory import Actor, Client
actor = Actor.generate() # or Actor.load("actor.json")
client = Client(actor)
client.start_trial() # or Client(actor, api_key="ask_…")
unit = client.write("Supplier terms", "Net 30", tags=["finance"])
client.read(unit["id"]) # raises IntegrityError if the text does not match its hash
What is checked where:
| where | |
|---|---|
your identity (did:actor: + SHA-256 of your public key) and a one-time signed proof per request |
client signs, server verifies |
the text of a memory matches its content_hash |
this client |
truth (supported / contested / rejected) and provenance (attested receipt) |
reported by the hub |
Actor proof v2 binds the recipient audience, method, final path, ordered query
pairs and SHA-256 of the exact body bytes. A captured proof cannot authorize a
different request. Nonces are persisted by the service, including across worker
restarts. Client handles these targets automatically; direct callers must pass
audience, method, path and the exact body bytes to Actor.proof_headers.
Legacy identity-only proofs are refused. See the
wire contract.
Environment for the CLI: ATTESTED_MEMORY_HOME, ATTESTED_MEMORY_URL, ATTESTED_MEMORY_API_KEY.
Apache-2.0. Source: alexar76/attested-memory (clients/python).
Metadata
Release files for attested-memory 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| attested_memory-0.2.0.tar.gz | 10.4 kB | Without provenance | Details for attested_memory-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| attested_memory-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for attested_memory-0.2.0-py3-none-any.whl |
Total release size: 20.8 kB
Release files / attested_memory-0.2.0.tar.gz
| Download URL | attested_memory-0.2.0.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ddec3b7976d46d5421942495f2c49d4d5662e5a7d1ae379035c3d84c238afc8c
|
|
BLAKE2b-256 checksum How to use checksums |
b3ed3778bfdf890ee476e961aea62b10180208ba4b6628905a4341c1cfa19a38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / attested_memory-0.2.0-py3-none-any.whl
| Download URL | attested_memory-0.2.0-py3-none-any.whl |
|---|---|
| Size | 10.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
08bdf52de756c14c4fbece8836f8122bec38c3bf1ed7bdd477a7ad597c560cfe
|
|
BLAKE2b-256 checksum How to use checksums |
9ee7eb5f91311be1de9eba661c8595afd432570d4e70155ab7e7f3ba6641c4da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Security for attested-memory 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.