Skip to main content
OpenClaw can use Dexi two ways. As a plain remote MCP server it gets the twelve tools with no install (see Getting Started → OpenClaw). The openclaw-dexi memory plugin on this page goes further: it recalls relevant notes before every turn, teaches the agent how to use your notes, adds /remember and /recall, and can leave a digest note per conversation. It takes OpenClaw’s exclusive memory slot, so pick it instead of the built-in memory-core (local memory_search/memory_get, dreaming and the markdown memory flush are off while Dexi is the memory plugin) and instead of an mcp.servers.dexi entry (configuring both duplicates the tools). Source, issues, and version history: github.com/dexi/openclaw-plugin (MIT). npm: openclaw-dexi.

Install

setup writes plugins.entries.openclaw-dexi (with the hooks.allowConversationAccess / allowPromptInjection permissions the memory hooks need), plugins.slots.memory = "openclaw-dexi", and the dexi_* tool allowlist into ~/.openclaw/openclaw.json, then runs openclaw dexi login. Flags: --read-only, --session-digest, --digest-tag <tag>, --mcp-url <url>, --no-login, --no-browser. Requires OpenClaw ≥ 2026.5.7 (Node 22+).
openclaw dexi login prints an authorize URL and opens your browser. Sign in to Dexi, optionally restrict the connection to one folder or tag, and approve. The plugin’s loopback listener on 127.0.0.1 completes the flow; you’ll see “Dexi is connected to OpenClaw” in the tab and ✓ Connected to Dexi in the terminal.
Verify with openclaw dexi status (config plus a live probe) and openclaw status (the Memory row reads enabled (plugin openclaw-dexi)).

What it does

Recall (before_prompt_build) — before each interactive turn, the plugin runs semantic_search over your notes for the incoming message (channel metadata stripped; plus a keyword pass when it contains a #hashtag or a “quoted phrase”) and injects hits above the similarity floor as a <dexi-context> block of titles and snippets. Never full bodies — the model calls dexi_get or full_text: true when it wants one. Best-effort with a ~2.5 s budget; failures inject nothing. Heartbeat and cron runs are skipped. Tools — each forwards to the Dexi MCP tool of the same purpose and accepts an optional intent sentence: Every result item carries a url (https://app.dexi.net/dashboard/notes/<id>) so the agent can cite notes. Commands/remember <text> saves a note without involving the model (first line becomes the title, #hashtags become tags), /recall <query> runs a hybrid search, /dexi-digest writes the current session’s digest now. Session digest (off by default) — with sessionDigest: true, one note per conversation is written when the session ends (/new, /reset, idle or daily rotation), before compaction, after digestIdleMinutes of quiet, or at gateway shutdown — never per turn. It holds the questions asked, the last answer, and the session key, tagged #openclaw (configurable). Later flushes append to the same note; the session→note mapping is persisted in ~/.openclaw/dexi/digests.json, so gateway restarts and one-shot openclaw agent runs don’t create duplicates. Deterministic — no LLM call in the plugin. Skillsdexi-capture, dexi-recall, dexi-review mirror the Claude Code plugin’s with the dexi_* tool names and load while the plugin is enabled; schedule dexi-review with an OpenClaw cron job for a daily quiz over Telegram or Discord. Deliberately not done — no note per turn, no mirroring of transcripts or MEMORY.md, no LLM-written summaries. Dexi is your notes app; the agent is a reader and an occasional, deliberate writer.

What leaves your device

Only when the corresponding feature runs, and only to mcp.dexi.net under your own account: Never full transcripts, local memory files, or tool-call history. Everything lands in your Dexi account, visible and deletable in the app. Set readOnly: true and the connection cannot write at all: the plugin requests only the notes:read scope, and the write tools, /remember, and the digest disappear.

Configuration

plugins.entries.openclaw-dexi.config in ~/.openclaw/openclaw.json — written by openclaw dexi setup; every key optional; DEXI_<KEY> environment variables override (e.g. DEXI_MCP_URL): CLI: openclaw dexi setup, openclaw dexi login [--read-only] [--no-browser] [--code <value>], openclaw dexi logout (revokes the token and forgets it locally), openclaw dexi status, openclaw dexi search <query>, openclaw dexi save <text>. Manage, narrow, or revoke the grant itself in Dexi under Settings → Connected apps — the connection appears there as OpenClaw (Dexi memory); a folder/tag restriction set there applies on the next request.

Troubleshooting