Memory Providers
In addition to local file-based memory, MonoClaw supports external memory providers that offer advanced features like semantic search, user modeling, and cross-device sync.
Available providers
| Provider | Features | Best for |
|---|---|---|
| Honcho | Dialectic reasoning, multi-agent user modeling | Deep personalization |
| OpenViking | Vector search, knowledge graphs | Research and knowledge bases |
| Mem0 | Simple API, fast setup | Quick semantic memory |
| Hindsight | Temporal reasoning, event chains | Time-aware recall |
| Holographic | Distributed memory, edge sync | Multi-device deployments |
| RetainDB | SQL-backed, structured queries | Audit trails, compliance |
| ByteRover | File-centric, local-first | Document-heavy workflows |
| Supermemory | Social memory, team shared | Collaborative teams |
Honcho (recommended)
Honcho is the most capable memory provider. See the dedicated Honcho guide for setup instructions.
Quick setup
Switch memory providers:
monoclaw config set memory.provider honcho
monoclaw config set HONCHO_API_KEY "your-key"
Or in config.yaml:
memory:
provider: mem0
mem0:
api_key: "${MEM0_API_KEY}"
Provider comparison
Local vs cloud
| Local (file-based) | Cloud providers | |
|---|---|---|
| Privacy | Fully local | Encrypted cloud storage |
| Search | Keyword + regex | Semantic vector search |
| User modeling | Basic | Advanced (Honcho) |
| Cross-device | Manual sync | Automatic |
| Cost | Free | Provider-dependent |
Switching providers
monoclaw memory provider switch honcho
Existing local memories are preserved but not automatically migrated. Export first:
monoclaw memory export > backup-memory.md
Custom memory providers
You can build a custom memory provider as a plugin. Implement the MemoryProvider interface:
from monoclaw.plugins import MemoryProvider
class MyMemoryProvider(MemoryProvider):
def store(self, key: str, value: str) -> None:
...
def retrieve(self, query: str) -> list[str]:
...
def delete(self, key: str) -> None:
...
Register it in your plugin's plugin.yaml:
memory_providers:
my_provider: MyMemoryProvider
Troubleshooting
| Problem | Fix |
|---|---|
| "Provider not found" | Install the provider extra: uv pip install -e ".[honcho]" |
| "API key invalid" | Check your provider dashboard for the correct key |
| Slow memory retrieval | Use a local provider or enable caching |
| Memories not syncing | Check provider-specific sync settings |