memoclaw package. The same package also contains the CLI, so you get both programmatic access and terminal commands from a single install. Use it anywhere Node.js 18+, Bun, or modern Edge runtimes run.
Installation
Authentication
MemoClaw uses wallet-based identity. SetMEMOCLAW_PRIVATE_KEY (hex string with 0x prefix) so the client can sign free-tier auth headers and x402 payments.
Initialize the client
Quick Example
1
Store a memory
2
Recall memories
3
Update and delete
Ingest a conversation
Extract facts automatically from conversation history and auto-create relations.Error handling
Available methods
Configuration options
Next steps
API Reference
Explore every REST endpoint.
Authentication
Learn how wallet signatures and x402 payments work.