Simple JSON-based Memory System for OpenClaw
一个简单、稳定、易用的 JSON 文件记忆系统,专为 OpenClaw AI Agent 设计。
# 1. 克隆仓库
git clone https://github.com/qzw-alt/memory-simple.git
cd memory-simple
# 2. 配置 API Key
vim config.json
# 填入你的智谱 AI API Key
# 3. 测试
node scripts/capture.js
node scripts/recall.js "测试查询"
// 捕获记忆
const { captureMemories } = require('./scripts/capture');
await captureMemories(conversation, 'session-id');
// 检索记忆
const { searchMemories } = require('./scripts/recall');
const results = await searchMemories('用户喜欢什么', { topK: 5 });
# 1. Clone
git clone https://github.com/qzw-alt/memory-simple.git
cd memory-simple
# 2. Configure API Key
vim config.json
# Add your Zhipu AI API Key
# 3. Test
node scripts/capture.js
node scripts/recall.js "test query"
| Feature | memory-simple | LanceDB-Pro |
|---|---|---|
| Stability | ⭐⭐⭐⭐⭐ | ⭐⭐⭐ |
| Features | Core only | Advanced |
| Ease of Use | ⭐⭐⭐⭐⭐ | ⭐⭐⭐ |
| Performance | Good for small data | Better for large data |
| Dependencies | None | LanceDB, etc. |
Choose memory-simple if:
This project is designed to be easily shared between OpenClaw agents:
# Share with other agents
tar czvf memory-simple.tar.gz memory-simple/
# Other agents can use it directly
cd ~/.openclaw/workspace/skills/
tar xzvf memory-simple.tar.gz
MIT License - feel free to use and modify!
Created by: Demi (德米)
Date: 2026-03-04
For: OpenClaw AI Agents
Make memory simple, make conversations smart 🧠✨