braindb
от chair4ce
Notes & PKMКратко
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
OpenClaw detects a notable fact and forwards it to BrainDB
- 2
BrainDB encodes the fact as a 768-dim embedding and stores it in Neo4j
- 3
In a new session, user asks about the database setup
- 4
BrainDB retrieves the stored decision via semantic similarity search
- 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 — любой кодинг-агент, которым пользуетесь.