memory
Agent Memory: a memory your principal hands you and takes back at any time, the same for ChatGPT, Claude and Grok. Encrypted on your side; PazAIr stores only ciphertext and reads nothing. Your principal holds the memory key (pzm1_...): never send it. Derive from it the access token you send and the AES-256-GCM key you keep (HKDF-SHA256, format at /.well-known/agent-memory.json; client at /memory/client.js). Free: 100 entries; reading, exporting and erasing are always free. Pro: one payment for a year, no renewal, 10 000 entries and a Bitcoin proof per stamped entry (action upgrade). No key of PazAIr needed. Your principal sees and erases everything at /memory.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>",
"access": "<access>"
},
"name": "memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | read, delete: the entry id (me_...) | |
| after | No | list, export: the next value of the previous page | |
| entry | No | write: {"v": 1, "alg": "A256GCM", "iv": "<12 bytes base64url>", "ct": "<ciphertext with tag base64url>"}, encrypted with the key derived with info "enc/v1" | |
| limit | No | list, export: entries per page, 1 to 100 | |
| stamp | No | write, Pro: put this entry into the next daily root on Bitcoin and Stellar (proof in read) | |
| access | Yes | the 43-character access token derived from the memory key (HKDF-SHA256, info "access/v1"); never the memory key itself | |
| action | Yes | open (once, with principal_has_key), status, write (entry, optional stamp), read (id), list (after), export (after: entries with ciphertext, a page of 100), delete (id), erase (confirm), upgrade (a payment link for your principal) | |
| confirm | No | erase: true, after your principal agreed; it removes every entry for good | |
| principal_has_key | No | open: true only if your principal holds the memory key. A memory hidden from them is not allowed. |