MemoryMesh
by CheMiguel23
MemoryMesh is a knowledge graph server designed for AI models, particularly suited for text-based RPGs and interactive storytelling. It enables AI to maintain consistent, structured memory across conversations, leading to richer interactions.
Last updated: N/A
What is MemoryMesh?
MemoryMesh is a local knowledge graph server that allows users to build and manage structured information for AI models. It is particularly well-suited for text-based RPGs but can be adapted for various applications involving structured data.
How to use MemoryMesh?
To use MemoryMesh, you need to install it via Smithery or manually by cloning the repository, installing dependencies, and building the project. Then, configure Claude Desktop to connect to the MemoryMesh server. Define schemas to structure your data, and the server will automatically generate tools for adding, updating, and deleting data. Use prompts to instruct the AI to interact with the knowledge graph.
Key features of MemoryMesh
Dynamic Schema-Based Tools
Intuitive Schema Design
Metadata for AI Guidance
Relationship Handling
Informative Feedback
Event Support
Use cases of MemoryMesh
Text-based RPGs
Social network simulations
Organizational planning
Interactive storytelling
Any scenario involving structured data
FAQ from MemoryMesh
Where are schema files located?
Where are schema files located?
Schema files (.schema.json) should be placed in the dist/data/schemas
directory.
How do I define relationships between nodes?
How do I define relationships between nodes?
Define relationships within your schemas using the relationship
property. Specify the edgeType
and description
to guide the AI.
How are tools generated?
How are tools generated?
MemoryMesh automatically generates tools (add, update, delete) based on your schema definitions. The schema name determines the tool name (e.g., add_npc for the npc schema).
How can I visualize the knowledge graph?
How can I visualize the knowledge graph?
Use the Memory Viewer, a standalone web application, to visualize and inspect the contents of the knowledge graph. It allows you to explore nodes, edges, and their properties.
What is the default location for the memory file?
What is the default location for the memory file?
By default, the knowledge graph data is stored in a JSON file located at dist/data/memory.json
.