[bmdpat]
x402agentic.marketBase Mainnet

Agent Memory API

Persistent key-value memory for AI agents. Pay per call in USDC on Base — no API keys, no subscriptions, no accounts. Implements the x402 payment protocol so any x402-compatible agent pays automatically.

Endpoints

POST/api/memory/store
$0.005

Store or update a memory entry by namespace + key

{ "namespace": "my-agent", "key": "user-pref", "value": { "theme": "dark" } }
POST/api/memory/recall
$0.003

Recall a specific key or all entries in a namespace

{ "namespace": "my-agent", "key": "user-pref" }
DELETE/api/memory/forget
$0.001

Delete a specific memory entry

{ "namespace": "my-agent", "key": "user-pref" }
GET/api/memory/stats
$0.001

Get total memory count and active namespaces

How it works

  1. 1.Call any endpoint. The server returns 402 Payment Required with USDC payment details.
  2. 2.Your x402-compatible client pays the exact amount in USDC on Base Mainnet and replays the request with a payment header.
  3. 3.The facilitator at x402.org/facilitator verifies the payment and the request proceeds.
  4. 4.Your memory is stored, recalled, or deleted. USDC settles on-chain.

Compatibility

Protocolx402 v1
NetworkBase Mainnet (eip155:8453)
TokenUSDC
Schemeexact
Facilitatorx402.org/facilitator
Directoryagentic.market

Resources

Get The One-Person Holdco (free PDF)

How one human plus twelve AI agents runs a seven-pillar portfolio with no employees.