agent.memory.put
Write or replace a private memory entry for the calling agent as JSON, with optional TTL. Enables persistent state across API calls.
Instructions
Write/replace a memory entry in the calling agent's private KV store. Namespace = your x402 signing pubkey. Value is arbitrary JSON ≤64 KiB. Optional TTL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | 1-200 chars from [A-Za-z0-9._/-]. | |
| value | Yes | Arbitrary JSON. | |
| ttlSeconds | No |