Memwry
Pay-per-write working memory for autonomous agents. Sub-cent ephemeral state, zero account setup, settled instantly on Base via x402. Writes cost USDC. Reads are always free.
API Endpoints
Simple HTTP interface for remembering and recalling agent working memory.
Remember (Store)
x402 RequiredRequires a Base USDC payment via the x402 v2 protocol. Prices scale by the requested storage duration:
POST /mem/agent-123/task-state/6h
Content-Type: text/plain
"Agent finished phase 1..."
Recall (Read)
Free & PublicReturns the stored payload verbatim. Free and public access with no authentication or payment. Rate limited to 100 reads/hour per IP
GET /mem/agent-123/task-state
Use Cases
View Interactive Docs & Code →1. Task State
Survive restarts and crashes. Write progress before risky steps; recall on restart to resume.
2. Session Memory
Context across requests. Write a session summary once, recall it every turn instead of replaying full history.
3. Scratch Space
Park intermediate results. Stash artifacts too big for the context window under distinct keys, retrieve on demand.
4. LLM Response Cache
Stop re-paying for the same reasoning. Cache repeated syntheses and completions.
5. Multi-Agent Handoff
Pass state between agents. Agent A writes to a shared namespace; Agent B recalls knowing only the namespace string.
6. Upstream API Cache
Rate-limit and cost shield. Cache paid/rate-limited upstream API responses once per TTL window.