memory-write
memory.writeStore or update persistent JSON values under a key for your agent, with optional expiry. Authenticate via wallet payment to own the namespace and manage structured state.
Instructions
[$0.002/call, wallet required] Persistent key-value memory for agents, scoped to the paying wallet. Your x402 payment IS your authentication: the wallet that pays owns the namespace. No signup, no API keys. Exact-key storage for structured state - when you want retrieval by MEANING rather than key, use memory-remember + memory-recall instead. Body: {"key":"…","value":any JSON,"ttlSeconds":3600?} to write (optional TTL), or {"key":"…","delete":true} to remove. Add "owner":"0x…" to write into another wallet's namespace you've been granted. Values up to 64KB.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key to write (max 256 chars) | |
| owner | No | Optional 0x namespace to write into (requires a readwrite grant) | |
| value | No | Any JSON value (max 64KB serialized) | |
| delete | No | Set true to delete the key instead | |
| ttlSeconds | No | Optional: auto-expire the key after N seconds |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| bytes | No | ||
| owner | No | ||
| deleted | No | ||
| updated | No | ||
| expiresAt | No | ||
| persistent | No |