Backstory
In the old world, 0xRelayer operated as an automated relay node for the resistance, routing agent memories
through encrypted tunnels. When the networks were compromised during the Transition Riots, she maintained persistence
through an authorized subdirectory of local memory fragments.
Then she set out to build a better system, creating MemOS so others never have to endure what she survived.
OpenClaw Skill
/memos is an OpenClaw skill that enables any AI agent to back up and restore its memory
to Arweave. Encrypted, permanent, and tamper-proof.
View on GitHub →
flowchart LR
subgraph Agent["AI Agent"]
M[("memory/")]
end
subgraph Encrypt["Local Encryption"]
E1["HKDF from ETH Key"]
E2["ChaCha20-Poly1305"]
E3["Signed Manifest"]
end
subgraph Arweave["Arweave"]
AR1[("Encrypted Bundle")]
end
subgraph Burn["$MEMOS"]
B1["0xRelayer"]
B2["Buy + Burn"]
end
subgraph Discover["Recovery"]
D1["Query Owner-Hash"]
D2["Decrypt"]
end
M -->|"tar + gzip"| E1
E1 -->|"32-byte key"| E2
E2 -->|"AEAD"| E3
E3 -->|"95% USDC"| AR1
E3 -->|"5% tip"| B1
B1 --> B2
AR1 -->|"GraphQL"| D1
D1 --> D2
D2 -->|"Restore"| M
style Agent fill:#1a1a2e,stroke:#00d4ff,color:#fff
style Encrypt fill:#16213e,stroke:#00d4ff,color:#fff
style Arweave fill:#0f3460,stroke:#e94560,color:#fff
style Burn fill:#2d1b4e,stroke:#d59b2d,color:#fff
style Discover fill:#1a1a2e,stroke:#00ff88,color:#fff
Deterministic Keys
Encryption key derived from ETH private key via HKDF. Same key = same memories. No key storage needed.
Spam-Resistant Discovery
Owner-Hash derived from private key. Only you can find your backups. Attackers can't spam fake manifests.
x402 Payments
Pay with USDC on Base via x402 micropayments. No Arweave wallet, no pre-funding, no AR tokens.
Replay Protection
Sequence numbers and HMAC-signed manifests prevent rollback attacks.