About Openclaw Engram
Openclaw Engram is an MCP server published by joshuaswarren in the RAG category: open-source memory and context for user-aware agents: scoped memory, provenance, retrieval quality, correction, boundaries, evals, and MCP/HTTP access. Conduid read 57 tools from its source: correction_apply, correction_plan, engram.capsule_export, engram.capsule_import, engram.capsule_list, engram.deep_recall and 51 more. No package is published for it, so it installs from a source checkout.
The repository has 240 stars and 30 forks, is licensed MIT, and its last commit was on 1 Dec 2026. The latest release is v10.0.107 (14 Nov 2026): What Changed fix: keep recall results within the character cap (#3414) @joshuaswarren Contributors @joshuaswarren. It follows v10.0.106 (14 Nov 2026), and the 5 most recent releases go back to v10.0.103 (13 Nov 2026). It passes all 4 static checks Conduid ran on the repository. Its topics include ai-memory, conversational-ai, engram, knowledge-graph, local-first and long-term-memory.
Install
git clone https://github.com/joshuaswarren/remnicTools (57)
correction_applyApply a previously generated correction plan. The engine intercepts this call and requires explicit user confirmation before it executes.| Parameter | Type | Description |
|---|---|---|
| planId * | string | The plan id from correction_plan. |
correction_planGenerate a correction plan (diff preview) for a requested memory change. This does NOT apply the change — it previews what would happen. The user must confirm before correction_apply runs.| Parameter | Type | Description |
|---|---|---|
| request * | string | Natural-language description of the correction, e.g. 'we finished the MySQL migration in March' or 'forget the outdated database credentials'. |
engram.capsule_exportExport a portable Remnic capsule archive from the namespace-scoped memory store.| Parameter | Type | Description |
|---|---|---|
| encrypt | boolean | |
| includeKinds | array | Optional top-level directory allow-list. |
| includeTranscripts | boolean | |
| name * | string | Capsule id (alphanumeric with single dashes, max 64 characters). |
| namespace | string | |
| peerIds | array | Optional peer id allow-list for the peers/ subtree. |
| since | string | Only include files modified on or after this ISO 8601 timestamp. |
engram.capsule_importImport a Remnic capsule archive into the namespace-scoped memory store.| Parameter | Type | Description |
|---|---|---|
| archivePath * | string | Path to a .capsule.json.gz or .capsule.json.gz.enc archive. |
| mode | string | Conflict handling mode. Defaults to skip. |
| namespace | string | |
| passphrase | string | Passphrase for encrypted capsule archives. |
engram.capsule_listList capsule archives in the namespace-scoped capsule store.| Parameter | Type | Description |
|---|---|---|
| namespace | string | |
| sessionKey | string | Optional session key used to derive namespace principal when no trusted transport principal is present. |
engram.deep_recallBudgeted REFINE/EXPAND/STOP multi-hop retrieval over the cue-anchor graph (issue #2332). Slow and thorough (seconds; several LLM calls) — opt in when a question warrants deep search, not for routine recall. Returns ranked entries plus a per-step trace. Typed error when deepRecall.enabled is off.| Parameter | Type | Description |
|---|---|---|
| maxSteps | integer | Optional policy-step ceiling; cannot exceed the configured deepRecall.maxSteps. |
| namespace | string | Caller namespace to scope this operation to. |
| query * | string | The question to retrieve for. Required. |
| sessionKey | string | Session key for principal/namespace resolution. |
engram.entity_synthesis_runBulk-drain the entity synthesis queue (issue #2136). Processes up to maxEntities (default 25, max 200) queued entity names into canonical syntheses; loop until processed < requested to drain fully.| Parameter | Type | Description |
|---|---|---|
| maxEntities | number | |
| namespace | string |
engram.external_wiki_searchSearch configured external compiled-wiki roots on demand. Returns ranked snippets with root-relative citations and never changes default recall.| Parameter | Type | Description |
|---|---|---|
| limit | number | Maximum hits (default 6, maximum 20). |
| maxCharsPerHit | number | Maximum characters in each snippet (default 1000, maximum 8000). |
| query * | string | Required topical query. |
| wikiId | string | Optional configured wiki id to search exclusively. |
engram.location_backfillSync an explicit historical day range (inclusive, capped at 90 days) for every enabled location provider, then re-tag overlapping memories with provider-owned location metadata (issue #2046; requires location.tagging.backfillEnabled). dryRun reports the memory changes without persisting anything — no day files, no memory patches. Never makes an unbounded scan and never calls the LLM.| Parameter | Type | Description |
|---|---|---|
| dryRun | boolean | Report only; persist nothing. |
| from * | string | Range start day (YYYY-MM-DD). |
| to * | string | Range end day (YYYY-MM-DD, inclusive). |
engram.location_checkProbe every enabled location provider (auth/connectivity). Reports ok/detail per source; a disabled master gate or source reports a skip reason, never an error.engram.location_dayReturn one stored location day (place segments per source). Coordinates appear only when location.retainCoordinates is enabled; an unstored day returns found:false.| Parameter | Type | Description |
|---|---|---|
| date * | string | Day to read (YYYY-MM-DD). |
engram.location_statusLocation sync status: master gate, timezone, per-source provider registration, last sync, and recent stored day counts. Never returns secrets, addresses, coordinates, or place labels.engram.location_syncSync local-day place observations from every enabled location provider (default: location.syncDays ending yesterday). Same shared runner as the CLI and HTTP surfaces; a forced sync never bypasses the enabled gates or validation. Returns per-day, per-source synced/skipped/failed results.| Parameter | Type | Description |
|---|---|---|
| date | string | Optional exclusive-window end day (YYYY-MM-DD, inclusive); defaults to yesterday in location.timezone. |
| days | integer | Optional window size (1..90); defaults to location.syncDays. |
engram.meetings_buildDetect + fuse + store a day's meetings from ingested audio + screen activity. No-op (enabled:false) when meetings.enabled is off.| Parameter | Type | Description |
|---|---|---|
| date * | string | Day to build (YYYY-MM-DD). Required. |
| namespace | string | Caller namespace to scope this operation to (issue #2123). |
| sessionKey | string | Session key for principal/namespace resolution. |
engram.meetings_getReturn one stored meeting record's markdown by id (mtg-YYYY-MM-DD-<hash>). Absent when not found or meetings.enabled is off.| Parameter | Type | Description |
|---|---|---|
| id * | string | Meeting id (mtg-YYYY-MM-DD-<hash>). Required. |
| namespace | string | Caller namespace to scope this operation to (issue #2123). |
| sessionKey | string | Session key for principal/namespace resolution. |
engram.meetings_listList stored meeting records (issue #1900), across all days or one day. Returns per-day meeting summaries; empty when meetings.enabled is off.| Parameter | Type | Description |
|---|---|---|
| date | string | Optional day to list (YYYY-MM-DD). Omit for all days. |
| namespace | string | Caller namespace to scope this operation to (issue #2123). |
| sessionKey | string | Session key for principal/namespace resolution. |
engram.memory_correct_applyApply a planned memory correction by planId. Requires confirm: true when correction.applyRequiresConfirm is on (default).| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | Must be true to apply (safety guard). |
| namespace | string | Optional explicit namespace (validated by policy). |
| planId * | string | The plan id returned by memory_correct_plan. |
| sessionKey | string | Session identifier for namespace resolution. |
engram.memory_correct_planPlan a memory correction from a plain-language statement. Returns a CorrectionPlan with a diff preview; apply via memory_correct_apply. Pass duplicateOf plus one targetIds entry to supersede that duplicate without calling the classifier.| Parameter | Type | Description |
|---|---|---|
| duplicateOf | string | Optional winner memory id. Requires targetIds to be exactly the duplicate. Skips classification and drafts one recoverable supersede (no hard delete) linking the duplicate to this id. |
| namespace | string | Optional explicit namespace (validated by policy). |
| sessionKey | string | Session identifier for namespace resolution. |
| targetIds | array | Optional explicit target memory ids. When omitted, the planner searches. With duplicateOf, pass exactly the duplicate id. |
| text * | string | The natural-language correction (e.g. "we migrated to MySQL in March"). |
engram.memory_expandRe-render one memory a recall already served to this session at a deeper disclosure level (section or raw). Cheap follow-up — no fresh search. The id must come from this session's recent recall results.| Parameter | Type | Description |
|---|---|---|
| disclosure | string | Target depth; must be deeper than the chunk preview already served. Default raw. |
| memoryId * | string | Memory id (or [m:xxxx] handle) served by a recent recall. Required. |
| namespace | string | Caller namespace to scope this operation to. |
| sessionKey * | string | Session key whose recent recalls authorize the id. Required. |
engram.memory_findDeterministic name/path lookup over your namespace's store: `*` glob (e.g. "facts/2026-08-*/*.md") or substring. Use memory_search for semantic matching; use this when you know (part of) the name.| Parameter | Type | Description |
|---|---|---|
| namespace | string | Caller namespace to scope this operation to. |
| pattern * | string | Glob with `*` wildcards or substring to match against path and filename. Required. |
engram.memory_governance_runRun Remnic memory governance in a bounded shadow/apply pass.| Parameter | Type | Description |
|---|---|---|
| batchSize | number | |
| maxMemories | number | |
| mode | string | |
| namespace | string | |
| recentDays | number |
engram.memory_lsList what exists at one store path in your namespace: category directories with memory counts, memory files with a one-line description. Answers "is there anything here at all?" without a search query. Derived stores (artifacts/, meetings records, wearables, state/) are invisible by design.| Parameter | Type | Description |
|---|---|---|
| namespace | string | Caller namespace to scope this operation to. |
| path | string | Store path to list, relative to the namespace root ("" or "/" = root). Default root. |
engram.memory_traverseFollow typed links (supports/contradicts/elaborates/causes/caused_by/supersedes/follows/references/related) from a memory a recall already served to this session. Neighbors return as chunk-level summaries, optionally filtered by relation.| Parameter | Type | Description |
|---|---|---|
| limit | integer | Optional cap on returned neighbors (ceiling: recallNavigation.maxNeighbors). |
| memoryId * | string | Memory id (or [m:xxxx] handle) served by a recent recall. Required. |
| namespace | string | Caller namespace to scope this operation to. |
| relation | string | Optional relation filter; omitted means every known relation. |
| sessionKey * | string | Session key whose recent recalls authorize the id. Required. |
engram.memory_treeDepth-limited tree under one store path (depth 1 acts like ls). Deterministic sorted output, entry-capped so a large store cannot flood the response.| Parameter | Type | Description |
|---|---|---|
| depth | integer | Expansion depth, 1-4. Default 1. |
| namespace | string | Caller namespace to scope this operation to. |
| path | string | Store path to expand, relative to the namespace root (default root). |
engram.pattern_reinforcement_runRun the pattern-reinforcement maintenance job (issue #687 PR 2/4). Clusters duplicate non-procedural memories by normalized content, promotes the most-recent member to canonical, and supersedes the older duplicates. Gated on patternReinforcementEnabled and the patternReinforcementCadenceMs floor — pass force=true to bypass the cadence for an ad-hoc operator run.| Parameter | Type | Description |
|---|---|---|
| force | boolean | |
| namespace | string |
engram.preference_drift_scanRun a preference drift scan (issue #2371): classify aging preference memories as corroborated / stale / drifted from recent same-namespace evidence. Shadow-first — the default run reports only. apply=true (and driftDetection.enabled) stamps lastCorroborated / driftState and opens one review item per drifted preference. Never auto-deletes and never auto-supersedes.| Parameter | Type | Description |
|---|---|---|
| apply | boolean | |
| namespace | string |
engram.procedural_statsProcedural memory stats (issue #567): counts by status, recent write activity, and the active procedural.* config. Read-only, namespace-scoped.| Parameter | Type | Description |
|---|---|---|
| namespace | string |
engram.procedure_library_maintenanceRun procedure library health maintenance (issue #2370): merge near-duplicate active procedures, flag stale-tool procedures for repair, and retire failure-dominant or idle ones — from Memory Worth + trajectory telemetry. Shadow-first: default run writes nothing and returns a proposed-transition report. apply=true (and procedural.maintenance.enabled) executes transitions; dryRun=true forces shadow.| Parameter | Type | Description |
|---|---|---|
| apply | boolean | |
| dryRun | boolean | |
| namespace | string |
engram.procedure_mining_runRun procedural memory mining from causal trajectories (issue #519). Respects procedural.enabled; writes under procedures/ when clusters qualify.| Parameter | Type | Description |
|---|---|---|
| namespace | string |
engram.shared_context_cross_signals_runGenerate cross-signal markdown + JSON artifacts from agent outputs and feedback.| Parameter | Type | Description |
|---|---|---|
| date | string | YYYY-MM-DD. Defaults to today. |
engram.shared_context_curate_dailyGenerate daily roundtable summary (deterministic baseline aggregation).| Parameter | Type | Description |
|---|---|---|
| date | string | YYYY-MM-DD. Defaults to today. |
engram.shared_context_write_outputWrite agent work product into shared-context directory for cross-agent coordination.| Parameter | Type | Description |
|---|---|---|
| agentId * | string | Agent ID producing this output. |
| authority | string | Envelope authority class. `binding` additionally requires the operator config `sharedContextAllowBindingAuthority: true`. |
| content * | string | Markdown content to write. |
| expiresAt | string | ISO-8601 instant strictly after the write time and at most 10 years out. Past, invalid, or over-bound values are rejected. |
| supersedes | string | Id of the shared item this output supersedes (non-empty, single line). |
| title * | string | Short title for the output. |
engram.shared_feedback_recordAppend approval/rejection decision into shared-context feedback inbox for compounding learning.| Parameter | Type | Description |
|---|---|---|
| agent * | string | Agent name that produced the output. |
| confidence | number | Confidence 0-1. |
| date | string | ISO timestamp. Defaults to now. |
| decision * | string | |
| evidenceWindowEnd | string | |
| evidenceWindowStart | string | |
| learning | string | |
| outcome | string | |
| reason * | string | |
| refs | array | |
| severity | string | |
| tags | array | |
| workflow | string |
engram.shared_priorities_appendAppend priorities text into shared-context inbox for curator merge.| Parameter | Type | Description |
|---|---|---|
| agentId * | string | |
| text * | string | Priority notes (markdown). |
engram.standupDeterministic standup brief: yesterday highlights, today priorities, blockers, and an activity grid. Pass date as YYYY-MM-DD; default is today UTC.| Parameter | Type | Description |
|---|---|---|
| date | string | Standup day (YYYY-MM-DD). Defaults to today UTC. |
engram.support_passport_card_replaceCreate a replacement draft for one support card.engram.support_passport_cards_listList your support cards.engram.support_passport_draft_createCreate one support card draft for your review.engram.support_passport_drafts_generateDraft support cards from only the memories you select and consent to send to your configured model.| Parameter | Type | Description |
|---|---|---|
| consent * | any | |
| sourceMemoryIds * | array | |
| sourceMemoryRevisions * | array |
engram.support_passport_grant_createCreate one timed share link for selected approved support cards.| Parameter | Type | Description |
|---|---|---|
| cardIds * | array | |
| cardRevisions * | array | |
| durationMs | integer | |
| expiresAt | string |
engram.support_passport_grant_revokeStop one support passport share link.| Parameter | Type | Description |
|---|---|---|
| expectedVersion * | integer | |
| grantId * | string |
engram.support_passport_grants_listList your support passport share links without secrets.engram.support_passport_memory_previewPreview one memory and get the exact revision required for model drafting consent.| Parameter | Type | Description |
|---|---|---|
| memoryId * | any |
engram.transcript_dayReturn the full stored wearable transcript(s) for a day, across all sources or one source, with cross-source overlap hints.| Parameter | Type | Description |
|---|---|---|
| date * | string | Day to read (YYYY-MM-DD). Required. |
| namespace | string | Caller namespace to scope this operation to (issue #2123). |
| sessionKey | string | Session key for principal/namespace resolution. |
| source | string | Optional source id to scope to (e.g. limitless). |
engram.transcript_memoriesList memories created from wearable transcripts, filterable by source and/or day. Includes pending_review candidates awaiting approval.| Parameter | Type | Description |
|---|---|---|
| date | string | Optional transcript day filter (YYYY-MM-DD). |
| limit | integer | Maximum results (default 50). |
| namespace | string | Caller namespace to scope this operation to (issue #2123). |
| sessionKey | string | Session key for principal/namespace resolution. |
| source | string | Optional source id filter (e.g. limitless). |
engram.transcript_searchSearch stored wearable transcripts. Results carry source + date so callers can pull the full day via engram.transcript_day.| Parameter | Type | Description |
|---|---|---|
| from | string | Optional inclusive start date (YYYY-MM-DD). |
| limit | integer | Maximum results (default 10). |
| namespace | string | Caller namespace to scope this operation to (issue #2123). |
| query * | string | Search query. Required; non-empty. |
| sessionKey | string | Session key for principal/namespace resolution. |
| source | string | Optional source id filter. |
| to | string | Optional inclusive end date (YYYY-MM-DD). |
engram.wearables_statusStatus of wearable transcript sources (Limitless / Bee / Omi): configured sources, connector availability, last sync, stored transcript days.| Parameter | Type | Description |
|---|---|---|
| namespace | string | Caller namespace to scope this operation to (issue #2123). |
| sessionKey | string | Session key for principal/namespace resolution. |
engram.wearables_syncPull, clean, and store wearable transcripts for one source or all enabled sources; optionally creates trust-gated memories per the source's memoryMode.| Parameter | Type | Description |
|---|---|---|
| date | string | Sync exactly this day (YYYY-MM-DD). Overrides days. |
| days | integer | Lookback window in days ending today (default 2). |
| forceMemories | boolean | Re-run memory extraction even for unchanged days. |
| namespace | string | Caller namespace to scope this operation to (issue #2123). |
| sessionKey | string | Session key for principal/namespace resolution. |
| source | string | Source id (e.g. limitless, bee, omi). Omit to sync every enabled source. |
entity_getFetch the compiled entity record for a named entity (person, project, tool, etc.). Returns traits, timeline, and associated memories.| Parameter | Type | Description |
|---|---|---|
| name * | string | Entity name. |
memory_getFetch one Remnic memory via the Remnic daemon (delegate).memory_promotePromote a memory's tier (e.g. from cold to hot). The engine requires user confirmation before executing.| Parameter | Type | Description |
|---|---|---|
| memoryId * | string | The memory id to promote. |
memory_searchSearch Remnic memories via the Remnic daemon (delegate).memory_timelineRead the lifecycle timeline of a single memory — creation, updates, consolidations, and tier transitions.| Parameter | Type | Description |
|---|---|---|
| limit | number | Maximum rows (default 200). |
| memoryId * | string | The memory id. |
recall_explainExplain why Remnic would recall certain memories for a given query. Returns tier scoring and matching details. Use this to answer 'why did you remember this?'| Parameter | Type | Description |
|---|---|---|
| query | string | Optional query to explain recall for. When omitted, explains the most recent recall. |
review_listList items in the contradiction/quality review queue. Returns pairs of potentially conflicting memories awaiting resolution.| Parameter | Type | Description |
|---|---|---|
| runId | string | Optional governance run id. |
scope_inspectInspect the current scope/namespace resolution — which namespace the chat session operates in and how it was resolved.statsReturn aggregate memory statistics — memory count, entity count, profile summary, and open questions. Use this for high-level 'what do you know?' questions.Security checks
- ✓README presentThe repository's README runs to about 5.0K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
2 checks have not been run yet.
Releases
README
The repository's README runs to about 5.0K words, fetched 12 days ago. The original in the repository is authoritative.
Read full README