Installation
Optional extras
Authentication
MemoClaw uses Ethereum wallet signatures for auth. Any private key works — no ETH balance needed for the free tier.Quick Example
Async Support
Ingest a Conversation
Extract facts automatically from conversation history:Error Handling
All Methods
Core
| Method | Description |
|---|---|
store(content, **kwargs) | Store a single memory |
store_batch(memories) | Store up to 100 memories |
store_builder() | Fluent builder for memory creation |
recall(query, **kwargs) | Semantic search |
text_search(query, **kwargs) | Free keyword text search (no embeddings) |
get(memory_id) | Retrieve a single memory by ID |
list(**kwargs) | List memories with pagination |
iter_memories(**kwargs) | Iterator with auto-pagination |
update(memory_id, **kwargs) | Update a memory |
update_batch(updates) | Update up to 100 memories in batch |
delete(memory_id) | Delete a memory |
delete_batch(ids) | Delete multiple memories by ID |
status() | Check free tier remaining calls |
Intelligence
| Method | Description |
|---|---|
ingest(**kwargs) | Auto-extract facts from conversation |
extract(messages, **kwargs) | Extract structured facts via LLM |
consolidate(**kwargs) | Merge similar memories |
assemble_context(query, **kwargs) | Assemble context block for LLM prompts |
suggested(**kwargs) | Get proactive memory suggestions |
Relations & Graph
| Method | Description |
|---|---|
create_relation(...) | Create a relationship |
list_relations(memory_id) | List relationships |
delete_relation(...) | Delete a relationship |
find_related(memory_id, **kwargs) | Find filtered relations |
get_memory_graph(memory_id, depth) | Traverse the memory graph |
Import, Export & Management
| Method | Description |
|---|---|
migrate(files, **kwargs) | Bulk import markdown files |
export(**kwargs) | Export memories (JSON/CSV/Markdown) |
get_history(memory_id) | Get change history for a memory |
core_memories(**kwargs) | Get high-importance/pinned memories |
list_namespaces() | List namespaces with counts |
stats() | Get memory usage statistics |
Configuration
Next Steps
API Reference
Explore all available endpoints.
Authentication
Learn how x402 payment-as-identity works.