MemoryMesh

MemoryMesh is a knowledge graph server for AI models, ideal for text-based RPGs and interactive storytelling, helping AI maintain consistent, structured memory across conversations for richer interactions. MemoryMesh is a

165
20

MemoryMesh

MemoryMesh is a knowledge graph server tailored for AI models, especially in text-based RPGs and interactive storytelling, designed to maintain consistent, structured memory across conversations.

Key Features: It uses dynamic schema-based tools for data management, allowing users to define data structures with schemas, which then automatically generate tools for adding, updating, and deleting data. It supports intuitive schema design, metadata for AI guidance, relationship handling, informative feedback, and event tracking.

Nodes represent entities with a unique name, nodeType, metadata, and optional weight. Edges define relationships between nodes, specifying the source, target, and edgeType. Schemas, stored as .schema.json files in the dist/data/schemas directory, define the structure of the data, driving the automatic generation of tools. A SchemaManager tool simplifies schema creation.

MemoryMesh stores data in a JSON file (dist/data/memory.json) and includes a Memory Viewer for visualizing the knowledge graph. Installation involves cloning the repository, installing dependencies, building the project, and configuring Claude Desktop.

Repository

CH
CheMiguel23

CheMiguel23/MemoryMesh

Created

December 6, 2024

Updated

March 28, 2025

Language

TypeScript

Category

AI