Caricamento in corso...
Caricamento in corso...
Last synced: Today, 22:00
Technical reference for the OpenClaw framework. Real-time synchronization with the official documentation engine.
Use this file to discover all available pages before exploring further.
memory-wikiIt does not replace the active memory plugin. The active memory plugin still owns recall, promotion, indexing, and dreaming.
memory-wikiUse it when you want memory to behave more like a maintained knowledge layer and less like a pile of Markdown files.
Think of the split like this:
| Layer | Owns |
|---|---|
| Active memory plugin ( text memory-core | Recall, semantic search, promotion, dreaming, memory runtime |
text memory-wiki | Compiled wiki pages, provenance-rich syntheses, dashboards, wiki-specific search/get/apply |
If the active memory plugin exposes shared recall artifacts, OpenClaw can search both layers in one pass with
memory_search corpus=allWhen you need wiki-specific ranking, provenance, or direct page access, use the wiki-native tools instead.
A strong default for local-first setups is:
memory-wikibridgeThat split works well because each layer stays focused:
memory-wikiPractical rule:
memory_searchwiki_searchwiki_getmemory_search corpus=allIf bridge mode reports zero exported artifacts, the active memory plugin is not currently exposing public bridge inputs yet. Run
openclaw wiki doctorWhen bridge mode is active and
bridge.readMemoryArtifactsopenclaw wiki statusopenclaw wiki doctoropenclaw wiki bridge importmemory-wikiisolatedOwn vault, own sources, no dependency on
memory-coreUse this when you want the wiki to be its own curated knowledge store.
bridgeReads 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:
unsafe-localExplicit 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.
The plugin initializes a vault like this:
text<vault>/ AGENTS.md WIKI.md index.md inbox.md entities/ concepts/ syntheses/ sources/ reports/ _attachments/ _views/ .openclaw-wiki/
Managed content stays inside generated blocks. Human note blocks are preserved.
The main page groups are:
sources/entities/concepts/syntheses/reports/Pages can carry structured
claimsEach claim can include:
idtextstatusconfidenceevidence[]updatedAtEvidence entries can include:
kindsourceIdpathlinesweightconfidenceprivacyTiernoteupdatedAtThis is what makes the wiki act more like a belief layer than a passive note dump. Claims can be tracked, scored, contested, and resolved back to sources.
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:
entityTypepersonteamsystemprojectcanonicalIdaliasesprivacyTierpubliclocal-privatesensitiveconfirm-before-usebestUsedFornotEnoughForlastRefreshedAtpersonCardrelationshipsFor a people wiki, the agent should usually start with
reports/person-agent-directory.mdwiki_getExample:
yamlpageType: entity entityType: person id: entity.brad-groux canonicalId: maintainer.brad-groux aliases: - Brad - bgroux privacyTier: local-private bestUsedFor: - Microsoft Teams and Azure routing notEnoughFor: - legal approval lastRefreshedAt: "2026-04-29T00:00:00.000Z" personCard: handles: - "@bgroux" socials: - "https://x.example/bgroux" emails: - brad@example.com timezone: America/Chicago lane: Microsoft ecosystem askFor: - Teams rollout questions avoidAskingFor: - unrelated billing decisions confidence: 0.8 privacyTier: confirm-before-use relationships: - targetId: entity.alice targetTitle: Alice kind: collaborates-with confidence: 0.7 evidenceKind: discrawl-stat claims: - id: claim.brad.teams text: Brad is useful for Microsoft Teams routing. status: supported confidence: 0.9 evidence: - kind: maintainer-whois sourceId: source.maintainers privacyTier: local-private
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.jsonlThese digests exist so agents and runtime code do not have to scrape Markdown pages.
Compiled output also powers:
When
render.createDashboardsreports/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.mdThese reports track things like:
memory-wikisharedlocalIt also supports three corpora:
wikimemoryallImportant behavior:
wiki_searchwiki_getPractical rule:
memory_search corpus=allwiki_searchwiki_getSearch modes:
autofind-personroute-questionsource-evidenceraw-claimWhen a result matches a structured claim,
wiki_searchmatchedClaimIdmatchedClaimStatusmatchedClaimConfidenceevidenceKindsevidenceSourceIdsClaim:Evidence:The plugin registers these tools:
wiki_statuswiki_searchwiki_getwiki_applywiki_lintWhat they do:
wiki_statuswiki_searchmodewiki_getwiki_applywiki_lintThe plugin also registers a non-exclusive memory corpus supplement, so shared
memory_searchmemory_getWhen
context.includeCompiledDigestPromptagent-digest.jsonThat snapshot is intentionally small and high-signal:
This is opt-in because it changes prompt shape and is mainly useful for context engines or legacy prompt assembly that explicitly consume memory supplements.
Put config under
plugins.entries.memory-wiki.configjson5{ plugins: { entries: { "memory-wiki": { enabled: true, config: { vaultMode: "isolated", vault: { path: "~/.openclaw/wiki/main", renderMode: "obsidian", }, obsidian: { enabled: true, useOfficialCli: true, vaultName: "OpenClaw Wiki", openAfterWrites: false, }, bridge: { enabled: false, readMemoryArtifacts: true, indexDreamReports: true, indexDailyNotes: true, indexMemoryRoot: true, followMemoryEvents: true, }, ingest: { autoCompile: true, maxConcurrentJobs: 1, allowUrlIngest: true, }, search: { backend: "shared", corpus: "wiki", }, context: { includeCompiledDigestPrompt: false, }, render: { preserveHumanBlocks: true, createBacklinks: true, createDashboards: true, }, }, }, }, }, }
Key toggles:
vaultModeisolatedbridgeunsafe-localvault.renderModenativeobsidianbridge.readMemoryArtifactsbridge.followMemoryEventssearch.backendsharedlocalsearch.corpuswikimemoryallcontext.includeCompiledDigestPromptrender.createBacklinksrender.createDashboardsUse this when you want QMD for recall and
memory-wikijson5{ memory: { backend: "qmd", "memory-wiki": { enabled: true, config: { vaultMode: "bridge", bridge: { enabled: true, readMemoryArtifacts: true, indexDreamReports: true, indexDailyNotes: true, indexMemoryRoot: true, followMemoryEvents: true, }, search: { backend: "shared", corpus: "all", }, context: { includeCompiledDigestPrompt: false, }, }, }, }, }, }
This keeps:
memory-wikimemory-wikibashopenclaw wiki status openclaw wiki doctor openclaw wiki init openclaw wiki ingest ./notes/alpha.md openclaw wiki compile openclaw wiki lint openclaw wiki search "alpha" openclaw wiki get entity.alpha openclaw wiki apply synthesis "Alpha Summary" --body "..." --source-id source.alpha openclaw wiki bridge import openclaw wiki obsidian status
See CLI: wiki for the full command reference.
When
vault.renderModeobsidianobsidianSupported workflows include:
This is optional. The wiki still works in native mode without Obsidian.
memory-wikiisolatedwiki_searchwiki_getwiki_applywiki_lint© 2024 TaskFlow Mirror
Powered by TaskFlow Sync Engine