← Browse

@bluepointdigital/smart-memory

B

Persistent local transcript-first memory for OpenClaw via a Node adapter and FastAPI engine.

skillclaude

Install

agr install @bluepointdigital/smart-memory --target claude

Writes 17 files into .claude/skills/, pinned to git-d9958890.

  • .claude/skills/smart-memory/.gitignore
  • .claude/skills/smart-memory/AGENTS.md
  • .claude/skills/smart-memory/CHANGELOG.md
  • .claude/skills/smart-memory/HOT_MEMORY_EXTENSION.md
  • .claude/skills/smart-memory/INTEGRATION.md
  • .claude/skills/smart-memory/MEMORY_STRUCTURE.md
  • .claude/skills/smart-memory/README.md
  • .claude/skills/smart-memory/SKILL.md
  • .claude/skills/smart-memory/cognitive_memory_system.py
  • .claude/skills/smart-memory/hot_memory_manager.py
  • .claude/skills/smart-memory/install.sh
  • .claude/skills/smart-memory/memory_adapter.py
  • .claude/skills/smart-memory/requirements-cognitive.txt
  • .claude/skills/smart-memory/requirements-cpu.txt
  • .claude/skills/smart-memory/server.py
  • .claude/skills/smart-memory/smart_memory_config.py
  • .claude/skills/smart-memory/smem-hook.sh

Document


name: smart-memory description: Persistent local transcript-first memory for OpenClaw via a Node adapter and FastAPI engine.

Smart Memory v3.1 Skill

Smart Memory v3.1 is a local transcript-first cognitive memory runtime with revision-aware derivation, pinned context lanes, entity-aware retrieval, and bounded prompt composition.

Core runtime:

  • Node adapter: smart-memory/index.js
  • Local API: server.py
  • System facade: cognitive_memory_system.py
  • Canonical store: storage/sqlite_memory_store.py plus transcripts/

Core Capabilities

  • transcript-first ingest and per-message transcript logging
  • typed long-term memory including preference, identity, and task_state
  • evidence-backed revision lifecycle decisions and supersession chains
  • explicit core and working memory lanes
  • entity-aware retrieval with lightweight relationship hints
  • deterministic rebuild from transcript history
  • hot-memory compatibility projection for working context
  • strict token-bounded prompt composition with trace metadata
  • inspection endpoints for transcripts, evidence, history, lanes, and eval runs

OpenClaw Integration

Use the native wrapper package in skills/smart-memory-openclaw/.

Primary exports:

  • createSmartMemorySkill(options)
  • createOpenClawHooks({ skill, agentIdentity, summarizeWithLLM })

The wrapper remains stable while the backend is now transcript-first under the hood.

Tool Interface

  1. memory_search
  • purpose: query relevant memory through /retrieve
  • supports query, type, limit, min_relevance, and optional conversation_history
  • health-checks the backend before execution
  1. memory_commit
  • purpose: persist important facts, decisions, beliefs, goals, or session summaries
  • health-checks the backend before execution
  • serializes commits to protect local embedding throughput
  • queues failed commits in .memory_retry_queue.json
  1. memory_insights
  • purpose: surface pending background insights
  • health-checks the backend before execution
  • calls /insights/pending

API Endpoints

Core endpoints:

  • GET /health
  • POST /ingest
  • POST /retrieve
  • POST /compose
  • POST /run_background
  • GET /memories
  • GET /memory/{memory_id}
  • GET /insights/pending

Transcript and inspection endpoints:

  • POST /transcripts/message
  • GET /transcripts/{session_id}
  • GET /transcript/message/{message_id}
  • GET /memory/{memory_id}/evidence
  • POST /revise
  • GET /memory/{memory_id}/history
  • GET /memory/{memory_id}/active
  • GET /memory/{memory_id}/chain
  • GET /lanes/{lane_name}
  • POST /lanes/{lane_name}/{memory_id}
  • DELETE /lanes/{lane_name}/{memory_id}
  • POST /rebuild
  • POST /rebuild/{session_id}
  • GET /eval/suite/{suite_name}
  • GET /eval/case/{case_id}

Operating guidance

  • query memory before speaking when continuity matters
  • do not claim prior context unless retrieval actually supports it
  • transcripts are canonical, memories are derived
  • treat SQLite as canonical runtime storage
  • treat JSON as offline export or backup only
  • keep CPU-only PyTorch policy intact

Deprecated

Legacy vector-memory CLI artifacts remain deprecated and should not be revived.

Trustgrade B

  • passBody integrity

    Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.

  • passType matchnot applicable to this artifact type

    Whether the artifact is really the kind of thing its metadata claims it is.

  • passFreshness

    How long since the source repository was last pushed to.

  • passPrompt injection

    Scans the artifact's own text for instructions aimed at your agent rather than at you.

  • warnLicenseno SPDX license detected

    Whether the source repository declares an SPDX license permissive enough to redistribute.

How the grade is calculated

Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:

  • Aevery check passed
  • Bone warning
  • Ctwo warnings
  • Dprompt injection or body integrity failed, or three warnings
  • Fone of those failed, and something else is wrong

These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.

Versions

  • git-d9958890b5e52026-07-31