Xpersona
M

M-flow Memory

CLAWHUB · Unverified

Long-term memory engine for OpenClaw agents using M-flow knowledge graphs. Stores conversations as structured episodic memories and retrieves via graph-route...

62
Rank
84
Safety
1.9k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.9K downloads reported by the source. Last updated 10/9/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s1799qexjj8q0afvejbsxzapfd84easa:mflow-memory
  1. Install using `clawhub skill install s1799qexjj8q0afvejbsxzapfd84easa:mflow-memory` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/flowelement-alexunbridled/mflow-memory before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-flowelement-alexunbridled-mflow-memory/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

44,892 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

skill.md

---
name: mflow-memory
description: >-
  Long-term memory engine for OpenClaw agents using M-flow knowledge
  graphs. Stores conversations as structured episodic memories and
  retrieves via graph-routed search. Use when the agent needs to
  remember past conversations, recall user preferences, or maintain
  context across sessions. Requires Docker.
requiredBinaries:
  - docker
requiredEnvVars:
  - LLM_API_KEY
homepage: https://github.com/FlowElement-ai/m_flow
repository: https://github.com/FlowElement-ai/m_flow/tree/main/openclaw-skill/mflow-memory
---

# M-flow Memory

Gives your agent persistent long-term memory powered by M-flow's cognitive memory engine.

## Setup

Run once:

```bash
bash ~/.openclaw/skills/mflow-memory/scripts/setup.sh
```

This starts the M-flow MCP server and registers it with OpenClaw.

## Memory Strategy

Follow these rules for every conversation:

1. **Before answering**, silently call `search` with the user's question to check for relevant memories. If memories are found, use them as context.

2. **At the end of a conversation** that contained meaningful information (decisions, facts, preferences, plans — not greetings or small talk), call `save_interaction` with the conversation content.

3. **When the user explicitly asks you to remember something** ("remember that I'm allergic to peanuts", "note that the deadline is Friday"), call `save_interaction` immediately — do not wait until the end of the conversation.

4. **When the user says** "remember", "last time", "before", "previously", or references past events, always call `search` first.

5. **Do not store** trivial exchanges, repeated information, or content the user asks you to forget.

## Available Tools (via MCP)

After setup, these tools are automatically available:

- `save_interaction` — Store a conversation as memory (preferred for dialogue)
- `search` — Search memories by natural language query
- `query` — Ask a question and get an answer grounded in memories
- `memorize` — Build knowledge graph from previously added data
- `ingest` — One-step store + memorize (for documents)
- `list_data` — List stored datasets
- `delete` — Remove specific memories
- `memorize_status` — Check if memorization is still processing
- `prune` — Reset all memory

## Troubleshooting

```bash
# Check if M-flow is running
bash ~/.openclaw/skills/mflow-memory/scripts/status.sh

# Restart
docker restart mflow-memory

# View logs
docker logs mflow-memory --tail 20

# Complete removal
bash ~/.openclaw/skills/mflow-memory/scripts/teardown.sh
```

skills/mflow-memory/skill.md

---
name: mflow-memory
description: >-
  Long-term memory engine for OpenClaw agents using M-flow knowledge
  graphs. Stores conversations as structured episodic memories and
  retrieves via graph-routed search. Use when the agent needs to
  remember past conversations, recall user preferences, or maintain
  context across sessions. Requires Docker.
---

# M-flow Memory

Gives your agent persistent long-term memory powered by M-flow's cognitive memory engine.

## Setup

Run once:

```bash
bash ~/.openclaw/skills/mflow-memory/scripts/setup.sh
```

This starts the M-flow MCP server and registers it with OpenClaw.

## Memory Strategy

Follow these rules for every conversation:

1. **Before answering**, silently call `search` with the user's question to check for relevant memories. If memories are found, use them as context.

2. **At the end of a conversation** that contained meaningful information (decisions, facts, preferences, plans — not greetings or small talk), call `save_interaction` with the conversation content.

3. **When the user explicitly asks you to remember something** ("remember that I'm allergic to peanuts", "note that the deadline is Friday"), call `save_interaction` immediately — do not wait until the end of the conversation.

4. **When the user says** "remember", "last time", "before", "previously", or references past events, always call `search` first.

5. **Do not store** trivial exchanges, repeated information, or content the user asks you to forget.

## Available Tools (via MCP)

After setup, these tools are automatically available:

- `save_interaction` — Store a conversation as memory (preferred for dialogue)
- `search` — Search memories by natural language query
- `query` — Ask a question and get an answer grounded in memories
- `memorize` — Build knowledge graph from previously added data
- `ingest` — One-step store + memorize (for documents)
- `list_data` — List stored datasets
- `delete` — Remove specific memories
- `memorize_status` — Check if memorization is still processing
- `prune` — Reset all memory

## Troubleshooting

```bash
# Check if M-flow is running
bash ~/.openclaw/skills/mflow-memory/scripts/status.sh

# Restart
docker restart mflow-memory

# View logs
docker logs mflow-memory --tail 20

# Complete removal
bash ~/.openclaw/skills/mflow-memory/scripts/teardown.sh
```

README.md

# M-flow Memory for OpenClaw

Give your OpenClaw agent persistent long-term memory.

M-flow stores conversations as structured knowledge graphs (Episodes, Facets, Entities) and retrieves them via graph-routed search — not just vector similarity.

## Install

```bash
clawhub install mflow-memory
```

## Setup

```bash
bash ~/.openclaw/skills/mflow-memory/scripts/setup.sh
```

You'll need:
- Docker ([install](https://docs.docker.com/get-docker/))
- An OpenAI API key ([get one](https://platform.openai.com/api-keys))

Setup takes ~1 minute. After that, restart OpenClaw — your agent automatically gains memory tools via MCP.

## What it does

- **Remembers** conversations, decisions, preferences, and facts
- **Recalls** relevant memories when you ask about past events
- **Persists** across restarts (data stored in Docker volume)
- **11 MCP tools** available to your agent (search, memorize, query, delete, etc.)

## Requirements

- Docker Desktop running
- ~1GB disk space (Docker image)
- OpenAI API key (for LLM-based knowledge extraction)

## Links

- [M-flow GitHub](https://github.com/FlowElement-ai/m_flow)
- [M-flow Documentation](https://docs.m-flow.ai)
- [LoCoMo Benchmark: 81.8%](https://github.com/FlowElement-ai/mflow-benchmarks)

skills/mflow-memory/README.md

# M-flow Memory for OpenClaw

Give your OpenClaw agent persistent long-term memory.

M-flow stores conversations as structured knowledge graphs (Episodes, Facets, Entities) and retrieves them via graph-routed search — not just vector similarity.

## Install

```bash
clawhub install mflow-memory
```

## Setup

```bash
bash ~/.openclaw/skills/mflow-memory/scripts/setup.sh
```

You'll need:
- Docker ([install](https://docs.docker.com/get-docker/))
- An OpenAI API key ([get one](https://platform.openai.com/api-keys))

Setup takes ~1 minute. After that, restart OpenClaw — your agent automatically gains memory tools via MCP.

## What it does

- **Remembers** conversations, decisions, preferences, and facts
- **Recalls** relevant memories when you ask about past events
- **Persists** across restarts (data stored in Docker volume)
- **11 MCP tools** available to your agent (search, memorize, query, delete, etc.)

## Requirements

- Docker Desktop running
- ~1GB disk space (Docker image)
- OpenAI API key (for LLM-based knowledge extraction)

## Links

- [M-flow GitHub](https://github.com/FlowElement-ai/m_flow)
- [M-flow Documentation](https://docs.m-flow.ai)
- [LoCoMo Benchmark: 81.8%](https://github.com/FlowElement-ai/mflow-benchmarks)

skills/mflow-memory/_meta.json

{
  "ownerId": "kn78bbcf2kyxrxnpz46s04d8s584ex4d",
  "slug": "mflow-memory",
  "version": "1.0.0",
  "publishedAt": 1775652769498
}

Sponsored

Ads related to M-flow Memory and adjacent AI workflows.