bobmatnyc

Kuzu Memory — AI skill for Claude Code

AI community

Lightweight, embedded graph-based memory system for AI applications.

How to install Kuzu Memory

This entry records only its repository, not the path inside it, so there is no exact command to give. Open bobmatnyc/kuzu-memory and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Kuzu Memory does

Lightweight, embedded graph-based memory system for AI applications. Fast (<3ms recall), offline-first, with MCP server support for Claude and other AI tools.

Alternatives in AI

  • Peekaboo — Peekaboo is a macOS CLI & optional MCP server that enables AI agents to capture screenshots of applications, o 3.2k ★
  • Matlab MCP Server — Run MATLAB® using AI applications with the official MATLAB MCP Server from MathWorks® 1.4k ★
  • Nocturne Memory — A lightweight, rollbackable, and visual Long-Term Memory Server for MCP Agents 1.3k ★

README

KuzuMemory

[![Python 3.11+](https://img.shields.io/badge/python-3.11+-blue.svg)](https://www.python.org/downloads/) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Tests](https://github.com/kuzu-memory/kuzu-memory/workflows/Tests/badge.svg)](https://github.com/kuzu-memory/kuzu-memory/actions)

**Lightweight, embedded graph-based memory system for AI applications**

KuzuMemory provides fast, offline memory capabilities for chatbots and AI systems without requiring LLM calls. It uses pattern matching and local graph storage to remember and recall contextual information.

✨ Key Features

  • 🧠 Cognitive Memory Model - Based on human memory psychology (SEMANTIC, PROCEDURAL, EPISODIC, etc.)
  • 🚀 No LLM Dependencies - Operates using pattern matching and local NER only
  • ⚡ Fast Performance - <3ms memory recall, <8ms memory generation (verified with Kuzu)
  • 💾 Embedded Database - Single-file Kuzu graph database
  • 🔄 Git-Friendly - Database files <10MB, perfect for version control
  • 🔌 Simple API - Just two methods: attach_memories() and generate_memories()
  • 🌐 Cross-Platform - Standardized cognitive types shared with TypeScript implementation
  • 📱 Offline First - Works completely without internet connection
  • 🔧 MCP Ready - Native Claude Desktop integration with async learning support
  • 🤖 Hook System - Automatic Claude Code integration using hooks (UserPromptSubmit, Stop)
  • 👤 User-Level Memory - Cross-project ~/.kuzu-memory/user.db automatically aggregates your best patterns and rules across all projects
  • ⚡ HNSW Vector Search — Kùzu-native approximate nearest-neighbour index (O(log N)) replaces brute-force NumPy cosine scan; embeddings stored at ingestion time
  • 🔤 TF-IDF Keyword Boost — multiplicative scoring: final_score = semantic_score × (1 + weight × normalized_tfidf), configurable via KUZU_MEMORY_TFIDF_BOOST_WEIGHT
  • **🕸️ Graph Enr