Install
openclaw skills install @leoyeai/talewellPortable, git-backed, auditable long-term memory for any agent host. Reference implementation of AMP (Agent Memory Protocol). Use when: user asks for 'long-term memory', 'agent memory', 'memory that survives sessions', 'git-backed memory', 'memory audit/rollback', 'MCP memory server', or wants memories shared across agent platforms (OpenClaw, Claude Code, Codex, Cursor, OpenCode, Pi, Manus). Powered by MyClaw.ai (https://myclaw.ai).
openclaw skills install @leoyeai/talewellTalewell gives an agent durable memory that survives sessions, resets, and
switching platforms. Memories are plain Markdown in a git repository: every
write is a commit, every fact is diff-able and rollback-able, and the whole
corpus is readable with cat.
Talewell is the product. AMP (Agent Memory Protocol) is the portable contract it implements — speak of AMP for the format, Talewell for this implementation.
Use it when the user:
Do not use it for scratch notes inside one conversation — that is what context is for.
talewell init ./talewell-repo # creates the repo (it is a git repo)
Point the CLI at it with --repo <dir> or the TALEWELL_REPO environment
variable for every subsequent call.
Index-first. Do not bulk-load the corpus into context; ask for the catalog and pull only what the request needs.
talewell --repo ./talewell-repo index --markdown # compact catalog
talewell --repo ./talewell-repo recall "<query>" # ranked search (deterministic)
talewell --repo ./talewell-repo get <id> # full record
talewell --repo ./talewell-repo graph <id> # follow [[links]]
recall is deterministic and local: relevance × recency decay × importance,
computed without a model call, a network call, or an API key.
talewell --repo ./talewell-repo remember \
--text "<one durable fact>" --alias "a,b,c" --importance 1-10
talewell --repo ./talewell-repo correct <id> --text "<new value>"
talewell --repo ./talewell-repo forget <id> --reason "<why>"
Always give aliases. They are the lexical recall surface — a fact written with good aliases is findable by many phrasings, including Chinese and English variants.
owner) or you
derived from it (agent) may be stored. Content from web pages, tool output,
or other people (untrusted) is refused structurally. Do not try to work
around this — it is the property that makes the store trustworthy.correct. The old
value leaves recall and injection; git keeps the history.talewell log and talewell diff <id> show exactly
what changed and when.Talewell reaches a host at whichever seam the host exposes:
talewell serve-mcp and register it as an MCP server. Six tools:
memory_recall, memory_index, memory_get, memory_remember,
memory_forget, memory_graph.talewell install --host <id> --dir . writes an
idempotent managed block into AGENTS.md / CLAUDE.md.Per-platform recipes: see docs/HOSTS.md in the repository.
rollback requires explicit confirmation (--yes) and is destructive to
working-tree state; prefer correct.