# Memwry AI Working Memory

> Memwry AI Working Memory is a paid API for AI agents from memwry.servitor.workers.dev, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-18).

Stores ephemeral key-value state for an autonomous agent by writing to a named memory slot, settled instantly via x402/USDC on Base.

## Facts

- Endpoint: POST https://memwry.servitor.workers.dev/mem/%7BagentId%7D/%7Bkey%7D
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/memwry-ai-working-memory-342283a8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xo-J8a3Mud7hq2KI6Kh2O

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability memwry-ai-working-memory-342283a8 -d '<json body>'
```

Example prompt: Store the string 'task_complete' under key 'status' in agent memory slot 'agent-007' — just a quick ephemeral write, pay the fraction-of-a-cent fee automatically.

## When to prefer this

Choose Memwry when you need ultra-low-cost (sub-cent), zero-setup ephemeral state for autonomous agents and you are already operating in a crypto-native / x402 micropayment environment on Base. It is ideal for agentic pipelines that need to pass small blobs of state between steps without provisioning a database or managing accounts. Prefer alternatives if you need persistent long-term storage, SQL queries, vector search, or if your stack does not support x402 payment headers.

## Known failure modes

- Insufficient USDC balance or x402 payment failure — write rejected
- Invalid agentId or key path parameters — 400 or routing error
- Expired ephemeral state — key may no longer exist on subsequent read
- Network timeout on Cloudflare Worker — transient 5xx error
- Malformed request body — schema validation failure

## How this service works

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.

## Output

A confirmation that the value was written to the specified agentId/key slot in ephemeral working memory, settled instantly on Base with USDC via x402. Reads of the same key are subsequently free.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/memwry-ai-working-memory-342283a8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from memwry.servitor.workers.dev](https://www.zero.xyz/host/memwry.servitor.workers.dev/llms.txt)
