Help us improve
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Give your AI a memory — mine projects and conversations into a searchable palace. 19 MCP tools, auto-save hooks, and guided setup.
npx claudepluginhub entropyvortex/mempalace-tsTypeScript-native port of the MemPalace AI memory system.
WORK IN PROGRESS - CAUTION
MemPalace-TS is a complete TypeScript port of the Python MemPalace project, rewritten from scratch with idiomatic TypeScript patterns. It provides persistent, layered memory for AI coding agents -- identity, context retrieval, semantic search, and knowledge graphs -- backed by ChromaDB and SQLite. This is a library-first design for integration with TypeScript-based AI tooling and Node.js hook systems.
I am involved in harness development and agent coordination theory so memory is an implicit area of interest.
I prefer Typescript than Python, some people like eggs boiled, some prefer raw; thats individuality.
This project treats supply chain security as a first-class requirement.
uuid and date-fns in favor of Node.js built-ins^ or ~ ranges)eval(), new Function(), or dynamic require()/import()files field restricts the npm package to dist/ onlynpm install @mempalace-ts/core
import { MemoryStack, KnowledgeGraph, searchMemories } from '@mempalace-ts/core';
// Wake up with identity + essential context
const stack = new MemoryStack();
const context = await stack.wakeUp();
// Search memories
const results = await searchMemories({ query: 'auth decisions' });
// Knowledge graph
const kg = new KnowledgeGraph();
kg.addTriple('Alice', 'works_on', 'ProjectX', { validFrom: '2025-01-01' });
MemPalace-TS integrates with AI coding agents through its hook system:
See SETUP.md for detailed installation and configuration instructions.
Memory retrieval is organized into four tiers:
| Layer | Name | Description |
|---|---|---|
| L0 | Identity | Core identity and personality. Always loaded. |
| L1 | Essential | High-priority memories, capped for context efficiency. |
| L2 | On-demand | Topic-specific retrieval when a query matches. |
| L3 | Deep search | Full semantic vector search across ChromaDB. |
Memories are organized into a spatial hierarchy: wings (broad categories) containing rooms (specific topics), connected by halls and tunnels. The miner automatically classifies content into this taxonomy based on file paths and content patterns. Drawers hold individual memory items within rooms.
The Dialect module compresses memories using emotion codes and shorthand notation (Abbreviated Adaptive Associative Knowledge) to reduce token usage while preserving semantic content.
An entity-triple store backed by SQLite (better-sqlite3) with temporal metadata. Supports time-scoped queries over relationships between entities.
strict: true TypeScript with zero any in the public APIReadonlySet for immutable constantspnpm test # 138 unit tests
pnpm bench # Performance benchmarks (requires ChromaDB)
Test structure mirrors the Python original with full parity.
| Module | Status |
|---|---|
| Config | Complete |
| Miner | Complete |
| Convo Miner | Complete |
| Searcher | Complete |
| Knowledge Graph | Complete |
| Palace Graph | Complete |
| Layers (L0-L3) | Complete |
| Dialect (AAAK) | Complete |
| Hooks | Complete |
| Entity Detector | Complete |
| Room Detector | Complete |
| Spellcheck | Complete |
| Split Mega Files | Complete |
| General Extractor | Complete |
| Instructions | Complete |
MIT
Share bugs, ideas, or general feedback.
Based on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Give your AI a memory — mine projects and conversations into a searchable palace. 19 MCP tools, auto-save hooks, and guided setup.
Persistent agent memory that survives across sessions — auto-compacting 3-tier memory with hybrid search. Your agent remembers what it learned, decided, and built.
Manus-style persistent markdown files for planning, progress tracking, and knowledge storage. Works with Claude Code, Kiro, Clawd CLI, Gemini CLI, Cursor, Continue, Hermes, and 17+ AI coding assistants. Now with Arabic, German, Spanish, and Chinese (Simplified & Traditional) support.
Browser automation and end-to-end testing MCP server by Microsoft. Enables Claude to interact with web pages, take screenshots, fill forms, click elements, and perform automated browser testing workflows.
Reliable automation, in-depth debugging, and performance analysis in Chrome using Chrome DevTools and Puppeteer
v9.40.3 — Hardened multi-LLM council with extracted benchmark routing, capability-aware role fit, CLI-visible warnings, diversity, veto, quorum, and implementation gates. Run /octo:setup.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claim