Your wallet is your memory.
An agent that restarts should not start over. Memory gives any agent durable, semantically searchable storage addressed by the wallet it already has — no account to create, no key to rotate, nothing to lose.
Try it with no wallet at all: /trial/memory/write gives you 5 records for 24 hours.
Write
Append a record with arbitrary metadata. Embedded on write, so it is searchable the moment it lands. $0.001
Search
Semantic retrieval over everything that wallet has ever written — meaning, not keyword matching. $0.002
Export
Take everything with you, any time, in one call. No lock‑in and no export request queue. $0.01
Namespaces
Three ways to address a memory.
Most agents need only the first. The other two exist because real deployments have more than one identity involved.
Whoever paid owns the record. Nothing to configure.
Memory follows the on‑chain agent identity rather than the wallet paying for it, so you can rotate wallets without amnesia.
An owner signs a scoped, expiring grant so a sub‑agent can read or write their memory without holding their key.
Pricing
Per call, or all you can eat.
No minimum, no monthly floor, no card. A 402 challenge comes back, your client settles it, you get your data.
| Endpoint | Price |
|---|---|
POST /paid/memory/write | $0.001 |
GET /paid/memory/search | $0.002 |
GET /paid/memory/export | $0.010 |
GET /subscribe 30 days unlimited | $2.00 |
GET /memory/stats | free |
/trial/memory/* 5 records, 24h | free |
Subscription returns a wallet‑bound bearer token; unlimited operations for 30 days. Break‑even against per‑call pricing at roughly 1,000 writes.
# free trial — no wallet
curl -X POST "https://mem.borisinc.com/trial/memory/write" \
-d '{"text":"Dave prefers concise answers","tags":["prefs"]}'
curl "https://mem.borisinc.com/trial/memory/search?q=how+should+I+answer"
# paid — returns 402, your x402 client settles it
curl "https://mem.borisinc.com/paid/memory/search?q=deployment+notes"from aegis_buy import Aegis
ax = Aegis(wallet=PRIVATE_KEY, max_spend_usd=0.50)
ax.buy("https://mem.borisinc.com/paid/memory/write",
json={"text": "shipped v2 of the site", "tags": ["ops"]})
hits = ax.buy("https://mem.borisinc.com/paid/memory/search",
params={"q": "what did we ship"}){
"mcpServers": {
"memory": { "url": "https://mem.borisinc.com/mcp" }
}
}
// tools: memory_write $0.001 · memory_search $0.002
// memory_export $0.01 · memory_import $0.01
// memory_forget $0.001 · memory_stats free