Documentation Index
Fetch the complete documentation index at: https://docs.openclaw.ai/llms.txt
Use this file to discover all available pages before exploring further.
memory-wiki is a bundled plugin that turns durable memory into a compiled
knowledge vault.
It does not replace the active memory plugin. The active memory plugin still
owns recall, promotion, indexing, and dreaming. memory-wiki sits beside it
and compiles durable knowledge into a navigable wiki with deterministic pages,
structured claims, provenance, dashboards, and machine-readable digests.
Use it when you want memory to behave more like a maintained knowledge layer and
less like a pile of Markdown files.
What it adds
- A dedicated wiki vault with deterministic page layout
- Structured claim and evidence metadata, not just prose
- Page-level provenance, confidence, contradictions, and open questions
- Compiled digests for agent/runtime consumers
- Wiki-native search/get/apply/lint tools
- Optional bridge mode that imports public artifacts from the active memory plugin
- Optional Obsidian-friendly render mode and CLI integration
How it fits with memory
Think of the split like this:| Layer | Owns |
|---|---|
Active memory plugin (memory-core, QMD, Honcho, etc.) | Recall, semantic search, promotion, dreaming, memory runtime |
memory-wiki | Compiled wiki pages, provenance-rich syntheses, dashboards, wiki-specific search/get/apply |
memory_search corpus=all.
When you need wiki-specific ranking, provenance, or direct page access, use the
wiki-native tools instead.
Recommended hybrid pattern
A strong default for local-first setups is:- QMD as the active memory backend for recall and broad semantic search
memory-wikiinbridgemode for durable synthesized knowledge pages
- QMD keeps raw notes, session exports, and extra collections searchable
memory-wikicompiles stable entities, claims, dashboards, and source pages
- use
memory_searchwhen you want one broad recall pass across memory - use
wiki_searchandwiki_getwhen you want provenance-aware wiki results - use
memory_search corpus=allwhen you want shared search to span both layers
openclaw wiki doctor first,
then confirm the active memory plugin supports public artifacts.
When bridge mode is active and bridge.readMemoryArtifacts is enabled,
openclaw wiki status, openclaw wiki doctor, and openclaw wiki bridge import read through the running Gateway. That keeps CLI bridge checks aligned
with the runtime memory plugin context. If bridge is disabled or artifact reads
are turned off, those commands keep their local/offline behavior.
Vault modes
memory-wiki supports three vault modes:
isolated
Own vault, own sources, no dependency on memory-core.
Use this when you want the wiki to be its own curated knowledge store.
bridge
Reads public memory artifacts and memory events from the active memory plugin
through public plugin SDK seams.
Use this when you want the wiki to compile and organize the memory plugin’s
exported artifacts without reaching into private plugin internals.
Bridge mode can index:
- exported memory artifacts
- dream reports
- daily notes
- memory root files
- memory event logs
unsafe-local
Explicit same-machine escape hatch for local private paths.
This mode is intentionally experimental and non-portable. Use it only when you
understand the trust boundary and specifically need local filesystem access that
bridge mode cannot provide.
Vault layout
The plugin initializes a vault like this:sources/for imported raw material and bridge-backed pagesentities/for durable things, people, systems, projects, and objectsconcepts/for ideas, abstractions, patterns, and policiessyntheses/for compiled summaries and maintained rollupsreports/for generated dashboards
Structured claims and evidence
Pages can carry structuredclaims frontmatter, not just freeform text.
Each claim can include:
idtextstatusconfidenceevidence[]updatedAt
kindsourceIdpathlinesweightconfidenceprivacyTiernoteupdatedAt
Agent-facing entity metadata
Entity pages can also carry routing metadata for agent use. This is generic frontmatter, so it works for people, teams, systems, projects, or any other entity type. Common fields include:entityType: for exampleperson,team,system, orprojectcanonicalId: stable identity key used across aliases and importsaliases: names, handles, or labels that should resolve to the same pageprivacyTier:public,local-private,sensitive, orconfirm-before-usebestUsedFor/notEnoughFor: compact routing hintslastRefreshedAt: source-refresh timestamp separate from page edit timepersonCard: optional person-specific routing card with handles, socials, emails, timezone, lane, ask-for, avoid-asking-for, confidence, and privacyrelationships: typed edges to related pages with target, kind, weight, confidence, evidence kind, privacy tier, and note
reports/person-agent-directory.md, then open the person page with wiki_get
before using contact details or inferred facts.
Example:
Compile pipeline
The compile step reads wiki pages, normalizes summaries, and emits stable machine-facing artifacts under:.openclaw-wiki/cache/agent-digest.json.openclaw-wiki/cache/claims.jsonl
- first-pass wiki indexing for search/get flows
- claim-id lookup back to owning pages
- compact prompt supplements
- report/dashboard generation
Dashboards and health reports
Whenrender.createDashboards is enabled, compile maintains dashboards under
reports/.
Built-in reports include:
reports/open-questions.mdreports/contradictions.mdreports/low-confidence.mdreports/claim-health.mdreports/stale-pages.mdreports/person-agent-directory.mdreports/relationship-graph.mdreports/provenance-coverage.mdreports/privacy-review.md
- contradiction note clusters
- competing claim clusters
- claims missing structured evidence
- low-confidence pages and claims
- stale or unknown freshness
- pages with unresolved questions
- person/entity routing cards
- structured relationship edges
- evidence class coverage
- non-public privacy tiers that need review before use
Search and retrieval
memory-wiki supports two search backends:
shared: use the shared memory search flow when availablelocal: search the wiki locally
wikimemoryall
wiki_searchandwiki_getuse compiled digests as a first pass when possible- claim ids can resolve back to the owning page
- contested/stale/fresh claims influence ranking
- provenance labels can survive into results
- search mode can bias ranking for person lookup, question routing, source evidence, or raw claims
- use
memory_search corpus=allfor one broad recall pass - use
wiki_search+wiki_getwhen you care about wiki-specific ranking, provenance, or page-level belief structure
auto: balanced defaultfind-person: boost person-like entities, aliases, handles, socials, and canonical IDsroute-question: boost agent cards, ask-for hints, best-used-for hints, and relationship contextsource-evidence: boost source pages and structured evidence metadataraw-claim: boost matching structured claims and return claim/evidence metadata in results
wiki_search can return
matchedClaimId, matchedClaimStatus, matchedClaimConfidence,
evidenceKinds, and evidenceSourceIds in its details payload. Text output
also includes compact Claim: and Evidence: lines when available.
Agent tools
The plugin registers these tools:wiki_statuswiki_searchwiki_getwiki_applywiki_lint
wiki_status: current vault mode, health, Obsidian CLI availabilitywiki_search: search wiki pages and, when configured, shared memory corpora; acceptsmodefor person lookup, question routing, source evidence, or raw claim drilldownwiki_get: read a wiki page by id/path or fall back to shared memory corpuswiki_apply: narrow synthesis/metadata mutations without freeform page surgerywiki_lint: structural checks, provenance gaps, contradictions, open questions
memory_search and memory_get can reach the wiki when the active memory
plugin supports corpus selection.
Prompt and context behavior
Whencontext.includeCompiledDigestPrompt is enabled, memory prompt sections
append a compact compiled snapshot from agent-digest.json.
That snapshot is intentionally small and high-signal:
- top pages only
- top claims only
- contradiction count
- question count
- confidence/freshness qualifiers
Configuration
Put config underplugins.entries.memory-wiki.config:
vaultMode:isolated,bridge,unsafe-localvault.renderMode:nativeorobsidianbridge.readMemoryArtifacts: import active memory plugin public artifactsbridge.followMemoryEvents: include event logs in bridge modesearch.backend:sharedorlocalsearch.corpus:wiki,memory, orallcontext.includeCompiledDigestPrompt: append compact digest snapshot to memory prompt sectionsrender.createBacklinks: generate deterministic related blocksrender.createDashboards: generate dashboard pages
Example: QMD + bridge mode
Use this when you want QMD for recall andmemory-wiki for a maintained
knowledge layer:
- QMD in charge of active memory recall
memory-wikifocused on compiled pages and dashboards- prompt shape unchanged until you intentionally enable compiled digest prompts
CLI
memory-wiki also exposes a top-level CLI surface:
Obsidian support
Whenvault.renderMode is obsidian, the plugin writes Obsidian-friendly
Markdown and can optionally use the official obsidian CLI.
Supported workflows include:
- status probing
- vault search
- opening a page
- invoking an Obsidian command
- jumping to the daily note
Recommended workflow
- Keep your active memory plugin for recall/promotion/dreaming.
- Enable
memory-wiki. - Start with
isolatedmode unless you explicitly want bridge mode. - Use
wiki_search/wiki_getwhen provenance matters. - Use
wiki_applyfor narrow syntheses or metadata updates. - Run
wiki_lintafter meaningful changes. - Turn on dashboards if you want stale/contradiction visibility.