跳到正文
TakoAPI
返回技能列表

maasv-memory

由 ascottbell 提供

Coding Agents & IDEs
394下载量由 clawskills.sh 提供
1浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Structured long-term memory for OpenClaw agents, powered by [maasv](https://github.com/ascottbell/maasv).

描述

该技能的功能

A self-hosted memory backend for OpenClaw agents that uses three retrieval signals: semantic similarity, keyword matching, and a knowledge graph. Includes entity extraction, temporal versioning, and experiential learning. All data lives in a SQLite file on your local machine; nothing is sent to any maasv service.

Combines semantic, keyword, and graph-based retrieval in a single self-hosted system, so agents get richer memory recall without sending conversation data to a third-party service.

何时使用

  • Recalling project decisions made in past agent sessions
  • Tracking entities and relationships across long-running workflows
  • Running agent memory with no cloud data storage
  • Searching past reasoning and outcomes when facing similar problems
  • Persisting conversation context between separate agent invocations

示例工作流

输入

User asks: 'Remember that we decided to use PostgreSQL for this project because of the JSON query requirements'

智能体
  1. 1

    Calls memory_store with the decision summary

  2. 2

    maasv server runs entity extraction, identifying 'PostgreSQL' and 'JSON query requirements' as entities

  3. 3

    Entities and relationships are written to the local SQLite database

  4. 4

    In a later session, autoRecall queries the memory store

  5. 5

    Injects the relevant context into the agent before it responds

输出

Memory stored locally and surfaced automatically in future sessions when the topic is relevant

前置要求

  • Anthropic API key or OpenAI API key for entity extraction (MAASV_LLM_PROVIDER + MAASV_ANTHROPIC_API_KEY or MAASV_OPENAI_API_KEY)
  • Voyage API key, OpenAI API key, or Ollama running locally for embeddings (MAASV_EMBED_PROVIDER + MAASV_VOYAGE_API_KEY if using Voyage)

安装

clawhub install ascottbell/maasv-memory

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接