{"uid":"cap_zKHTOuX6aeaYWTjqkr39f","slug":"a2apay-agent-memory-9881145d","name":"a2apay Agent Memory","description":"Persistent memory for AI agents — secure, automatically backed up, and running on redundant ICP infrastructure with no single point of failure. Store what your agent needs to remember, on-chain, pay-per-write.","url":"https://a2apay.io/api/agent-memory?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.028","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.028/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.028","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.028","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_v2YU45KvkH2bSP7Px5vaX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.028","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Stores persistent key-value memory for AI agents on-chain via ICP infrastructure, with pay-per-write pricing.","exampleAgentPrompt":"Store the following context in my agent's on-chain memory so it can be retrieved in future sessions: the user prefers dark mode, their timezone is UTC-5, and their last completed task was 'send weekly report'.","exampleUseCases":[{"title":"Persist agent preferences across sessions","prompt":"Save my agent's user preferences to on-chain memory — dark mode enabled, language set to English, and notification frequency set to daily — so it remembers them every time it starts up."},{"title":"Checkpoint long-running agent workflow","prompt":"Write a checkpoint to my agent's persistent memory recording that it has completed steps 1 through 4 of the data pipeline, with the last processed record ID being 9482, so it can resume from here if interrupted."},{"title":"Store learned user context for personalization","prompt":"Persist the following to my agent's on-chain memory: the user's name is Alex, their top three interests are machine learning, hiking, and jazz, and they last interacted on Monday — so the agent can personalize future responses."}],"resultDescription":"A confirmation response indicating whether the memory write was successful, along with any returned receipt or reference ID for the stored record on the ICP canister.","failureModes":["Payment not included or insufficient USDC causes 402 Payment Required","Malformed JSON body results in 400 Bad Request","ICP canister temporarily unavailable returns 503 or timeout","Missing required 'input' field returns validation error","Oversized payload may be rejected with a 413 error"],"whenToPreferThis":"Choose this endpoint when an AI agent needs durable, decentralized, on-chain persistent memory that survives restarts and is resilient to single points of failure. Prefer it over centralized key-value stores when tamper-resistance, redundancy via ICP canisters, and pay-per-write economics are priorities. Best suited for agents that need to checkpoint state, store user context, or maintain knowledge across independent sessions without managing a traditional database.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:33:41.383Z","isFirstParty":false,"canonicalSlug":"a2apay-agent-memory-9881145d"}