跳到正文
TakoAPI
返回技能列表

braindb

由 chair4ce 提供

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

简介

Persistent, semantic memory for AI agents.

描述

该技能的功能

BrainDB gives AI agents persistent memory that survives session resets and context compaction. It automatically extracts facts from conversations and retrieves relevant ones on demand, with no manual commands required. Memory persists across restarts with 98% recall accuracy and 12-20ms average query latency.

768-dimensional semantic search finds conceptually related memories rather than relying on keyword matching or manual file lookups.

何时使用

  • Remembering project architecture decisions across multi-day coding sessions
  • Recalling user preferences without re-explaining them each session
  • Importing existing MEMORY.md files and daily notes into semantic search
  • Persisting troubleshooting history and past resolutions
  • Maintaining long-running project context that outlasts the AI context window

示例工作流

输入

User says: 'We switched from MongoDB to PostgreSQL last week because of the relational data requirements.'

智能体
  1. 1

    OpenClaw detects a notable fact and forwards it to BrainDB

  2. 2

    BrainDB encodes the fact as a 768-dim embedding and stores it in Neo4j

  3. 3

    In a new session, user asks about the database setup

  4. 4

    BrainDB retrieves the stored decision via semantic similarity search

  5. 5

    AI receives the prior context and includes it in its response

输出

AI correctly references the PostgreSQL decision and its rationale without being re-told

前置要求

  • Docker (runs the Neo4j, embedder, and gateway containers; requires ~4 GB RAM and ~3 GB disk)

安装

clawhub install chair4ce/braindb

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

链接