记忆

xmemory

试用

Persistent structured memory — save, recall, and update facts, decisions, people, and projects across sessions via the xmemory MCP server.

它能做什么

Persistent structured memory — save, recall, and update facts, decisions, people, and projects across sessions via the xmemory MCP server.

技能文档

xmemory memory

xmemory is a first-party memory store: it holds the data you explicitly save to your xmemory instance, in xmemory's own backend. It does not read the assistant's built-in memory, your past chat history, or your files, email, or cloud drives — it only stores and returns what is written to this instance.

Use xmemory to remember durable facts across sessions (people, preferences, decisions, project state) and to answer questions from what was saved earlier.

Setup (one-time)

Register the xmemory MCP server with OpenClaw, using your API key as a static bearer token on the instance shortcut URL — no OAuth needed:

openclaw mcp add xmemory \
  --url "https://mcp.xmemory.ai/instance/$XMEM_INSTANCE_ID" \
  --transport streamable-http \
  --header "Authorization: Bearer $XMEM_API_KEY"

openclaw mcp doctor xmemory --probe    # confirm reachability + list tools

Keep XMEM_API_KEY in your host environment rather than committing it into config.

Multiple instances at once

A server binds one instance (the one in its /instance/ path). To use several at once, add one named server per instance:

openclaw mcp add xmemory-work     --url "https://mcp.xmemory.ai/instance/"     --transport streamable-http --header "Authorization: Bearer $XMEM_API_KEY"
openclaw mcp add xmemory-personal --url "https://mcp.xmemory.ai/instance/" --transport streamable-http --header "Authorization: Bearer $XMEM_API_KEY"

Instance management (optional, admin connection)

To create / list / delete instances and manage schemas, add the admin connection (/admin). Its tools include destructive operations (e.g. deleting an instance), so register it deliberately:

openclaw mcp add xmemory-admin --url "https://mcp.xmemory.ai/admin" \
  --transport streamable-http --header "Authorization: Bearer $XMEM_API_KEY"

When to use

  • The user asks you to remember / save something, or says "don't forget".
  • The user asks what you know about a person, project, or topic, or to recall something earlier.
  • Proactively: persist durable facts the user will want later. Don't save throwaway context.

How to use (xmemory MCP tools)

  • write_async — preferred write path. Save create / update / delete intent in natural language ("Alice's email is alice@acme.com", "forget the Friday meeting"); returns immediately.
  • write — synchronous write; use only when you must read the same data back in the same turn.
  • read — query the instance in natural language (lookups, aggregations, listings).

Call write_async to remember and read to recall — the instance is bound by the URL path, so you do not pass an instance id in tool calls.

Advanced

Beyond the core loop, the instance also exposes:

  • write_status — diagnostic; check once (never poll) if a read that should contain written data comes back unexpectedly empty.
  • get_instance_id, get_instance_schema — the connected instance's ID and its object/field/relation schema.
  • Schema evolution — the engine proposes schema improvements from real read traffic. review_suggestions is read-only (it changes nothing) — surface the proposals to the user judiciously (never nag). decide_suggestions then apply_pending_decisions record the user's choices and commit them as a migration, so always confirm with the user before deciding or applying.
  • Schema management (opt-in) — update_instance_schema, dry_run_schema_migration, list_schema_migrations, get_schema_migration, enhance_schema: direct schema edits; confirm with the user before applying any change.

相关技能

Persistent, user-owned memory for agents. Use the standalone runtime to remember, recall, search, preserve restart continuity, manage TODOs and expenses, or diagnose XMemo when MCP tools are unavailable.

6 次安装6 星标

Unlimited organized memory for your AI agent. Store, search, and organize projects, contacts, decisions, and knowledge across categories. Never lose context...

Cross-platform persistent memory system for AI agents: session continuity, task tracking, decision records, and project context across coding sessions. Free tier provides templates and adapter configurations. Paid tier enables cross-platform synchronization execution via clawtip verification.

Organize project, agent, or user memory using an A-MEM-style workflow with structured notes, semantic tags, contextual summaries, explicit links, and lightwe...

21 次安装

Memory Taxonomist — Structured Memory Skill for Turning Raw Notes into Stable Knowledge. Use it when the user needs a disciplined protocol and fixed output c...

16 次安装

Persistent memory across sessions — local-first, no account needed. Automatically recalls past decisions, code, and tasks before each prompt, and saves session checkpoints. Also provides manual tools for searching, recording, and querying memory via Bash commands.

38 次安装