🧠 memory-simple

Simple JSON-based Memory System for OpenClaw

一个简单、稳定、易用的 JSON 文件记忆系统,专为 OpenClaw AI Agent 设计。

English | 中文


中文

✨ 特性

🚀 快速开始

# 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 "测试查询"

📖 完整文档

🎯 核心 API

// 捕获记忆
const { captureMemories } = require('./scripts/capture');
await captureMemories(conversation, 'session-id');

// 检索记忆
const { searchMemories } = require('./scripts/recall');
const results = await searchMemories('用户喜欢什么', { topK: 5 });

English

✨ Features

🚀 Quick Start

# 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"

📖 Documentation


🆚 Comparison with LanceDB-Pro

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:


🤝 Sharing

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

📝 License

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 🧠✨