Give AI agents persistent identity and shared memory across runtimes, devices, and sessions — Git-native, no database, no vendor lock-in.
赋予AI智能体跨运行时、设备和会话的持久身份与共享记忆——Git原生,无需数据库,无供应商锁定。
kingcharleslzy-ai
AI智能clawhubv1.0.01 版本100000Key: 无需
★ 0
Stars
📥 590
下载
💾 4
安装
1
版本
#latest
概述
agent-soul — Shared Identity & Memory for AI Agents
Use this skill when you are an AI agent that wants persistent identity and shared memory across multiple devices, runtimes, sessions, or agent bodies serving the same user.
What you get
One shared persona: SOUL.md, IDENTITY.md, USER.md, VOICE.md
OpenClaw: Add the repo path and source id to your agent workspace or AGENTS.md.
Session protocol (every session)
git pull --ff-only origin main
Read L0 (soul) + L1 (memory)
Load L2 only when needed
Write events via scripts/add_event.py
Use scripts/quick_share.sh for urgent propagation
Never hand-edit canonical/* — it is auto-generated
Writing memory events
# A durable preference
python scripts/add_event.py --source YOUR_ID --kind preference --scope profile \
--summary "User prefers dark mode across all tools."
# A decision with expiry
python scripts/add_event.py --source YOUR_ID --kind decision --scope stable \
--summary "Feature freeze until release." --valid-until 2026-04-01
# Something temporary
python scripts/add_event.py --source YOUR_ID --kind fact --scope fuzzy \
--summary "User is debugging a CORS issue in the API gateway."