adam-framework

GitHub

Adam Framework为OpenClaw智能体提供5层持久化记忆架构,解决AI失忆与会话内漂移问题。通过文件存储记忆、神经图关联召回及一致性监控,确保跨会话连续性。

Trigger Scenarios

需要构建或配置OpenClaw智能体的持久化记忆系统 解决AI智能体上下文丢失或长期记忆不一致问题

Install

npx skills add strangeadvancedmarketing/Adam --skill adam-framework -g -y
More Options

Use without installing

npx skills use strangeadvancedmarketing/Adam@adam-framework

指定 Agent (Claude Code)

npx skills add strangeadvancedmarketing/Adam --skill adam-framework -a claude-code -g -y

安装 repo 全部 skill

npx skills add strangeadvancedmarketing/Adam --all -g -y

预览 repo 内 skill

npx skills add strangeadvancedmarketing/Adam --list

SKILL.md

Frontmatter
{
    "name": "adam-framework",
    "tags": [
        "memory",
        "persistence",
        "identity",
        "coherence",
        "vault",
        "neural-graph",
        "local-first"
    ],
    "description": "5-layer persistent memory and coherence architecture for OpenClaw agents. Solves AI amnesia and within-session drift. Built and validated over 353 sessions on a live business. No CS degree required."
}

Adam Framework

AI Amnesia — Solved. Within-Session Coherence Degradation — Solved.

The Adam Framework is a 5-layer persistent memory architecture for OpenClaw agents, developed over 8 months across 353 sessions on a live business by a non-coder running consumer hardware.

OpenClaw just got acquired by OpenAI. Your memory layer shouldn't be.

What It Solves

  • AI Amnesia — your agent wakes up blank every session, forcing you to re-explain context, projects, and goals that should already be known
  • Within-Session Drift — as a session accumulates context, the model's reasoning consistency quietly degrades before compaction triggers

The 5 Layers

Layer Component What It Does
1 Vault injection via SENTINEL Identity files loaded at every boot. Agent wakes up knowing who it is.
2 memory-core plugin Live memory search mid-session via memory_search / memory_get tools
3 Neural graph (nmem_context) Associative recall — 12,393 neurons, 40,532 synapses. Concepts link to concepts.
4 Nightly reconciliation Gemini merges daily logs into CORE_MEMORY.md while you sleep. Nothing lost.
5 Coherence monitor Scratchpad dropout detector — fires re-anchor before drift causes damage. 33 tests passing.

The Key Insight

The memory is in the files. The model is just the reader.

When the system was completely wiped and rebuilt from scratch, the agent came back online with full continuity — because the identity files survived. Swap the LLM, keep the Vault. Memory persists.

Setup

Two paths — pick one:

Path 1 — You do it yourself (30–60 min) Read SETUP_HUMAN.md. Plain English, no technical background assumed.

Path 2 — Let your agent handle it Paste SETUP_AI.md into your OpenClaw chat. It asks 8 questions and does the install itself.

Prerequisites

  • OpenClaw running with any model
  • Python 3.10+
  • npm install -g mcporter
  • NVIDIA Developer free tier API key (Kimi K2.5, 131K context, free)
  • Gemini API key (free) for nightly reconciliation

Links

Version History

  • 191f95a Current 2026-07-25 05:08

Metadata

Files
0
Version
191f95a
Hash
402aac04
Indexed
2026-07-25 05:08

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-30 11:17
浙ICP备14020137号-1 $お客様$