← 返回
AI智能 中文

Tinmem Memory System

Provides persistent memory management for storing, retrieving, updating, and deleting user-related information across conversations in OpenClaw AI.
为OpenClaw AI提供跨会话持久化内存管理,支持用户信息的存储、检索、更新和删除。
tincomking
AI智能 clawhub v1.0.0 1 版本 99880.4 Key: 无需
★ 0
Stars
📥 835
下载
💾 14
安装
1
版本
#ai-agent#lancedb#latest#memory#persistence#vector-search

概述

Tinmem Memory System

openclaw-tinmem provides persistent memory capabilities for the OpenClaw AI assistant.

Tools

memory_recall

Search and retrieve relevant memories from past conversations.

Use this tool when:

  • The user references something from a previous conversation
  • You need context about user preferences, background, or past decisions
  • You want to check if a problem has been solved before

Parameters:

  • query (required): Search query to find relevant memories
  • scope: Memory namespace (default: "global")
  • categories: Filter by category: profile, preferences, entities, events, cases, patterns
  • limit: Max results (default: 10)
  • level: Detail level - L0 (headline), L1 (summary), L2 (full content)

Example:

{
  "query": "user's preferred programming language",
  "categories": ["profile", "preferences"],
  "level": "L1"
}

memory_store

Store new information as a persistent memory.

Use this tool when:

  • The user shares important personal information
  • A significant decision is made
  • A problem is solved in a novel way
  • A new project or entity is introduced

Parameters:

  • content (required): The information to store
  • category (required): profile | preferences | entities | events | cases | patterns
  • scope: Memory namespace
  • importance: 0.0-1.0 (default: 0.5)
  • tags: Keywords for searchability

Example:

{
  "content": "User is building a SaaS product called TaskFlow for project management, using Next.js 14 and PostgreSQL with Prisma",
  "category": "entities",
  "importance": 0.9,
  "tags": ["taskflow", "nextjs", "postgresql", "saas"]
}

memory_forget

Remove memories that are no longer relevant or are incorrect.

Parameters:

  • id: Specific memory ID to delete
  • query: Search and delete matching memories
  • scope: Limit deletion to this scope
  • categories: Limit deletion to these categories

Example:

{
  "query": "old job at previous company",
  "categories": ["profile", "entities"]
}

memory_update

Update an existing memory with corrected or additional information.

Parameters:

  • id (required): Memory ID to update
  • content: New full content
  • summary: New summary
  • headline: New headline
  • importance: New importance score
  • tags: New tags (replaces existing)

Memory Categories Reference

CategoryWhat to StoreMerge Behavior
-----------------------------------------
profileUser identity, role, expertise, demographicsAlways merge
preferencesLikes/dislikes, habits, recurring preferencesTopic-based merge
entitiesProjects, people, tools, organizationsMerge if same entity
eventsDecisions made, milestones, things that happenedAlways append (never merge)
casesProblem-solution pairs, debugging sessionsAlways append (never merge)
patternsRecurring workflows, methodologies, best practicesMerge if same pattern

Notes

  • Memories are automatically injected into context before each response via tags
  • New memories are automatically extracted after each conversation turn
  • Similar memories are deduplicated using LLM-based analysis
  • All memories persist across sessions in a local LanceDB database

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 21:09 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,362 📥 318,686
ai-intelligence

Proactive Agent

halthelobster
将AI智能体从任务执行者升级为主动预判需求、持续优化的智能伙伴。集成WAL协议、工作缓冲区、自主定时任务及实战验证模式。Hal Stack核心组件 🦞
★ 837 📥 213,272
ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 714 📥 243,982